joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414acf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9f0
push ebx
push edi
push esi
mov dword [ebp - 0x7d0], 0
cmp byte [0x425ea8], 0
je 0x414c22
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x414b06
lea esi, [ebp - 0x9f0]
push esi
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
mov ebx, esp
push dword [ebp + 8]
movzx ecx, word [esi + 0xe]
push ecx
movzx ecx, word [esi + 0xc]
push ecx
movzx ecx, word [esi + 0xa]
push ecx
movzx ecx, word [esi + 8]
push ecx
movzx ecx, word [esi + 6]
push ecx
movzx ecx, word [esi + 2]
push ecx
movzx ecx, word [esi]
push ecx
lea edi, [ebp - 0x7d0]
push 0x414c29
push 0x7d0
push edi
call dword [sym.imp.SHLWAPI.DLL_wnsprintfA]
mov esp, ebx
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
cmp eax, 0xa
jb 0x414c22
mov esi, eax
cmp byte [0x41f4e4], 0
je 0x414b86
lea eax, [ebp - 0x9d8]
mov dword [ebp - 0x9dc], eax
lea edx, [ebp - 0x9f0]
push edx
push 0x104
push eax
push 0x425ca0
call fcn.00415459
jmp 0x414b90
mov dword [ebp - 0x9dc], 0x425ca0
push 0
push 0x20
push 4
push 0
push 7
push 0x40000000
push dword [ebp - 0x9dc]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
jne 0x414bd4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x41f059
push 0x1010
push dword [ebp - 0x9dc]
push dword [0x4315d0]
push eax
call fcn.0040ab8f
jmp 0x414c22
mov ebx, eax
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
lea ecx, [ebp - 0x9e0]
push 0
push ecx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x414c1b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x41f059
push 0x1010
push dword [ebp - 0x9dc]
push dword [0x4315d0]
push eax
call fcn.0040ab8f
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x415062
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
push ebx
push esi
push edi
mov ebx, esp
push dword [ebp + 0xc]
movzx ecx, word [0x42085e]
push ecx
movzx ecx, word [0x42085c]
push ecx
movzx ecx, word [0x42085a]
push ecx
movzx ecx, word [0x420858]
push ecx
movzx ecx, word [0x420856]
push ecx
movzx ecx, word [0x420852]
push ecx
movzx ecx, word [0x420850]
push ecx
lea edi, [ebp - 0x190]
push 0x4151fe
push 0x190
push edi
call dword [sym.imp.SHLWAPI.DLL_wnsprintfA]
mov esp, ebx
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
add edi, eax
cmp dword [ebp + 0x10], 1
je 0x4150fa
mov ecx, 0x186
sub ecx, eax
mov esi, dword [ebp + 8]
cld
lodsb al, byte [esi]
cmp al, 0xd
je 0x4150ea
test al, al
je 0x4150ea
stosb byte es:[edi], al
loop 0x4150de
mov ax, 0xa0d
stosw word es:[edi], ax
lea eax, [ebp - 0x190]
sub edi, eax
jmp 0x415129
mov ecx, 0x7b
sub ecx, eax
mov esi, dword [ebp + 8]
cld
cld
lodsb al, byte [esi]
mov bl, al
call fcn.00415227
cmp bl, 0xd
je 0x41511b
dec ecx
je 0x41511b
mov al, 0x20
stosb byte es:[edi], al
jmp 0x415106
mov ax, 0xa0d
stosw word es:[edi], ax
lea eax, [ebp - 0x190]
sub edi, eax
cmp byte [0x41f4e6], 0
je 0x415155
lea eax, [ebp - 0x398]
mov dword [ebp - 0x39c], eax
push 0x420850
push 0x104
push eax
push 0x4260bc
call fcn.00415459
jmp 0x41515f
mov dword [ebp - 0x39c], 0x4260bc
push 0
push 0x20
push 4
push 0
push 7
push 0x40000000
push dword [ebp - 0x39c]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4151a5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x41f05b
push 0x1010
push dword [ebp - 0x39c]
push dword [0x4315d0]
push eax
call fcn.0040ab8f
jmp 0x4151f7
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
lea eax, [ebp - 0x190]
lea edx, [ebp - 0x3a0]
push 0
push edx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x4151f0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x41f05b
push 0x1010
push dword [ebp - 0x39c]
push dword [0x4315d0]
push eax
call fcn.0040ab8f
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x415244
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
cmp byte [0x4260b8], 0
je 0x4153a2
mov eax, dword [0x42985c]
cmp eax, dword [0x429884]
je 0x4153a2
push ebx
push esi
push edi
mov ebx, esp
call fcn.004081a3
push eax
push edx
movzx ecx, word [0x42085e]
push ecx
movzx ecx, word [0x42085c]
push ecx
movzx ecx, word [0x42085a]
push ecx
movzx ecx, word [0x420858]
push ecx
movzx ecx, word [0x420856]
push ecx
movzx ecx, word [0x420852]
push ecx
movzx ecx, word [0x420850]
push ecx
lea edi, [ebp - 0x190]
push 0x4153a4
push 0x190
push edi
call dword [sym.imp.SHLWAPI.DLL_wnsprintfA]
mov esp, ebx
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov edi, eax
cmp byte [0x41f4e5], 0
je 0x4152fd
lea eax, [ebp - 0x398]
mov dword [ebp - 0x39c], eax
push 0x420850
push 0x104
push eax
push 0x425eb0
call fcn.00415459
jmp 0x415307
mov dword [ebp - 0x39c], 0x425eb0
push 0
push 0x20
push 4
push 0
push 7
push 0x40000000
push dword [ebp - 0x39c]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x41534d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x41f05a
push 0x1010
push dword [ebp - 0x39c]
push dword [0x4315d0]
push eax
call fcn.0040ab8f
jmp 0x41539f
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
lea eax, [ebp - 0x190]
lea edx, [ebp - 0x3a0]
push 0
push edx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x415398
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x41f05a
push 0x1010
push dword [ebp - 0x39c]
push dword [0x4315d0]
push eax
call fcn.0040ab8f
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x416a4e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [edi], 0
mov dword [edi + 4], 0
mov byte [edi + 8], 0
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.DLL_GetFileVersionInfoSizeW]
test eax, eax
je 0x416ad0
mov ebx, eax
add eax, 0x64
push eax
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
test eax, eax
je 0x416ad0
mov esi, eax
push esi
push ebx
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.DLL_GetFileVersionInfoW]
test eax, eax
je 0x416ac9
lea ecx, [ebp - 8]
lea edx, [ebp - 4]
push edx
push ecx
push 0x416ad7
push esi
call dword [sym.imp.VERSION.DLL_VerQueryValueA]
test eax, eax
je 0x416ac9
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x10]
mov dword [edi + 4], eax
mov eax, dword [ecx + 0x14]
mov dword [edi], eax
mov byte [edi + 8], 1
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x417d06
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
push ebx
push esi
push edi
rdtsc
mov ebx, eax
shl ebx, 0x10
push 0x10
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov dword [ebp - 0x1b0], 0x20230727
mov dword [ebp - 0x1ac], 0x55aa7373
mov dword [ebp - 0x1a8], 0x1ffd7ffd
lea esi, [ebp - 0x19c]
push 0x19b
push esi
push dword [ebp + 8]
call fcn.00408ca3
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor eax, eax
cld
rep stosw word es:[edi], ax
rdtsc
and eax, 0xffff
or ebx, eax
mov dword [ebp - 0x1a0], ebx
mov dword [ebp - 0x1b4], ebx
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
test eax, eax
je 0x417e0a
inc eax
mov dword [ebp - 0x1a4], eax
lea ecx, [eax + esi]
rdtsc
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov ebx, dword [ebp - 0x1a4]
inc dword [ebp - 0x1b4]
lea eax, [ebp - 0x1b4]
push eax
push esi
call fcn.00417ee7
add esi, 8
sub ebx, 8
ja 0x417d9a
lea esi, [ebp - 0x1a0]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x1a4]
test ebx, 7
je 0x417dd5
add ebx, 8
and ebx, 0xfffff8
add ebx, 4
mov ecx, dword [ebp + 0x14]
shr ecx, 1
cld
xor ah, ah
lodsb al, byte [esi]
mov dl, al
shr al, 4
add al, 0x30
cmp al, 0x39
jle 0x417dee
add al, 7
stosw word es:[edi], ax
mov al, 0xf
and al, dl
add al, 0x30
cmp al, 0x39
jle 0x417dfc
add al, 7
stosw word es:[edi], ax
dec ebx
je 0x417e03
loop 0x417de0
xor ax, ax
stosw word es:[edi], ax
jmp 0x417e12
mov edi, dword [ebp + 0x10]
mov word [edi], 0
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x417ee7
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push ebx
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov edi, dword [eax + 4]
xor ebx, ebx
mov ecx, 0x20
add ebx, 0x9e3779b9
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x10]
mov edx, edi
add edx, ebx
xor eax, edx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 0xc]
xor eax, edx
add esi, eax
mov eax, esi
shl eax, 4
add eax, dword [ebp - 8]
mov edx, esi
add edx, ebx
xor eax, edx
mov edx, esi
shr edx, 5
add edx, dword [ebp - 4]
xor eax, edx
add edi, eax
loop 0x417f19
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov dword [eax + 4], edi
pop ebx
pop edi
pop esi
leave
ret 8

