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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x40], 0
je 0x4104ce
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x4104da
mov al, 1
jmp 0x410653
mov dword [ebp - 0x20], 8
call fcn.004128e0
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x14], eax
call fcn.004128e0
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00412910
add esp, 8
movzx eax, al
test eax, eax
je 0x41051d
xor al, al
jmp 0x410653
push 0
push 8
lea ecx, [ebp - 0x48]
call fcn.0040e220
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x48]
call fcn.00411fd0
mov ecx, eax
call fcn.0040f460
mov esi, eax
lea ecx, [ebp - 0x48]
call fcn.00414a00
add esi, eax
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x48]
call fcn.00411fd0
mov ecx, eax
call fcn.0040f460
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x40]
call fcn.00414ec0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x410591
cmp dword [ebp - 0x10], 1
je 0x410598
cmp dword [ebp - 0x10], 3
je 0x410624
jmp 0x410635
mov eax, dword [ebp - 8]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00411fd0
mov ecx, eax
call fcn.0040f460
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov dword [ebp - 0xc], edx
je 0x4105f4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.00411fd0
mov ecx, eax
call fcn.0040f460
push eax
call fcn.00416f99
add esp, 0x10
cmp dword [ebp - 0xc], eax
je 0x4105f4
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x48]
call fcn.0040ed30
mov al, byte [ebp - 1]
jmp 0x410653
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x410610
mov byte [ebp - 2], 1
lea ecx, [ebp - 0x48]
call fcn.0040ed30
mov al, byte [ebp - 2]
jmp 0x410653
cmp dword [ebp - 0xc], 0
jne 0x410622
push 0
push 8
lea ecx, [ebp - 0x48]
call fcn.00411b60
jmp 0x410646
mov byte [ebp - 3], 1
lea ecx, [ebp - 0x48]
call fcn.0040ed30
mov al, byte [ebp - 3]
jmp 0x410653
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040ed30
mov al, byte [ebp - 4]
jmp 0x410653
jmp 0x410529
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4241d0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4355dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0041b8ef
mov dword [ebp - 0x14], eax
cmp dword [0x437ad0], esi
jne 0x4242c3
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x424250
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4243a3
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4243a3
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4243a3
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x437ad0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x437ad4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x437ad8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x437ae0], eax
test eax, eax
je 0x4242c0
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x437adc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4242e8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4242db
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4242fd
push 4
pop eax
jmp 0x4243a5
cmp dword [ebp - 0x14], esi
je 0x4242fd
push dword [0x437ad0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4242e2
mov eax, dword [0x437adc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x42435b
cmp dword [0x437ae0], edi
je 0x42435b
push eax
call ebx
push dword [0x437ae0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42435b
test eax, eax
je 0x42435b
call ecx
test eax, eax
je 0x424350
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x424350
test byte [ebp - 8], 1
jne 0x42435b
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x42438b
mov eax, dword [0x437ad4]
cmp eax, edi
je 0x424388
push eax
call ebx
test eax, eax
je 0x424388
call eax
mov esi, eax
test esi, esi
je 0x424388
mov eax, dword [0x437ad8]
cmp eax, edi
je 0x424388
push eax
call ebx
test eax, eax
je 0x424388
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x437ad0]
call ebx
test eax, eax
je 0x4243a3
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4243a5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041aa5b
mov esp, ebp
pop ebp
ret
Function at 0x406230
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x80fdbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x40450c
call fcn.00406e91
push 4
mov dword [esp + 0x18], 0
call fcn.00407d36
mov edi, eax
add esp, 4
test edi, edi
je 0x4062a4
push ebx
call fcn.00406d69
mov dword [edi], eax
call fcn.00406b28
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406e52
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406298
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406e7a
pop ebx
jmp 0x4062a6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4087a1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x813520]
jne 0x4087ab
repz ret
jmp fcn.0040cefc
Function at 0x411b42
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x813520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040aea1
and dword [ebp - 0x14], 0
cmp dword [0x818a94], 0
mov dword [ebp - 0x18], eax
jne CreateActCtxW
push 0x403924
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411c9d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403918
push ebx
call edi
test eax, eax
je 0x411c9d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403908
push ebx
mov dword [0x818a94], eax
call edi
push eax
call esi
push 0x4038f4
push ebx
mov dword [0x818a98], eax
call edi
push eax
call esi
push ReadConsoleInputA
push ebx
mov dword [0x818a9c], eax
call edi
push eax
call esi
mov dword [0x818aa4], eax
test eax, eax
je 0x411bf5
push 0x4038c0
push ebx
call edi
push eax
call esi
mov dword [0x818aa0], eax
mov eax, dword [0x818aa0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411c4e
cmp dword [0x818aa4], ecx
je HeapCreate
push eax
call esi
push dword [0x818aa4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411c4e
test ebx, ebx
je 0x411c4e
call edi
test eax, eax
je 0x411c45
lea ecx, [ebp - 0x24]
push ecx
push GetCompressedFileSizeA
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411c45
test byte [ebp - 8], 1
jne 0x411c4e
or dword [ebp + 0x10], 0x200000
jmp EnumSystemLocalesA
mov eax, dword [0x818a98]
cmp eax, dword [ebp - 0x18]
je EnumSystemLocalesA
push eax
call esi
test eax, eax
je EnumSystemLocalesA
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je EnumSystemLocalesA
mov eax, dword [0x818a9c]
cmp eax, dword [ebp - 0x18]
je EnumSystemLocalesA
push eax
call esi
test eax, eax
je EnumSystemLocalesA
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [EnumSystemLocalesA]
call esi
test eax, eax
je 0x411c9d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411c9f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004087a1
leave
ret
Function at 0x80e8e0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0xb9d820], 0x37
jne 0x80e977
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x404164
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov ecx, dword [0xb9d824]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x81d884]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x80ebe0
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb9d820]
sub esp, 0x434
push ebx
push ebp
push esi
mov esi, dword [0x81d884]
push edi
shr eax, 3
xor edi, edi
cmp eax, edi
jbe 0x80edcf
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
jmp 0x80ec16
mov esi, dword [esp + 0x20]
xor edi, edi
cmp dword [0xb9d820], 0x1c
jne 0x80ec2d
lea eax, [esp + 0x38]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [0x814700]
mov ebx, dword [0x814708]
mov ebp, dword [0x81470c]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x814704]
mov dword [esp + 0x18], eax
mov esi, 0xc6ef3720
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 0x20
jmp 0x80ec76
mov eax, dword [esp + 0x18]
xor edi, edi
mov edx, eax
shr edx, 5
add edx, ebp
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x1c], edx
add ecx, ebx
lea edx, [esi + eax]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov dword [0xb9c7a4], edi
mov eax, dword [esp + 0x1c]
add dword [0xb9c7a4], eax
mov eax, dword [0xb9c7a4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x34]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
cmp dword [0xb9d820], 0x1be
mov eax, dword [esp + 0x14]
lea edi, [esi + eax]
jne 0x80ed0d
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x2c]
cmp dword [0xb9d820], 0x979
mov dword [0xb9c7a8], 0xff6b3619
mov dword [0xb9c7ac], 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x80ed47
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
xor dword [esp + 0x10], edi
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x18], eax
mov eax, dword [0xb9d820]
cmp eax, 0x93
je 0x80ed6d
add esi, 0x61c88647
dec dword [esp + 0x28]
jne 0x80ec70
cmp eax, 0x8d4
jne 0x80ed84
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], eax
cmp dword [0xb9d820], 0x17
jne 0x80edbe
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x40]
push ecx
push 0x4040f0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x20], esi
jne 0x80ec10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x434
ret
Function at 0x40170c
Capabilities:
Parse pe header

