joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407d00
Capabilities:
Copy file
Delete file
Print debug messages
Write file on windows

Disassembly:
mov eax, 0x1114
call fcn.00408bf0
mov eax, dword [0x40c1e0]
push ebp
push esi
mov esi, dword [esp + 0x1120]
cmp esi, eax
push edi
jb 0x407ef9
mov eax, dword [esp + 0x1128]
test eax, eax
je 0x407ef9
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x20]
cmp esi, 8
rep stosd dword es:[edi], eax
mov ecx, 0x240
lea edi, [esp + 0x820]
rep stosd dword es:[edi], eax
jbe 0x407d52
xor esi, esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1a]
mov eax, dword [esp + 0x18]
push str.GWCLI
shl esi, 4
add esi, 0x40c1e8
and ecx, 0xffff
push esi
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x22]
push edx
mov edx, dword [esp + 0x22]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
push str.__02d__02d__02d:_02d:_02d___s___s_
lea eax, [esp + 0x40]
push 0x800
push eax
call fcn.00407f10
mov edx, dword [esp + 0x1150]
lea ecx, [esp + 0x1154]
push ecx
push edx
lea eax, [esp + 0x850]
push 0x800
push eax
call dword [sym.imp.MSVCRT.dll__vsnprintf]
mov esi, dword [sym.imp.MSVCRT.dll_strncat]
lea ecx, [esp + 0x858]
push 0x7ff
lea edx, [esp + 0x5c]
push ecx
push edx
call esi
add esp, 0x44
lea eax, [esp + 0x20]
mov byte [esp + 0x81f], 0
push 0x40c2e8
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
push 0x7ff
lea ecx, [esp + 0x24]
push 0x40c2ec
push ecx
call esi
mov al, byte [0x40c1e4]
add esp, 0xc
test al, 1
mov byte [esp + 0x81f], 0
je 0x407e3e
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [0x40c1e4], 2
je 0x407ef9
xor ebp, ebp
push ebp
push 0x80
push 4
push ebp
push ebp
push 0x40000000
push str.c:gwlog.txt
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x407ef9
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push ebp
push ebp
push esi
call edi
cmp eax, 0x400000
jbe 0x407e8f
mov ebp, 1
push 2
push 0
push 0
push esi
call edi
cmp eax, 0x500000
jbe 0x407eaf
push 0
push 0
push 0
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea eax, [esp + 0xc]
push 0
push eax
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x407ef9
push 0
push str.c:gwlogbk.txt
push str.c:gwlog.txt
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push str.c:gwlog.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
add esp, 0x1114
ret