Function at 0x417f64
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push ebx
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebx, 0xc6ef3720
mov ecx, 0x20
mov eax, esi
shl eax, 4
add eax, dword [ebp - 8]
mov edx, esi
add edx, ebx
xor eax, edx
mov edx, esi
shr edx, 5
add edx, dword [ebp - 4]
xor eax, edx
sub edi, eax
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x10]
mov edx, edi
add edx, ebx
xor eax, edx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 0xc]
xor eax, edx
sub esi, eax
sub ebx, 0x9e3779b9
loop 0x417f99
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov dword [eax + 4], edi
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x417fe4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x554
push ebx
push edi
push esi
cld
mov esi, dword [ebp + 8]
mov edi, esi
mov ecx, 0x3e8
xor al, al
repne scasb al, byte es:[edi]
sub edi, esi
dec edi
cmp dword [ebp + 0x14], 0
je 0x41802b
push edi
push esi
push dword [ebp + 0x14]
call dword [0x41d284]
add esp, 0xc
mov dword [ebp - 0x554], eax
push eax
push dword [ebp + 0x14]
call dword [0x41d28c]
add esp, 8
jmp 0x418038
push 0
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.WSOCK32.DLL_send]
push eax
cmp byte [0x426792], 3
je 0x418053
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x550]
lodsb al, byte [esi]
stosb byte es:[edi], al
test al, al
jne 0x41804b
jmp 0x41807e
cmp dword [ebp + 0x10], 0
je 0x418065
mov dword [ebp - 0x550], 0x2a2a2a
jmp 0x41807e
mov edx, edi
mov ecx, edi
lea edi, [ebp - 0x550]
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x550]
push edx
push eax
call fcn.00418388
pop eax
cmp dword [ebp + 0x14], 0
je 0x4180ba
mov ebx, eax
lea edi, [ebp - 0x168]
lea eax, [ebp - 0x550]
push eax
push 0x418132
push 0x168
push edi
call dword [sym.imp.SHLWAPI.DLL_wnsprintfA]
add esp, 0x10
push 1
push ebx
push edi
push 1
call fcn.004183ac
cmp ebx, 0
je 0x41811a
jmp 0x418126
cmp eax, 0xffffffff
jne 0x4180f3
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
lea edi, [ebp - 0x168]
lea eax, [ebp - 0x550]
push eax
push 0x418140
push 0x168
push edi
call dword [sym.imp.SHLWAPI.DLL_wnsprintfA]
add esp, 0x10
push 1
push ebx
push edi
push 1
call fcn.004183ac
jmp 0x418126
lea eax, [ebp - 0x550]
push eax
push 0x418140
push 0x168
push edi
call dword [sym.imp.SHLWAPI.DLL_wnsprintfA]
add esp, 0x10
push 3
push 0
push edi
push 1
call fcn.004183ac
pop esi
pop edi
pop ebx
mov eax, 1
leave
ret 0x14
pop esi
pop edi
pop ebx
mov eax, 0xffffffff
leave
ret 0x14
Function at 0x418149
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x530
push ebx
push edi
push esi
cmp dword [ebp + 0xc], 0
je 0x41819d
push 0x3e8
push 0x41dfd6
push dword [ebp + 0xc]
call dword [0x41d27c]
add esp, 0xc
mov dword [ebp - 0x52c], eax
push eax
push dword [ebp + 0xc]
call dword [0x41d28c]
add esp, 8
cmp eax, 0
je 0x4181d7
push 2
push eax
push 0x41828e
push 1
call fcn.004183ac
jmp 0x418267
push 0
push 0x3e8
push 0x41dfd6
push dword [ebp + 0x10]
call dword [sym.imp.WSOCK32.DLL_recv]
mov dword [ebp - 0x52c], eax
cmp eax, 0xffffffff
jne 0x4181d7
call dword [sym.imp.WSOCK32.DLL_WSAGetLastError]
push 2
push eax
push 0x418297
push 1
call fcn.004183ac
jmp 0x418267
push dword [ebp - 0x52c]
push 0x41dfd6
call fcn.00418388
mov ebx, 3
cmp byte [0x426792], 3
je 0x418219
lea eax, [ebp - 0x528]
mov ecx, dword [0x41dfd6]
and ecx, 0xffffff
cmp byte [0x426792], 2
jne 0x418215
cmp ecx, dword [ebp + 8]
jne 0x418219
mov dword [eax], ecx
jmp 0x41821e
mov eax, 0x41dfd6
lea edx, [0x418285]
cmp dword [ebp + 0xc], 0
je 0x418230
lea edx, [0x418278]
lea edi, [ebp - 0x514]
push eax
push edx
push 0x514
push edi
call dword [sym.imp.SHLWAPI.DLL_wnsprintfA]
add esp, 0x10
push 3
push 0
push edi
push 1
call fcn.004183ac
movzx eax, byte [0x41dfd6]
mov edx, dword [ebp - 0x52c]
pop esi
pop edi
pop ebx
leave
ret 0xc
mov eax, 0xffffffff
mov edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x41829c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
pushal
cld
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4182b7
dec ecx
mov edi, esi
xor al, al
repne scasb al, byte es:[edi]
sub edi, esi
dec edi
mov ecx, edi
lea ebx, [0x418347]
mov edi, dword [ebp + 0x10]
xor eax, eax
test ecx, ecx
je 0x41833b
movzx eax, byte [esi]
shr al, 2
mov al, byte [ebx + eax]
stosb byte es:[edi], al
cmp ecx, 1
jne 0x4182e8
mov al, byte [esi]
and al, 3
shl al, 4
mov al, byte [ebx + eax]
stosb byte es:[edi], al
mov ax, 0x3d3d
stosw word es:[edi], ax
jmp 0x418336
movzx eax, word [esi]
xchg ah, al
shr ax, 4
and eax, 0x3f
mov al, byte [ebx + eax]
stosb byte es:[edi], al
cmp ecx, 2
jne 0x418313
movzx eax, word [esi + 1]
xchg al, ah
shr ax, 6
and eax, 0x3c
mov al, byte [ebx + eax]
mov ah, 0x3d
stosw word es:[edi], ax
jmp 0x418336
movzx eax, word [esi + 1]
xchg ah, al
shr ax, 6
and eax, 0x3f
mov al, byte [ebx + eax]
stosb byte es:[edi], al
movzx eax, byte [esi + 2]
and al, 0x3f
mov al, byte [ebx + eax]
stosb byte es:[edi], al
add esi, 3
sub ecx, 3
ja 0x4182c6
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
xor al, al
stosb byte es:[edi], al
popal
leave
ret 0xc
Function at 0x418c47
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 8]
push 0x418c6b
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
leave
ret 4