Disassembly:
push ebx
push 0x1084024
jmp loc.01085d06

Function at 0x401b30
Capabilities:
Parse pe header

Disassembly:
mov dword [0x1082f48], ebx
push ebx
jmp loc.01086272
lea esp, [esp + 4]
clc
cmp ecx, ebp
cmp ebx, 0x7d000000
jae 0x10861a6
add ebx, 0x1000
jmp 0x401171
push ebx
mov ebx, eax
push 0x1084014
jmp 0x4011fd
jmp loc.00401b92
nop
jmp 0x1085198

Function at 0x401d4c
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
push ebx
push esi
push 0x1084088
jmp 0x401df5
lea esp, [esp + 4]
shrd edx, ecx, 0xa5
mov ebx, dword fs:[0x18]
movzx ecx, si
neg eax
sbb eax, 0x65823223
mov dword [esp], ebx
ror bl, cl
bsr eax, edx
mov eax, dword [esp]
btc ecx, 0x52
mov bx, sp
mov edx, dword [eax + 0x30]
movsx ebx, dx
xor cx, cx
bt bx, 0x4d
mov ecx, dword [edx + 0xc]
bswap edx
bsf dx, ax
test di, bx
mov ebx, dword [ecx + 0x1c]
ror dl, 0xb9
mov edx, dword [ebx + 8]
cmp bl, 0xb5
test edx, edx
jmp loc.010857f5
Function at 0x4059bc
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 0x405a22
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.004040d4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b68
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a0c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a29
lea eax, [ebp - 0x10]
call fcn.00403e64
ret

Function at 0x40a918
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 0x40a951
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f54
jmp 0x40a95a
mov eax, ebx
mov edx, esi
call fcn.00403eb8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b00c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ae84
mov eax, dword [0x452064]
cmp byte [eax], 0
je 0x40b088
mov eax, dword [0x451e8c]
call fcn.004029b8
call fcn.00402834
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.0040818c
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 0x40b0d0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b0be
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x451e3c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x453664]
call fcn.00404ed0
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 0x40b924
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 0x40b9fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403efc
lea eax, [ebp - 8]
call fcn.00404374
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404324
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40b9e4
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40b9dd
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.00404324
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40b9c7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ba0c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40b9c7
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 0x40b9e4
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ba01
lea eax, [ebp - 8]
call fcn.00403e64
ret

Function at 0x40be78
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 0x40bedc
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.004040d4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407d1c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bee3
lea eax, [ebp - 0xc]
call fcn.00403e64
ret

Function at 0x41a004
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x453884
cmp dword [edi], 0
jne 0x41a080
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x453880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4513f0
mov ecx, 2
call fcn.004028c8
mov edx, 0x419fdc
lea eax, [esi + 5]
call fcn.00419ffc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00419ffc
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 0x41a055
mov dword [0x453880], 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 0x41b294
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 0x41b29a
ret
Function at 0x41d724
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 0x41d775
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d75c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d74c
jmp 0x41d775
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 0x41d75d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429ea8
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 0x429df4
call sub.user32.dll_EnumWindows
ret

Function at 0x429fc8
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 0x42a045
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00429a28
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 0x429fed
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00429628
cmp dword [ebp - 4], 0
je 0x42a02f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404324
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 0x42a04c
lea eax, [ebp - 4]
call fcn.00403e64
ret

Function at 0x42d010
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 [0x453b54], 0
je 0x42d15f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x452008]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42d15f
mov eax, dword [0x453b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x453b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42d12e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x453b54]
call fcn.004135d4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42d126
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42d126
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42d126
mov eax, dword [ebp - 0x14]
call fcn.00435c9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42d126
push ebp
call fcn.0042cfcc
pop ecx
test al, al
jne 0x42d126
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42d0e2
mov eax, dword [ebp - 0x14]
call fcn.004347cc
dec eax
jle 0x42d126
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.00403328
cmp byte [ebp - 1], 0
je 0x42d126
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42d126
mov edx, dword [ebp - 0x14]
mov eax, dword [0x453b58]
call fcn.0042c798
inc edi
dec ebx
jne 0x42d075
mov eax, dword [0x453b58]
cmp dword [eax + 8], 0
jle 0x42d146
mov eax, dword [0x453b58]
call fcn.0042c828
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d15f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042ce34
pop ecx
test al, al
jne 0x42d15f
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