joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a6c24
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4a6c4a
mov eax, esp
push eax
push 0x4a6bec
call sub.user32.dll_EnumWindows
jmp 0x4a6c5d
mov eax, esp
push eax
push 0x4a6bcc
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x4a6d20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4a6d70]
test bl, 4
je 0x4a6d34
or si, 1
test bl, 8
je 0x4a6d3d
or si, 4
test bl, 1
je 0x4a6d46
or si, 8
test bl, 2
je 0x4a6d4f
or si, 0x10
test bl, 0x10
je 0x4a6d58
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a6d68
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4a6d74
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4a6db0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a6d8f
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4a6d9f
or bx, 4
test esi, 0x20000000
je 0x4a6dab
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4af974
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4af986
add esp, 0xfffffff0
call fcn.00405b04
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00443b10
mov eax, dword [0x5445d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x4afdd0
mov eax, dword [0x5445e0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4afddc
mov eax, ebx
call fcn.004afde8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x42cf30]
call fcn.0040558c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x42cf30]
call fcn.0040558c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x42cf30]
call fcn.0040558c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x42cf30]
call fcn.0040558c
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x42cf30]
call fcn.0040558c
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4aa71c
push eax
push 0
push 0
mov eax, dword [0x544868]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x454a4c]
call fcn.0045af88
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x454a4c]
call fcn.0045af88
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x454a4c]
call fcn.0045af88
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x454a4c]
call fcn.0045af88
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x454a4c]
call fcn.0045af88
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004b0340
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b01b0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b01b0
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b01b0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b01b0
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b01b0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4afb01
call fcn.00405b5c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4aff50
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b00fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4b00de
mov dl, 1
mov eax, dword [0x42f4f8]
call fcn.0043b4bc
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00407570
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4b00cd
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004926a0
test al, al
je 0x4b00c0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4b010c
lea eax, [ebp - 0x394]
call fcn.00415dc0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4b00c0
xor eax, eax
push ebp
push 0x4b00b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4b017c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4b00a2
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407780
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x4b00a2
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b00c0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4affc3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.0043b3f8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0104
lea eax, [ebp - 0x3a0]
call fcn.00407560
ret

