joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba22c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404b78
mov esi, 0x4c2580
xor eax, eax
push ebp
push 0x4ba308
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4ba2f2
xor eax, eax
mov al, byte [0x4c2574]
call fcn.00403134
mov ebx, eax
inc ebx
mov eax, 0x4c257c
mov edx, dword [ebx*8 + 0x4c251c]
call fcn.0040471c
lea eax, [esi + 4]
xor ecx, ecx
mov edx, 0x3e9
call fcn.00403114
lea eax, [esi + 4]
mov edx, dword [0x4c257c]
call fcn.00409a70
lea eax, [esi + 0x3ed]
xor ecx, ecx
mov edx, 0x3e9
call fcn.00403114
lea eax, [esi + 0x3ed]
mov edx, dword [ebp - 4]
call fcn.00409a70
lea eax, [esi + 0x7d6]
xor ecx, ecx
mov edx, 0x3e9
call fcn.00403114
mov edx, dword [ebx*8 + 0x4c2520]
lea eax, [esi + 0x7d6]
call fcn.00409a70
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x4ba09c
push 0
push 0
call sub.kernel32.dll_CreateThread_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba30f
lea eax, [ebp - 4]
call fcn.004046c8
ret

Function at 0x4bb7c8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4bb7d0
push ecx
push ebx
push esi
mov eax, 0x4bb3f8
call fcn.00406868
mov ebx, dword [0x4c0908]
xor eax, eax
push ebp
push 0x4bb922
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebx]
call fcn.00460430
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004098a8
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408bc4
mov eax, dword [ebp - 0x14]
call fcn.004bb288
test al, al
jne 0x4bb907
push 0x4bb930
push 0x4bb954
call sub.user32.dll_FindWindowA
cmp eax, 0x20
ja 0x4bb907
mov eax, dword [ebx]
call fcn.0045fd88
mov eax, dword [ebx]
mov edx, 0x4bb96c
call fcn.0045f980
lea edx, [ebp - 0x24]
mov eax, dword [ebx]
call fcn.00460430
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409820
mov eax, dword [ebp - 0x20]
call fcn.00402950
call fcn.00402914
push 0xffffffffffffffec
mov eax, dword [ebx]
mov esi, dword [eax + 0x30]
push esi
call sub.user32.dll_GetWindowLongA
add eax, 0x80
push eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
mov ecx, dword [ebx]
mov dl, 1
mov eax, dword [0x4acfbc]
call fcn.00458530
mov edx, dword [0x4c0b58]
mov dword [edx], eax
mov ecx, dword [0x4c0854]
mov eax, dword [ebx]
mov edx, dword [0x4b06ac]
call fcn.0045fda0
push 0xffffffffffffffec
mov eax, dword [ebx]
mov esi, dword [eax + 0x30]
push esi
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebx]
mov byte [eax + 0x5b], 0
push 0x40000080
push 0xffffffffffffffec
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetWindowLongA
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx]
call fcn.0045fc74
mov eax, dword [ebx]
call fcn.0045fe20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb929
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.004046ec
ret
Function at 0x4028b8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x42a008], 0x8088405
inc edx
mov dword [ebx + 0x42a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x402d40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x42a024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402dd8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402db8
xor eax, eax
push ebp
push 0x402db1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402df4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402db8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x42a024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x42a024], ax
mov esp, ebp
pop ebp
ret

Function at 0x403794
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x42b04c], 0
je 0x4037f5
cmp word [0x42b220], 0xd7b2
jne 0x4037bd
cmp dword [0x42b228], 0
jbe 0x4037bd
mov eax, 0x42b21c
call dword [0x42b238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x42a06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40381c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x42a030], 0
jne 0x403811
push 0
push 0x42a064
push 0x42a06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40500c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40523c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40508f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40523c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40508f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405258
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405118
xor eax, eax
push ebp
push 0x405111
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404e54
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4050f6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405278
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4050f6
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405118
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405232
cmp byte [ebp - 0xd], 0
jne 0x40515f
cmp byte [ebp - 0x12], 0
je 0x405232
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405178
dec ebx
cmp byte [ebx], 0x2e
je 0x405187
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405177
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405232
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4051c4
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405232
cmp byte [ebp - 0xd], 0
je 0x405232
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405232
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405118
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40523c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40508f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40523c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40508f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405258
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405118
xor eax, eax
push ebp
push 0x405111
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404e54
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4050f6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405278
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4050f6
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405118
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405232
cmp byte [ebp - 0xd], 0
jne 0x40515f
cmp byte [ebp - 0x12], 0
je 0x405232
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405178
dec ebx
cmp byte [ebx], 0x2e
je 0x405187
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405177
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405232
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4051c4
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405232
cmp byte [ebp - 0xd], 0
je 0x405232
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405232
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40562c
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 0x405692
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
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403ba0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004028d4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40567c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405699
lea eax, [ebp - 0x10]
call fcn.00403930
ret

Function at 0x4068e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4069ea
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x406933
push 0x105
lea eax, [ebp - 0x109]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x109]
mov eax, dword [ebp - 4]
call fcn.00403a20
jmp 0x4069d1
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
mov eax, ebx
call fcn.00406894
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.004068b4
mov ebx, eax
test esi, esi
je 0x40695b
dec esi
test esi, esi
jl 0x40695b
cmp edi, ebx
jne 0x40693a
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x110]
mov edx, edi
call fcn.00403b28
mov eax, dword [ebp - 0x110]
mov ecx, ebx
sub ecx, edi
mov edx, 1
call fcn.00403e2c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403bcc
cmp eax, 2
jl 0x4069d1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax], 0x22
jne 0x4069d1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403bcc
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x22
jne 0x4069d1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403bcc
mov ecx, eax
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.00403e2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4069f1
lea eax, [ebp - 0x110]
call fcn.00403930
ret

Function at 0x4076d4
Capabilities:
Create thread

Disassembly:
push ebx
mov eax, dword [0x42a964]
mov byte [eax], 1
mov edx, dword [0x405db4]
xor eax, eax
call fcn.004094dc
mov ebx, eax
mov byte [ebx + 0x18], 1
lea eax, [ebx + 0x1e]
push eax
push 4
push ebx
push 0x4076c4
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebx + 0x1a], eax
mov eax, ebx
pop ebx
ret

Function at 0x407798
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jbe 0x4077b3
mov byte [ebx + 0x18], 1
pop ebx
ret
cmp word [ebx + 0x2c], 0
je 0x4077c2
mov edx, ebx
mov eax, dword [ebx + 0x2e]
call dword [ebx + 0x2a]
pop ebx
ret

Function at 0x4077c4
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_TerminateThread
mov byte [ebx + 0x19], 1
pop ebx
ret
Function at 0x409f38
Capabilities:
Get file attributes

Disassembly:
call fcn.00406044
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
je 0x409f4c
dec eax
and al, 0x10
sete al
ret

Function at 0x40b014
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x37], 0xef
test dl, dl
je 0x40b020
or byte [eax + 0x37], 0x10
mov byte [eax + 0x52], dl
mov ecx, dword [eax + 0x28]
jecxz 0x40b03c
push eax
je 0x40b03d
call dword [0x42a12c]
pop eax
push 5
push dword [eax + 0x28]
call sub.user32.dll_ShowWindow
ret
mov byte [eax + 0x174], dl
push 0
push ecx
call sub.user32.dll_ShowWindow
pop eax
call dword [0x42a12c]
ret

Function at 0x40c474
Capabilities:
Capture screenshot

Disassembly:
push ebx
mov ebx, eax
call fcn.0040c308
je 0x40c4a6
mov eax, ebx
push edx
call fcn.00408d7c
pop edx
cmp eax, edx
je 0x40c4a6
test edx, edx
mov eax, ebx
jne 0x40c498
pop ebx
inc edx
jmp fcn.00408d6c
mov byte [ebx + 0x49], dl
xor edx, edx
call fcn.00408d6c
xchg ebx, eax
cmp eax, 0
pop ebx
jne fcn.0040c4c4
ret
Function at 0x4104e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x410519
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403a20
jmp 0x410522
mov eax, ebx
mov edx, esi
call fcn.00403984
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41052c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x41054d
mov al, byte [esp]
jmp 0x41054f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x410bd4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x410a4c
mov eax, dword [0x42ab10]
cmp byte [eax], 0
je 0x410c50
mov eax, dword [0x42a9a8]
call fcn.00402834
call fcn.00402698
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040dea0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x410c98
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x410c86
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x42a96c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x42b668]
call fcn.00404e18
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x41197c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4119e0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403ba0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040db68
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4119e7
lea eax, [ebp - 0xc]
call fcn.00403930
ret
Function at 0x412b44
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x412d2e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x412b78
mov eax, dword [ebp - 8]
call fcn.00403930
jmp 0x412d18
mov eax, dword [ebp - 4]
call fcn.00403bcc
mov dword [ebp - 0xc], eax
test byte [ebp - 0xc], 3
je 0x412bb7
push 0x412d44
push dword [ebp - 4]
push 0x412d68
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00403c8c
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x40ce94]
call fcn.00410c9c
call fcn.00403370
mov eax, dword [ebp - 0xc]
shr eax, 2
lea eax, [eax + eax*2]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
call fcn.00403a20
mov ebx, 1
mov esi, 1
cmp ebx, dword [ebp - 0xc]
jg 0x412ced
mov edx, 4
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + ebx - 1]
cmp ecx, 0x3d
jg 0x412c0c
je 0x412c52
sub ecx, 0x2b
je 0x412c48
sub ecx, 4
je 0x412c4d
dec ecx
sub ecx, 0xa
jb 0x412c3a
jmp 0x412c57
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x412c1e
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x412c2c
jmp 0x412c57
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
sub cl, 0x41
mov byte [eax], cl
jmp 0x412c82
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
sub cl, 0x47
mov byte [eax], cl
jmp 0x412c82
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
add cl, 4
mov byte [eax], cl
jmp 0x412c82
mov byte [eax], 0x3e
jmp 0x412c82
mov byte [eax], 0x3f
jmp 0x412c82
mov byte [eax], 0
jmp 0x412c82
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx - 1]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea eax, [ebp - 0x20]
push eax
push 0
mov ecx, 0x412d78
mov dl, 1
mov eax, dword [0x40ce94]
call fcn.00410cd8
call fcn.00403370
inc ebx
inc eax
dec edx
jne 0x412beb
mov eax, dword [ebp - 8]
call fcn.00403e24
xor edx, edx
mov dl, byte [ebp - 0x14]
shl edx, 2
xor ecx, ecx
mov cl, byte [ebp - 0x13]
shr ecx, 4
or edx, ecx
mov byte [eax + esi - 1], dl
mov eax, dword [ebp - 8]
call fcn.00403e24
xor edx, edx
mov dl, byte [ebp - 0x13]
shl edx, 4
xor ecx, ecx
mov cl, byte [ebp - 0x12]
shr ecx, 2
or edx, ecx
mov byte [eax + esi], dl
mov eax, dword [ebp - 8]
call fcn.00403e24
xor edx, edx
mov dl, byte [ebp - 0x12]
shl edx, 6
xor ecx, ecx
mov cl, byte [ebp - 0x11]
or edx, ecx
mov byte [eax + esi + 1], dl
add esi, 3
cmp ebx, dword [ebp - 0xc]
jle 0x412be3
mov edx, dword [ebp - 4]
mov eax, 0x412d9c
call fcn.00403eb4
mov ebx, eax
test ebx, ebx
je 0x412d18
mov eax, dword [ebp - 0xc]
sub eax, ebx
inc eax
mov ebx, eax
mov edx, dword [ebp - 0x10]
sub edx, ebx
inc edx
mov eax, dword [ebp - 8]
mov ecx, ebx
call fcn.00403e6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412d35
lea eax, [ebp - 0x18]
call fcn.00403930
ret

Function at 0x4136e4
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00402898
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x41c6ec
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
mov byte [0x42a768], 1
push esp
xor edx, edx
mov al, 1
call fcn.00405ce0
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
sete al
add esp, 0x190
ret

Function at 0x41c728
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x10c], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403dbc
xor eax, eax
push ebp
push 0x41c95d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 4]
call fcn.00409d80
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00409d48
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 4]
call fcn.004039c8
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.004084d8
test eax, eax
jl 0x41c7d9
lea ecx, [ebp - 0x110]
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.004085cc
cmp dword [ebp - 0x110], 0
je 0x41c7d9
mov ecx, esi
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.004085cc
jmp 0x41c927
cmp byte [0x42a768], 0
jne 0x41c7ee
mov eax, esi
call fcn.00403930
jmp 0x41c927
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00402898
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x104]
mov edx, dword [ebp - 4]
call fcn.00409e34
lea eax, [ebp - 0x104]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x41c8ad
mov edx, dword [eax + 0xc]
test edx, edx
je 0x41c8a4
mov edi, dword [edx]
test edi, edi
je 0x41c89b
push esi
xor eax, eax
mov al, byte [edi]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0
xor eax, eax
mov al, byte [edi + 1]
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x124], 0
xor eax, eax
mov al, byte [edi + 2]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0
xor eax, eax
mov al, byte [edi + 3]
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x114], 0
lea edx, [ebp - 0x130]
mov ecx, 3
mov eax, 0x41c974
call fcn.00409ecc
jmp 0x41c8b4
mov eax, esi
call fcn.00403930
jmp 0x41c8b4
mov eax, esi
call fcn.00403930
jmp 0x41c8b4
mov eax, esi
call fcn.00403930
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.004084d8
test eax, eax
jl 0x41c8d2
mov ecx, dword [esi]
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
call fcn.00408678
jmp 0x41c8fa
push dword [ebp - 4]
push 0x41c988
push dword [esi]
lea eax, [ebp - 0x134]
mov edx, 3
call fcn.00403c8c
mov edx, dword [ebp - 0x134]
mov eax, dword [ebx + 0x40]
call fcn.0040bcf4
cmp dword [esi], 0
jne 0x41c927
lea eax, [ebp - 0x138]
mov ecx, 0x41c994
mov edx, dword [ebp - 4]
call fcn.00403c18
mov edx, dword [ebp - 0x138]
mov eax, dword [0x42a9ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
call fcn.0041e318
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c964
lea eax, [ebp - 0x138]
mov edx, 2
call fcn.00403954
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00403954
lea eax, [ebp - 4]
call fcn.00403930
ret