Function at 0x418c9b
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
cmp byte [0x41d914], 0
je 0x418cb6
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x418ca3
mov byte [0x41d914], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
je 0x418d01
push 3
push 0
push 0x418e99
push 1
call fcn.004183ac
push 0
push 0
push dword [ebp + 8]
push 0x417309
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x10], 0
je 0x418d30
push 3
push 0
push 0x418ed8
push 2
call fcn.004183ac
push 0
push 0
push dword [ebp + 8]
push 0x418f4a
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x14], 0
je 0x418d5f
push 3
push 0
push 0x418f11
push 3
call fcn.004183ac
push 0
push 0
push dword [ebp + 8]
push 0x418f85
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp - 0x14], eax
lea edi, [ebp - 0xc]
cld
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x418d6e
stosd dword es:[edi], eax
inc ecx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x418d77
stosd dword es:[edi], eax
inc ecx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x418d80
stosd dword es:[edi], eax
inc ecx
test ecx, ecx
je 0x418e8c
mov edx, dword [0x4262f0]
cmp edx, 3
jae 0x418d98
mov edx, 3
cmp edx, 0x12c
jbe 0x418da5
mov edx, 0x12c
mov eax, 0x3e8
mul edx
lea edx, [ebp - 0xc]
push eax
push 1
push edx
push ecx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x418e00
lea esi, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
cmp dword [ebp - 0x10], 0x103
jne 0x418df7
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
push 3
push 0
push 0x418eb4
push 1
call fcn.004183ac
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x418e46
lea esi, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
cmp dword [ebp - 0x10], 0x103
jne 0x418e3d
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
push 3
push 0
push 0x418ef0
push 2
call fcn.004183ac
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x418e8c
lea esi, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
cmp dword [ebp - 0x10], 0x103
jne 0x418e83
push 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
push 3
push 0
push 0x418f29
push 3
call fcn.004183ac
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov byte [0x41d914], 0
pop edi
pop ebx
leave
ret 0x10
Function at 0x41a9a7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push edi
push esi
cmp byte [0x4262fa], 0
jne 0x41ab47
mov al, byte [0x4203e3]
or al, byte [0x4203e4]
or al, byte [0x4203e5]
or al, byte [0x4203e6]
or al, byte [0x4203e7]
or al, byte [0x4203e8]
or al, byte [0x4203e9]
or al, byte [0x4203ea]
or al, byte [0x4203eb]
or al, byte [0x4203ec]
je 0x41ab47
push 0
push 0
push 3
push 0
push 0
push 0x40000000
push str..pipeUPS_LM_
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x41ab47
mov dword [ebp - 4], 0
mov ecx, 8
cld
lea edi, [ebp - 0x24]
mov esi, edi
xor eax, eax
rep stosd dword es:[edi], eax
cmp byte [0x4203ea], 0
je 0x41aa4f
mov dword [esi + 4], 0x43
jmp 0x41ab0c
cmp byte [0x4203ec], 0
je 0x41aa74
mov dword [esi + 4], 0x520053
mov eax, dword [0x4203ed]
mov dword [esi + 8], eax
mov eax, dword [0x4203f1]
mov dword [esi + 0xc], eax
jmp 0x41ab0c
cmp byte [0x4203eb], 0
je 0x41aa8e
mov dword [esi + 4], 0x53
mov eax, dword [0x4203ed]
mov dword [esi + 8], eax
jmp 0x41ab0c
cmp byte [0x4203e3], 0
je 0x41aaa0
mov dword [esi + 4], 0x74697845
jmp 0x41ab0c
cmp byte [0x4203e4], 0
je 0x41aab2
mov dword [esi + 4], 0x7473544d
jmp 0x41ab0c
cmp byte [0x4203e5], 0
je 0x41aac4
mov dword [esi + 4], 0x54
jmp 0x41ab0c
cmp byte [0x4203e6], 0
je 0x41aad6
mov dword [esi + 4], 0x4c54
jmp 0x41ab0c
cmp byte [0x4203e7], 0
je 0x41aae8
mov dword [esi + 4], 0x5443
jmp 0x41ab0c
cmp byte [0x4203e8], 0
je 0x41aafa
mov dword [esi + 4], 0x31646e53
jmp 0x41ab0c
cmp byte [0x4203e9], 0
je 0x41ab0c
mov dword [esi + 4], 0x30646e53
jmp 0x41ab0c
mov dword [esi], 0x5a5a55aa
mov eax, dword [esi + 4]
xor eax, dword [esi + 8]
xor eax, dword [esi + 0xc]
xor eax, dword [esi + 0x10]
xor eax, dword [esi + 0x14]
xor eax, dword [esi + 0x18]
xor eax, 0xbdbdbbdd
mov dword [esi + 0x1c], eax
lea edx, [ebp - 4]
push 0
push edx
push 0x20
push esi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
pop edi
pop ebx
leave
ret
Function at 0x424326
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00423a22
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004239d7
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00423a22
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004239d7
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00423a12
jmp 0x42440b
mov al, dh
test dword [esi], ebx
cld
invalid

Function at 0x424990
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [eax + 0x38fffffc], esp
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
invalid
invalid
movsb byte es:[edi], byte [esi]
cld
invalid

Function at 0x425aaf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x425ab8
add byte [eax], al
je 0x425ab3
jmp 0x425ab8
jmp 0x4253b4
Function at 0x489e14
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x3c]
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
mov ebx, eax
lea eax, [ebp - 0x3c]
mov edx, dword [0x48870c]
call fcn.00405cf8
xor eax, eax
push ebp
push 0x489ec9
push dword fs:[eax]
mov dword fs:[eax], esp
lea esi, [ebp - 0x38]
lea edi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x20], eax
movzx eax, byte [ebp - 0x20]
mov byte [ebx + 0x24], al
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x28], eax
mov ax, word [ebp - 0x18]
mov word [ebx + 0x2c], ax
mov al, byte [ebp - 0x16]
mov byte [ebx + 0x2e], al
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x30], eax
movzx eax, byte [ebp - 0xc]
mov byte [ebx + 0x38], al
movzx eax, byte [ebp - 0xb]
mov byte [ebx + 0x39], al
movzx eax, byte [ebp - 0xa]
mov byte [ebx + 0x3a], al
mov eax, dword [ebp - 8]
mov dword [ebx + 0x3c], eax
movzx eax, byte [ebp - 4]
mov byte [ebx + 0x40], al
movzx eax, byte [ebp - 3]
mov byte [ebx + 0x41], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489ed0
lea eax, [ebp - 0x3c]
mov edx, dword [0x48870c]
call fcn.00405bc0
ret

Function at 0x48daa0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x48db06
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404fb8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004036d0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x48daf0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48db0d
lea eax, [ebp - 0x10]
call fcn.00404d84
ret