Function at 0x4083f0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
mov eax, 1
ret
Function at 0x401910
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x18]
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, dword [0x413dc0]
mov dword [ebp - 0x18], eax
mov ax, word [0x413dc4]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
call fcn.00412f40
test eax, eax
jne 0x401970
call fcn.00412eb0
mov dword [ebp - 0xc], eax
jmp 0x401990
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
push 0
call fcn.00412f70
test eax, eax
jne 0x401990
call fcn.00412eb0
mov dword [ebp - 0xc], eax
nop word [eax + eax]
cmp dword [ebp - 0x10], 0
je 0x4019a5
push dword [ebp - 0x10]
call fcn.00412f50
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x40aa60
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x4131d0]
cmp ax, 0xcb
je 0x40ab5f
cmp ax, 0xcc
je 0x40ab5f
mov edx, dword [0x41a900]
test edx, edx
je 0x40aa92
mov eax, dword [0x41a7b0]
call edx
mov ebx, eax
jmp 0x40aa97
mov ebx, 0x41a7b4
cmp word [0x41a7a0], 0
jle 0x40aaba
mov eax, 0x41a780
call fcn.0040acd0
mov eax, ebx
call fcn.0040a640
mov eax, ebx
call fcn.0040a6c0
mov esi, dword [ebx]
jmp 0x40aadd
mov edi, dword [esi + 4]
test byte [esi], 1
jne 0x40aad8
mov edx, esi
mov eax, ebx
call fcn.00409ac0
jmp 0x40aadb
and dword [esi], 0xfffffffe
mov esi, edi
test esi, esi
jne 0x40aac0
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x41a7a0], 0
jle 0x40ab5f
mov edx, 0x41a6c0
mov eax, ebx
call fcn.00409c10
mov esi, eax
test eax, eax
je 0x40ab32
mov eax, dword [0x41a754]
mov dword [esi + 0xc], eax
cmp dword [0x41a754], 0
je 0x40ab27
mov eax, dword [0x41a754]
mov dword [eax + 8], esi
mov eax, dword [ebx + 0x94]
mov dword [0x41a754], eax
sub word [0x41a7a0], 1
cmp word [0x41a7a0], 0
sete bl
mov eax, 0x41a780
call fcn.0040ace0
test bl, bl
je 0x40ab5f
mov eax, 0x41a780
call fcn.0040acc0
pop edi
pop esi
pop ebx
ret
Function at 0x411c90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
xor eax, eax
push fcn.00411c80
push ebp
push 0x40dec0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test eax, eax
jle 0x411d00
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.00407b20
cmp ebx, 1
jle 0x411cea
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.00407690
jmp 0x411d0b
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00405ed0
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00411c80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x411f30
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00411f20
push ebp
push 0x40dec0
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 1
nop dword [eax + eax]
lea eax, [ebx*4 + 0x41b04c]
xor edx, edx
call fcn.00405ed0
mov dword [ebx*4 + 0x41b06c], 0xffffffff
add ebx, 1
cmp ebx, 7
jle 0x411f60
call sub.kernel32.dll_GetThreadLocale
mov ebx, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push ebx
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x411fe8
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.004069d0
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.0040e600
mov esi, eax
sub eax, 3
cmp eax, 3
jae 0x411fe8
push 4
push esi
push ebx
mov eax, 0x411df0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push esi
push ebx
mov eax, 0x411e90
push eax
call sub.kernel32.dll_EnumCalendarInfoA
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00411f20
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412720
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x41b0b0], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x41af10], eax
mov eax, dword [ebp - 0x90]
mov dword [0x41af20], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x41af30], eax
mov eax, dword [ebp - 0x88]
mov dword [0x41af40], eax
mov edx, 0x41af51
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.00402660
lea eax, [ebp - 0x80]
call fcn.00403230
mov byte [0x41af50], al
mov eax, str.kernel32
push eax
call fcn.004010e0
mov dword [0x41b0c0], eax
test eax, eax
je 0x4127bf
mov eax, str.GetDiskFreeSpaceExA
push eax
push dword [0x41b0c0]
call fcn.00401140
mov dword [0x41b0b0], eax
cmp dword [0x41af20], 6
jae 0x4127db
mov dword [0x413bd0], 0
cmp dword [0x41af20], 6
jb 0x4127ee
cmp dword [0x41af30], 1
jb 0x4127ee
mov dword [0x413be0], 2
cmp dword [0x41b0c0], 0
je 0x412816
cmp dword [0x41af20], 6
jb 0x412816
mov eax, str.GetTimeZoneInformationForYear
push eax
push dword [0x41b0c0]
call fcn.00401140
mov dword [0x413da0], eax
mov esp, ebp
pop ebp
ret
Function at 0x10019970
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x254
mov eax, dword [0x100e2f80]
xor eax, esp
mov dword [esp + 0x250], eax
push esi
push 0
push 0x80
push 3
push 0
push 1
push 1
push str.RIO.INI
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10019a23
mov ecx, dword [0x10ea2650]
mov edx, ecx
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100199c0
sub edx, esi
sar edx, 1
cmp edx, 3
jbe 0x10019a81
lea esi, [esp + 0x4c]
sub esi, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x100199e0
push 0
push 0x80
push 3
push 0
push 1
push 1
lea eax, [esp + 0x64]
mov dword [esp + edx*2 + 0x60], 0x69006e
mov ecx, 0x69
push eax
mov word [esp + edx*2 + 0x62], cx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10019a81
push 0x40
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10002e5f
add esp, 0xc
lea eax, [esp + 8]
push 0
push eax
push 0x40
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0xc]
mov byte [esp + 0x4b], 0
push 0x100c6980
push eax
call fcn.10003fee
add esp, 8
test eax, eax
je 0x10019a81
lea ecx, [esp + 4]
add eax, 3
push ecx
push 0x100c6984
push eax
call fcn.1000553d
add esp, 0xc
mov ecx, dword [esp + 0x254]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.10002da1
add esp, 0x254
ret

Function at 0x1001d2f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1e8
push esi
mov esi, dword [esp + 0x1f0]
push edi
test esi, esi
je 0x1001d31a
lea edx, [esi + 0x100]
mov ecx, esi
cmp esi, edx
jae 0x1001d31a
nop
cmp byte [ecx], 0xe8
je 0x1001d32f
inc ecx
cmp ecx, edx
jb 0x1001d310
pop edi
pop esi
add esp, 0x1e8
mov dword [esp + 4], str.vnreng:AliceHook1:_failed
jmp fcn.10003a08
mov edi, dword [ecx + 1]
add ecx, 5
push esi
add edi, ecx
call fcn.100052cc
add esp, 4
cmp eax, 1
je 0x1001d355
add esi, eax
push esi
call fcn.100052cc
add esp, 4
cmp eax, 1
jne 0x1001d345
push 0x1e8
lea eax, [esp + 0xc]
push 0
push eax
call fcn.10002e5f
movzx ecx, byte [esi]
mov eax, 0xfffffff8
and ecx, 0xf
mov dword [esp + 0x14], edi
shl ecx, 2
sub eax, ecx
mov dword [esp + 0x18], 0
push str.vnreng:_INSERT_AliceHook1
mov dword [esp + 0x20], 0xfffffff8
mov dword [esp + 0x28], eax
mov dword [esp + 0x19c], 0x11
call fcn.10003a08
add esp, 0x10
lea esi, [esp + 8]
mov ecx, 0x7a
push 0x8000
push str.System40
sub esp, 0x1e8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10002a6d
add esp, 0x1f0
pop edi
pop esi
add esp, 0x1e8
ret
Function at 0x402dec
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402e45
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402c88
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402c88
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402e2f
inc ebx
jmp 0x402e18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402e4c
lea eax, [ebp - 8]
call fcn.00404410
ret

Function at 0x402e54
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404410
test esi, esi
jne 0x402e8b
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404500
jmp 0x402eac
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402c88
mov dword [esp], eax
test esi, esi
je 0x402eac
cmp dword [ebx], 0
je 0x402eac
dec esi
jmp 0x402e93
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403510
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x44e020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4035a8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403588
xor eax, eax
push ebp
push 0x403581
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 0x4035c4
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 0x403588
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x44e020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x44e020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40428c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x450044], 0
je 0x4042ed
cmp word [0x450218], 0xd7b2
jne 0x4042b5
cmp dword [0x450220], 0
jbe 0x4042b5
mov eax, 0x450214
call dword [0x450230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x44e06c
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 0x404314
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x44e030], 0
jne 0x404309
push 0
push 0x44e064
push 0x44e06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406034
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 0x40609a
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.00404680
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004030d4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406084
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4060a1
lea eax, [ebp - 0x10]
call fcn.00404410
ret

Function at 0x40b030
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 0x40b069
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404500
jmp 0x40b072
mov eax, ebx
mov edx, esi
call fcn.00404464
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b734
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b59c
mov eax, dword [0x44f004]
cmp byte [eax], 0
je 0x40b7b0
mov eax, dword [0x44ee34]
call fcn.00402f40
call fcn.00402bb4
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.00408820
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 0x40b7f8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b7e6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x44ede4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x450660]
call fcn.004054a0
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 0x40c054
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 0x40c12a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004044a8
lea eax, [ebp - 8]
call fcn.00404920
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004048d0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c114
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c10d
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.004048d0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c0f7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c13c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c0f7
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 0x40c114
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c131
lea eax, [ebp - 8]
call fcn.00404410
ret

Function at 0x40c604
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 0x40c668
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.00404680
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408368
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c66f
lea eax, [ebp - 0xc]
call fcn.00404410
ret

Function at 0x41aa78
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4508a4
cmp dword [edi], 0
jne 0x41aaf4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4508a0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44e3e8
mov ecx, 2
call fcn.00402c48
mov edx, 0x41aa50
lea eax, [esi + 5]
call fcn.0041aa70
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041aa70
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 0x41aac9
mov dword [0x4508a0], 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 0x41bd08
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 0x41bd0e
ret
Function at 0x426e48
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 0x426d94
call sub.user32.dll_EnumWindows
ret

Function at 0x426f68
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 0x426fe5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004269c8
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x426f8d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004265c8
cmp dword [ebp - 4], 0
je 0x426fcf
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004048d0
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 0x426fec
lea eax, [ebp - 4]
call fcn.00404410
ret

Function at 0x429c88
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 [0x450b44], 0
je 0x429dd7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x44efa8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x429dd7
mov eax, dword [0x450b48]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x450b44]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x429da6
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x450b44]
call fcn.00414048
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x429d9e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x429d9e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x429d9e
mov eax, dword [ebp - 0x14]
call fcn.004327ec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x429d9e
push ebp
call fcn.00429c44
pop ecx
test al, al
jne 0x429d9e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x429d5a
mov eax, dword [ebp - 0x14]
call fcn.0043131c
dec eax
jle 0x429d9e
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.004038a4
cmp byte [ebp - 1], 0
je 0x429d9e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x429d9e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x450b48]
call fcn.00429410
inc edi
dec ebx
jne 0x429ced
mov eax, dword [0x450b48]
cmp dword [eax + 8], 0
jle 0x429dbe
mov eax, dword [0x450b48]
call fcn.004294a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x429dd7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00429aac
pop ecx
test al, al
jne 0x429dd7
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