Function at 0x4b0c5c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x54a288]
cmp byte [eax + 0xad], 0
jne 0x4b0cce
cmp dword [0x54a2a0], 0
jne 0x4b0c8e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x541f38]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x54a2a0], eax
cmp dword [0x54a29c], 0
jne 0x4b0ca9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x54a29c], eax
cmp dword [0x54a2a4], 0
jne 0x4b0cce
push esp
push 0
push 0
mov eax, dword [0x541f34]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x54a2a4], eax
pop edx
ret
Function at 0x4b0ff4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4b100b
add esp, 0xfffffff0
call fcn.00405b04
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00443b10
mov eax, dword [0x544448]
cmp byte [eax], 0
jne 0x4b1038
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x54483c]
cmp word [eax + 2], 0
jne 0x4b1052
mov eax, dword [0x54483c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b30ec
mov eax, dword [0x54498c]
cmp word [eax + 2], 0
jne 0x4b106c
mov eax, dword [0x54498c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b32fc
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x454a4c]
call fcn.0045af88
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b38ac
mov dl, 1
mov eax, dword [0x42cf30]
call fcn.0040558c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42cf30]
call fcn.0040558c
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x45914c]
call fcn.00464800
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4b124c
mov eax, dword [0x5446a0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00464c94
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b3b94
mov dl, 1
mov eax, dword [0x42cf30]
call fcn.0040558c
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5446a0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00415bb8
test eax, eax
je 0x4b117d
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041595c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00415b9c
test eax, eax
je 0x4b1195
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407780
push ebx
push 0x4b2abc
call fcn.004a6d04
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x544448]
cmp byte [eax], 0
jne 0x4b11e6
mov eax, ebx
call fcn.004b13c0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004b3dc0
mov eax, ebx
call fcn.004b49f4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b1243
call fcn.00405b5c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b1694
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b1736
cmp dword [ebx + 0x94], 0
jne 0x4b1730
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b15e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b1730
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4b16f6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b1730
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00437d04
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b1705
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4b1954
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x54a288]
cmp dword [eax + 0x170], 0
je 0x4b1ab9
test bl, bl
jne 0x4b1a07
cmp dword [esi + 0x9c], 0
jne 0x4b19fc
mov eax, esi
call fcn.004b4844
push eax
push 0x4b1860
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b19cd
mov eax, dword [0x54a288]
cmp byte [eax + 0xd3], 0
je 0x4b19cd
mov eax, dword [esi + 0xd8]
call fcn.004090a0
mov edi, eax
cmp edi, 0
jl 0x4b19cd
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b19b6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b19fc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00437d04
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b19dc
inc dword [esi + 0x9c]
jmp 0x4b1ab9
cmp dword [esi + 0x9c], 0
jle 0x4b1ab9
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b1ab9
cmp dword [esi + 0x44], 0
je 0x4b1a64
mov eax, dword [0x54a288]
cmp byte [eax + 0xd3], 0
je 0x4b1a64
mov eax, dword [esi + 0xd8]
call fcn.004090a0
mov edi, eax
cmp edi, 0
jl 0x4b1a64
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b1a4d
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b1a93
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00437d04
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b1a73
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a4bdc]
call fcn.00409260
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b2708
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b2773
cmp byte [ebx + 0xd3], 0
jne 0x4b2773
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004076ac
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b2760
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b2780
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407570
jmp 0x4b2780
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407570
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b3fa8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b4016
mov eax, esi
call fcn.0048c804
test al, al
je 0x4b4016
mov eax, dword [ebx + 0x84]
call fcn.0048c484
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b4016
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b400a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0048c484
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004834d8
jmp 0x4b4016
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b3de0
pop esi
pop ebx
ret
Function at 0x4b5724
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40d88c]
call fcn.00408308
xor eax, eax
push ebp
push 0x4b586e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x541f78], 0
jne 0x4b5778
mov ecx, dword [0x544478]
mov dl, 1
mov eax, dword [0x40ecdc]
call fcn.0041a598
call fcn.004060a8
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00404cec
mov eax, ebx
call fcn.0040724c
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4b587c
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040a7e8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4b57bf
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4b5814
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4b580d
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.004077e8
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00407780
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00414164
test eax, eax
jne 0x4b580d
mov ebx, 0x15
jmp 0x4b5819
mov ebx, 0x10
jmp 0x4b5819
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x541f78]
call fcn.004b5590
mov eax, dword [ebp - 4]
call fcn.004b5590
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040a800
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5875
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00407568
lea eax, [ebp - 0xc]
mov edx, dword [0x40d88c]
call fcn.004083e0
ret
Function at 0x4b9cf8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x4b9d10
add esp, 0xfffffff0
call fcn.00405b04
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4b9e2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00404368
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x4b9e14
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004b5590
xor eax, eax
push ebp
push 0x4b9e01
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004b5590
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.004077e8
jmp 0x4b9dd2
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.00407e30
mov eax, dword [ebx + 4]
call fcn.004078f0
dec eax
jle 0x4b9de6
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x4b9dc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9e08
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9e31
lea eax, [ebp - 4]
call fcn.00407060
ret
Function at 0x4e7dec
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
dec ecx
js 0x4e7e3d
lea eax, [ebp - 0x30]
cmp word [eax + 0x20], 3
je 0x4e7e24
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4e7e14
jmp 0x4e7e3d
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 0x4e7e25
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x530cac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
mov ebx, edx
xor edx, edx
push ebp
push 0x530cf0
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x104
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x20a]
call fcn.00415ca0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x530d06
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x532128
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00407558
xor eax, eax
push ebp
push 0x532288
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x53225c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004075fc
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x53218f
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00407570
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x532272
mov eax, dword [ebp - 0x10]
call fcn.00404380
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x53224b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push ebx
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x532298
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueW
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 8]
shr ebx, 0x10
movzx esi, word [eax + 8]
and si, 0xffff
mov edx, dword [eax + 0xc]
shr edx, 0x10
mov word [ebp - 0x1e], dx
movzx edi, word [eax + 0xc]
and di, 0xffff
mov eax, dword [ebp - 8]
push eax
movzx eax, bx
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
movzx eax, si
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
movzx eax, word [ebp - 0x1e]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
movzx eax, di
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x40]
mov ecx, 3
mov eax, 0x5322a8
call fcn.00415e48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532252
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0040439c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53228f
lea eax, [ebp - 4]
call fcn.00407560
ret

Function at 0x532344
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x532381
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x5322c0
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x532397
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret