joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408180
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a14
xor eax, eax
push ebp
push 0x4081cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a24
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4081d3
lea eax, [ebp - 4]
call fcn.00404564
ret

Function at 0x4082dc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
xor edx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a14
xor eax, eax
push ebp
push 0x408408
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 4]
call fcn.00407a50
mov edx, dword [ebp - 0x138]
lea eax, [ebp - 4]
call fcn.004045fc
xor edx, edx
mov eax, 2
call fcn.00407544
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x134], 0x128
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 0xc]
call fcn.00407564
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 6], al
jmp 0x4083d3
lea eax, [ebp - 0x140]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.004047d4
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.00407a50
mov eax, dword [ebp - 0x13c]
mov edx, dword [ebp - 4]
call fcn.00404970
jne 0x4083bc
push 0
mov eax, dword [ebp - 0x12c]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 0xc]
call fcn.00407584
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 6], al
cmp byte [ebp - 6], 0
jne 0x408364
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40840f
lea eax, [ebp - 0x140]
mov edx, 3
call fcn.00404588
lea eax, [ebp - 4]
call fcn.00404564
ret
Function at 0x4087cc
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceFrequency
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
adc edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push ebp
call fcn.004087c4
pop ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x1c]
jne 0x40881e
cmp eax, dword [ebp - 0x20]
jb 0x408803
jmp 0x408820
jl 0x408803
push ebp
call fcn.004087c4
pop ecx
sub eax, dword [ebp - 0x28]
sbb edx, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x408948
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe64
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a14
xor eax, eax
push ebp
push 0x4089dc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x19c]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, dword [ebp - 4]
call fcn.00404a24
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetLastError_1
test eax, eax
jne 0x4089b9
cmp dword [ebp - 0xc], 0
je 0x4089b9
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.0040475c
jmp 0x4089c1
mov eax, dword [ebp - 8]
call fcn.00404564
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4089e3
lea eax, [ebp - 4]
call fcn.00404564
ret

Function at 0x408b98
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
call fcn.00404824
test eax, eax
je 0x408c23
mov eax, dword [ebp - 4]
call fcn.00404824
inc eax
push eax
push 0x2042
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x408c23
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x408c23
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00408c2c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x408c1a
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0xc]
push eax
push 1
call sub.user32.dll_SetClipboardData
test eax, eax
setne byte [ebp - 5]
call sub.user32.dll_CloseClipboard
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalFree
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x408e18
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x408eb0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xfa
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 8]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.004047d4
mov edx, dword [ebp - 8]
mov eax, 0x408ec8
call fcn.00404b68
test eax, eax
jne 0x408e95
mov edx, dword [ebp - 8]
mov eax, 0x408ed8
call fcn.00404b68
test eax, eax
jne 0x408e95
mov edx, dword [ebp - 8]
mov eax, 0x408eec
call fcn.00404b68
test eax, eax
jne 0x408e95
xor eax, eax
jmp 0x408e97
mov al, 1
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408eb7
lea eax, [ebp - 8]
call fcn.00404564
ret

Function at 0x408efc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x408f5d

Function at 0x408f68
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x408fe8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.004047d4
lea eax, [ebp - 0x110]
mov edx, 0x408ffc
call fcn.0040482c
mov eax, dword [ebp - 0x110]
mov edx, dword [ebp - 4]
push ebp
cld

Function at 0x409148
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404a14
mov eax, dword [ebp - 0xc]
call fcn.00404a14
xor eax, eax
push ebp
push 0x4091ee
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x4686c8
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00404a24
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [0x4686cc], eax
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404a24
push eax
mov eax, dword [0x4686c8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [0x4686cc], eax
mov eax, dword [0x4686c8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4091f5
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404588
ret
Function at 0x409200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404a14
mov eax, dword [ebp - 0xc]
call fcn.00404a14
xor eax, eax
push ebp
push 0x4092cc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4686c8
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00404a24
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [0x4686cc], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
call fcn.00404bb0
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404a24
push eax
mov eax, dword [0x4686c8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [0x4686cc], eax
cmp dword [0x4686cc], 0
jne 0x40929e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.00404a24
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.0040475c
jmp 0x4092a6
mov eax, dword [ebp + 8]
call fcn.00404564
mov eax, dword [0x4686c8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4092d3
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404588
ret

Function at 0x4092dc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404a14
mov eax, dword [ebp - 0xc]
call fcn.00404a14
mov eax, dword [ebp + 8]
call fcn.00404a14
xor eax, eax
push ebp
push 0x4093b4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4686c8
push 0
push 2
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404a24
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov dword [0x4686cc], eax
cmp dword [ebp + 8], 0
jne 0x40934c
lea eax, [ebp + 8]
mov edx, 0x4093cc
call fcn.004045fc
mov eax, dword [ebp + 8]
call fcn.00404824
push eax
lea eax, [ebp + 8]
call fcn.00404a7c
push eax
push 1
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404a24
push eax
mov eax, dword [0x4686c8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [0x4686cc], eax
cmp dword [0x4686cc], 0
sete byte [ebp - 0xd]
mov eax, dword [0x4686c8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4093bb
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404588
lea eax, [ebp + 8]
call fcn.00404564
ret
Function at 0x4093d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404a14
mov eax, dword [ebp - 0xc]
call fcn.00404a14
xor eax, eax
push ebp
push 0x409479
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4686c8
push 0
push 2
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404a24
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov dword [0x4686cc], eax
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404a24
push eax
mov eax, dword [0x4686c8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [0x4686cc], eax
cmp dword [0x4686cc], 0
sete byte [ebp - 0xd]
mov eax, dword [0x4686c8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409480
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404588
ret

Function at 0x40952c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404a14
mov eax, dword [ebp - 0xc]
call fcn.00404a14
xor eax, eax
push ebp
push 0x4095bf
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
jne 0x40956c
lea eax, [ebp - 0xc]
mov edx, 0x4095d8
call fcn.004045fc
mov eax, dword [ebp - 0xc]
call fcn.00404824
push eax
lea eax, [ebp - 0xc]
call fcn.00404a7c
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00404a24
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [0x4686cc], eax
cmp dword [0x4686cc], 0
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4095c6
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404588
ret

Function at 0x4095dc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404a14
xor eax, eax
push ebp
push 0x409643
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
mov eax, dword [ebp - 8]
call fcn.00404a24
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [0x4686cc], eax
cmp dword [0x4686cc], 0
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40964a
lea eax, [ebp - 8]
call fcn.00404564
ret

Function at 0x409654
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404a14
mov eax, dword [ebp - 0xc]
call fcn.00404a14
push dword [ebx]
rcl byte [ebp + 0x68], 0xee
xchg esi, eax
inc eax
add byte [edi + edi*8 + 0x30], ah
Function at 0x409ea8
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xffffff54
cmp byte [0x4661f0], 0
jne 0x409f7a
mov byte [0x4661f0], 1
xor eax, eax
mov dword [0x4661e8], eax
mov dword [esp + 0x18], 0x94
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x1c], 3
ja 0x409ef0
cmp dword [esp + 0x1c], 3
jne 0x409f50
cmp dword [esp + 0x20], 0x33
jbe 0x409f50
mov dword [esp + 4], 9
push esp
push 0x20019
push 0
push 0x409f84
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x409f7a
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x409fb4
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x409f7a
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp byte [esp + 8], 0x31
jne 0x409f7a
cmp byte [esp + 9], 0
jne 0x409f7a
jmp 0x409f65
push 0
push 0x409fb4
push 0x409fbc
call sub.kernel32.dll_GetProfileIntA
test eax, eax
je 0x409f7a
mov eax, dword [0x4661e4]
call fcn.00404a24
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4661e8], eax
add esp, 0xac
ret

Function at 0x40dfec
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 0x40e025
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404654
jmp 0x40e02e
mov eax, ebx
mov edx, esi
call fcn.004045b8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40e038
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 0x40e059
mov al, byte [esp]
jmp 0x40e05b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40e6e0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40e558
mov eax, dword [0x4672e0]
cmp byte [eax], 0
je 0x40e75c
mov eax, dword [0x4670b4]
call fcn.00402e18
call fcn.0040287c
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.0040b860
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 0x40e7a4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e792
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x467054]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x468660]
call fcn.0040564c
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 0x40eff8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40f0ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004045fc
lea eax, [ebp - 8]
call fcn.00404a74
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a24
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40f0b8
mov eax, ebx
call fcn.00402714
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40f0b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a24
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40f09b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40f0e0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40f09b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f0b8
mov eax, dword [ebp - 0x10]
call fcn.00402734
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f0d5
lea eax, [ebp - 8]
call fcn.00404564
ret

Function at 0x40f54c
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 0x40f5b0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
invalid
invalid

Function at 0x41d68c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x468d28
cmp dword [edi], 0
jne 0x41d708
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x468d24]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x466520
mov ecx, 2
call fcn.0040291c
mov edx, 0x41d664
lea eax, [esi + 5]
call fcn.0041d684
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d684
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41d6dd
mov dword [0x468d24], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41e91c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41e922
ret
Function at 0x420d64
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x420db5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420d9c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420d8c
jmp 0x420db5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x420d9d
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4222b4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0
je 0x4222f1
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0
je 0x422909
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x20], 0
je 0x422909
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0
jne 0x422314
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x422909
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
je 0x422909
mov eax, dword [ebp - 4]
call fcn.00421e70
xor eax, eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 4], 0
je 0x422343
lea eax, [ebp - 0x88]
push eax
push 0x54
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_GetObjectA
cmp eax, 0x18
jge 0x422343
call fcn.00420768
push 0
call sub.user32.dll_GetDC

Function at 0x42a2cc
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42a218
call sub.user32.dll_EnumWindows
ret

Function at 0x42a3ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42a469
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00429e4c
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42a411
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00429a4c
cmp dword [ebp - 4], 0
je 0x42a453
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404a24
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a470
lea eax, [ebp - 4]
call fcn.00404564
ret
Function at 0x42d10c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x468ff4], 0
je 0x42d25b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46726c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42d25b
mov eax, dword [0x468ff8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x468ff4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42d22a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x468ff4]
call fcn.00416c5c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42d222
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42d222
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42d222
mov eax, dword [ebp - 0x14]
call fcn.00435c70
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42d222
push ebp
call fcn.0042d0c8
pop ecx
test al, al
jne 0x42d222
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42d1de
mov eax, dword [ebp - 0x14]
call fcn.004347a0
dec eax
jle 0x42d222
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004039ac
cmp byte [ebp - 1], 0
je 0x42d222
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42d222
mov edx, dword [ebp - 0x14]
mov eax, dword [0x468ff8]
call fcn.0042c894
inc edi
dec ebx
jne 0x42d171
mov eax, dword [0x468ff8]
cmp dword [eax + 8], 0
jle 0x42d242
mov eax, dword [0x468ff8]
call fcn.0042c924
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d25b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042cf30
pop ecx
test al, al
jne 0x42d25b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret