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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x411a00
cmp edx, dword [eax]
je 0x40b823
add eax, 8
inc ecx
cmp eax, 0x411a90
jl 0x40b814
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x411a00]
jne 0x40b951
mov eax, dword [0x41911c]
cmp eax, 1
je 0x40b92b
test eax, eax
jne 0x40b854
cmp dword [0x411488], 1
je 0x40b92b
cmp edx, 0xfc
je 0x40b951
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b88b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408740
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408910
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b8ce
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408910
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41050c
push edi
call fcn.00408fa0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408740
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00408750
lea eax, [ebp - 0xa0]
push 0x4104ec
push eax
call fcn.00408750
push dword [esi + 0x411a04]
lea eax, [ebp - 0xa0]
push eax
call fcn.00408750
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040e2c6
add esp, 0x2c
pop edi
jmp 0x40b951
lea eax, [ebp + 8]
lea esi, [esi + 0x411a04]
push 0
push eax
push dword [esi]
call fcn.00408910
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x401280
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
xor ebx, ebx
cmp dword [0x847528], 0x594
mov dword [ebp - 8], eax
jne 0x4012b3
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x428158]
mov edx, dword [0x42815c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
call fcn.00401270
mov eax, dword [0x428160]
mov ecx, dword [0x428164]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], 0x20
nop
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x847528]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401344
push ebx
lea edx, [ebp - 0x834]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCompact]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x847528]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x40135e
mov dword [0x846ac4], 0xedeb2e40
jmp 0x40136c
cmp ecx, 0x3eb
jne 0x40136c
mov dword [0x846474], ebx
mov ecx, dword [ebp - 0x18]
add ecx, edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov esi, edi
shr esi, cl
mov dword [0x846ac0], 0xf4ea3dee
add esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
cmp dword [0x847528], 0x9e6
jne 0x4013a2
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
shr esi, cl
add esi, dword [ebp - 0x28]
cmp dword [0x847528], 0x121
jne 0x401401
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 4]
xor eax, esi
mov dword [ebp - 4], eax
sub edi, eax
lea eax, [ebp - 0x18]
call fcn.00401260
sub dword [ebp - 0x1c], 1
jne 0x4012f0
cmp dword [0x847528], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401449
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 8]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401460
Capabilities:
Set file attributes
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x847528]
mov ecx, dword [0x846478]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x4014ea
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x847528], 0x959
jne 0x4014d4
push 0
push 0
call esi
push str.xiyefuzotovavumadusuteboxijapijuxilodolupupahoyasidejuriduzebitameyujomacimohatuv
push 0
push 0
call edi
push 0
push 0
push str.kihubatigu
push str.lejigowuxoyojagijaxujocihipubav
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 4]
push eax
call fcn.00401280
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401493
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4015e0
Capabilities:
Extract resource via kernel32 functions
Get hostname

Disassembly:
push ecx
push 0x4292f8
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x422f08
push eax
mov dword fs:[0], esp
sub esp, 0xd84
cmp dword [0x847528], 0x5b1
push ebx
push esi
push edi
jne 0x4016a9
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupRead]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea esi, [ebp - 0x34]
call fcn.00401c30
push 0
mov dword [ebp - 4], 0
call fcn.00403aec
push 0
push 0
call fcn.00403940
add esp, 0xc
call fcn.004036fa
jmp 0x4015d0
mov eax, dword [0x428370]
mov dword [0x84752c], eax
mov eax, dword [0x847528]
add eax, 0x1134b
push eax
push 0
mov dword [0x847528], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x846478], eax
call fcn.00401510
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0x2710
jge 0x4016f3
lea ecx, [ebp - 0x590]
push ecx
push 0
call edi
inc esi
cmp esi, 0x18ea14c
jl 0x4016e0
xor esi, esi
cmp dword [0x847528], esi
jbe 0x401758
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [0x84752c]
mov al, byte [edx + esi + 0x1134b]
mov ecx, dword [0x846478]
mov byte [ecx + esi], al
cmp dword [0x847528], 0xa8
jne 0x40174f
push 0
lea edx, [ebp - 0x10]
push edx
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x190]
push eax
call ebx
inc esi
cmp esi, dword [0x847528]
jb 0x401712
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor esi, esi
jmp 0x401770
mov ecx, dword [0x847528]
add ecx, esi
cmp ecx, 0xe
jne 0x40179c
push 0
push 0
push str.juxaxisofun
call edi
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
inc esi
cmp esi, 0x39621
jl 0x401770
call fcn.00401460
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x4017be
call fcn.004014f0
inc esi
cmp esi, 0x6753f
jl 0x4017b2
mov esi, dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov ebx, dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov dword [ebp - 0x10], 0x7b
cmp dword [0x847528], 0x86
jne 0x40181c
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xd90]
push eax
push str.zofirajohukaseviheza
call esi
push 0
push str.zajivazegecolojokateweyehenesa
push str.wedihofipepowexohogokozazotahejojeberaxipemobu
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
sub dword [ebp - 0x10], 1
jne 0x4017e0
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x401840
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
cmp dword [0x847528], 0x400
push esi
push edi
jne 0x40187f
push 0
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea esi, [ebp - 0x24]
call fcn.00401970
mov ecx, esi
call fcn.00401990
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharLowerBuffA]
xor esi, esi
jmp 0x401890
cmp esi, 0xa50
jge 0x4018a3
push 0
lea ecx, [ebp - 0x424]
push ecx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x4018b9
cmp edi, 0x78d9a205
jne 0x4018c2
inc esi
cmp esi, 0x1c5d
jl 0x401890
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x4018ed
inc esi
cmp esi, 0x4f6a4
jl 0x4018d0
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40190c
cmp ebx, 0x785074d5
jne 0x401915
inc esi
cmp esi, 0x11915
jl 0x4018f8
mov edx, dword [0x42839c]
mov dword [0x847528], edx
call fcn.004015e0
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov edi, 0x3078f
pop ebx
cmp dword [0x847528], 0x51f
jne 0x40194e
push 0
lea eax, [ebp - 0x424]
push eax
push str.mucaxokacahocehasupa
call esi
sub edi, 1
jne 0x401932
mov eax, dword [0x846478]
mov dword [0x846abc], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40444b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427218]
jne 0x404455
repz ret
jmp fcn.0040904c
Function at 0x40a7bf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405795
and dword [ebp - 4], 0
cmp dword [0x4291e8], 0
mov ebx, eax
jne 0x40a870
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a921
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a921
push eax
call fcn.00405723
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4291e8], eax
call esi
push eax
call fcn.00405723
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4291ec], eax
call esi
push eax
call fcn.00405723
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4291f0], eax
call esi
push eax
call fcn.00405723
pop ecx
mov dword [0x4291f8], eax
test eax, eax
je 0x40a870
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405723
pop ecx
mov dword [0x4291f4], eax
mov eax, dword [0x4291f4]
cmp eax, ebx
je 0x40a8c8
cmp dword [0x4291f8], ebx
je 0x40a8c8
push eax
call fcn.0040579e
push dword [0x4291f8]
mov esi, eax
call fcn.0040579e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a8c8
test edi, edi
je 0x40a8c8
call esi
test eax, eax
je 0x40a8bf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a8bf
test byte [ebp - 0xc], 1
jne 0x40a8c8
or dword [ebp + 0x10], 0x200000
jmp 0x40a901
mov eax, dword [0x4291ec]
cmp eax, ebx
je 0x40a901
push eax
call fcn.0040579e
pop ecx
test eax, eax
je 0x40a901
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a901
mov eax, dword [0x4291f0]
cmp eax, ebx
je 0x40a901
push eax
call fcn.0040579e
pop ecx
test eax, eax
je 0x40a901
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4291e8]
call fcn.0040579e
pop ecx
test eax, eax
je 0x40a921
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a923
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401822
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401861
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401861
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401861
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401861
cmp dword [ecx + 0x74], 0xe
jbe 0x401861
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4059d4
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 0x405a3a
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.004040bc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b38
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a24
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a41
lea eax, [ebp - 0x10]
call fcn.00403e4c
ret

Function at 0x40aa68
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 0x40aaa1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f3c
jmp 0x40aaaa
mov eax, ebx
mov edx, esi
call fcn.00403ea0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b15c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40afd4
mov eax, dword [0x464948]
cmp byte [eax], 0
je 0x40b1d8
mov eax, dword [0x464760]
call fcn.004029a4
call fcn.00402824
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.004082dc
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 0x40b220
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b20e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x464710]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x465664]
call fcn.00404ee8
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 0x40ba74
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 0x40bb4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ee4
lea eax, [ebp - 8]
call fcn.0040435c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040430c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bb34
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bb2d
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.0040430c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bb17
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bb5c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bb17
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 0x40bb34
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb51
lea eax, [ebp - 8]
call fcn.00403e4c
ret

Function at 0x40c054
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 0x40c0b8
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.004040bc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407e24
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c0bf
lea eax, [ebp - 0xc]
call fcn.00403e4c
ret

Function at 0x41a194
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x465884
cmp dword [edi], 0
jne 0x41a210
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x465880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4633ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a16c
lea eax, [esi + 5]
call fcn.0041a18c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a18c
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 0x41a1e5
mov dword [0x465880], 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 0x41b78c
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 0x41b792
ret
Function at 0x429754
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 0x4296a0
call sub.user32.dll_EnumWindows
ret

Function at 0x429874
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 0x4298f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004292d4
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 0x429899
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00428ed4
cmp dword [ebp - 4], 0
je 0x4298db
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040430c
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 0x4298f8
lea eax, [ebp - 4]
call fcn.00403e4c
ret

Function at 0x42c6fc
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 [0x465b54], 0
je 0x42c84b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4648e8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42c84b
mov eax, dword [0x465b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x465b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42c81a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x465b54]
call fcn.00413764
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42c812
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42c812
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42c812
mov eax, dword [ebp - 0x14]
call fcn.004352ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42c812
push ebp
call fcn.0042c6b8
pop ecx
test al, al
jne 0x42c812
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42c7ce
mov eax, dword [ebp - 0x14]
call fcn.00433ddc
dec eax
jle 0x42c812
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.004032f8
cmp byte [ebp - 1], 0
je 0x42c812
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42c812
mov edx, dword [ebp - 0x14]
mov eax, dword [0x465b58]
call fcn.0042be84
inc edi
dec ebx
jne 0x42c761
mov eax, dword [0x465b58]
cmp dword [eax + 8], 0
jle 0x42c832
mov eax, dword [0x465b58]
call fcn.0042bf14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42c84b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042c520
pop ecx
test al, al
jne 0x42c84b
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