joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e0b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x47e0ec]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47e0cd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47e0dc
or bl, 4
test esi, 0x20000000
je 0x47e0e7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x47e13c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0047e0f0
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x4847d0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4847e2
add esp, 0xfffffff0
call fcn.00404004
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425c2c
mov eax, dword [0x4d66a0]
mov dword [eax + 4], ebx
mov dword [eax], 0x484b74
mov eax, dword [0x4d66ac]
mov dword [eax + 4], ebx
mov dword [eax], 0x484b80
mov eax, ebx
call fcn.00484b8c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a3d8]
call fcn.00403c5c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a3d8]
call fcn.00403c5c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a3d8]
call fcn.00403c5c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a3d8]
call fcn.00403c5c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a3d8]
call fcn.00403c5c
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x480fa4
push eax
push 0
push 0
mov eax, dword [0x4d6884]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4277b0]
call fcn.00428e70
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4277b0]
call fcn.00428e70
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4277b0]
call fcn.00428e70
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004850d8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x484f58
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x484f58
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x484f58
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48491f
call fcn.0040405c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x484d3c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484ee7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x484ec8
mov dl, 1
mov eax, dword [0x41aa3c]
call fcn.00403c5c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b18
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x484eb7
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.004727b8
test al, al
je 0x484eaa
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x484ef8
lea eax, [ebp - 0x254]
call fcn.0040ccac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x484eaa
xor eax, eax
push ebp
push 0x484ea3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x484f30
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x484e8c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d88
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
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 + 0x3c]
jne 0x484e8c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484eaa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x484dad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f4c4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484eee
lea eax, [ebp - 0x260]
call fcn.00404b18
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d9e10]
cmp byte [eax + 0xa5], 0
jne 0x4858e9
cmp dword [0x4d9e28], 0
jne 0x4858aa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x485834
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d9e28], eax
cmp dword [0x4d9e24], 0
jne 0x4858c5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d9e24], eax
cmp dword [0x4d9e2c], 0
jne 0x4858e9
push esp
push 0
push 0
push 0x4857d8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4d9e2c], eax
pop edx
ret
Function at 0x485fac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d9e10]
cmp dword [eax + 0x30], 0
je 0x486056
cmp dword [ebx + 0x94], 0
jne 0x486050
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x485f3c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x486050
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_GetWindowLongA
test al, 8
je 0x486016
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x486050
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.0041ccd4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x486025
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x486bb4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x486be9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404c08
jmp 0x486bf6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b6c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x487dc0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x487e01
mov eax, esi
call fcn.0046dd3c
test al, al
je 0x487e01
mov eax, dword [ebx + 0x84]
call fcn.0046da38
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x487e01
push 0
mov eax, dword [ebx + 0x84]
call fcn.0046da38
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x494dac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x494e1d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4d6064]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x494e07
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00494d9c
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x492bac]
call fcn.00495c6c
mov dword [0x4d60cc], eax
mov eax, dword [ebp - 4]
call fcn.00494c28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494e24
lea eax, [ebp - 8]
call fcn.00406770
ret

Function at 0x494ebc
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffea0
mov esi, 0x4008
test cl, cl
je 0x494ecf
or esi, 2
test dl, dl
je 0x494ed8
or esi, 0
jmp 0x494edb
or esi, 1
push esi
push 0x160
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop esi
ret
Function at 0x495af8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404fc8
xor eax, eax
push ebp
push 0x495c50
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x492994]
call fcn.00418d88
test eax, eax
jl 0x495b5f
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00494ea0
and eax, 0x7f
mov eax, dword [eax*4 + 0x4d6064]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x495bc2
mov eax, dword [ebx]
call fcn.00404dd8
test eax, eax
jle 0x495bc2
mov eax, dword [ebx]
call fcn.00404dd8
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x495b86
mov eax, ebx
mov edx, 0x495c68
call fcn.00404de0
mov eax, dword [ebx]
call fcn.00404dd8
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
call fcn.00405a20
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x18]
call fcn.00494d9c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x495c0d
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x4d65cc]
call fcn.00406c34
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.0040cd44
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404b6c
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x40a9d0]
call fcn.0040f7e4
call fcn.0040446c
mov eax, dword [ebp - 8]
call fcn.00495a70
mov ebx, eax
test edi, edi
je 0x495c22
mov eax, edi
call fcn.00403c8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495c57
lea eax, [ebp - 0x1c]
call fcn.00404b18
lea eax, [ebp - 0x18]
call fcn.00406770
lea eax, [ebp - 0x14]
call fcn.00404b18
lea eax, [ebp - 4]
call fcn.00404b18
ret

Function at 0x496834
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x3c
call fcn.0040355c
mov dword [esp], 0x3c
mov eax, dword [0x4d6958]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 5
push esp
call sub.shell32.dll_ShellExecuteExA
add esp, 0x3c
pop ebx
ret
Function at 0x497350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4974ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d6b54]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x16], ax
mov eax, dword [0x4d6b54]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00485000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.004473b4
xor edx, edx
push ebp
push 0x49749d
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x49740d
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
call fcn.00406770
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x344]
call fcn.004954b8
push eax
mov eax, dword [0x4d6958]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x497403
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404518
jmp 0x4974a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x497449
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00446f80
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004971e0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x497425
push 0
mov edx, 0x497178
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00446b38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4974a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.00447400
mov eax, dword [0x4d6b54]
mov eax, dword [eax]
mov dx, word [ebp - 0x16]
call fcn.00485000
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4974c1
lea eax, [ebp - 0x10]
call fcn.00406770
ret

Function at 0x4acccc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4acd04]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4acce2
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4accf1
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4acd00
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x4bb680
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 0x4bb6e4
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
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.00404d88
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040be8c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb6eb
lea eax, [ebp - 0xc]
call fcn.00404b18
ret
Function at 0x4cbb74
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], ecx
mov ebx, edx
mov edi, eax
lea edx, [esp + 4]
mov eax, ebx
mov ecx, 4
call fcn.0040302c
lea edx, [esp + 8]
mov esi, ebx
mov eax, esi
add eax, 4
mov ecx, 4
call fcn.0040302c
lea edx, [esp + 0xc]
mov eax, esi
add eax, 8
mov ecx, 4
call fcn.0040302c
lea edx, [esp + 0x10]
mov eax, esi
add eax, 0xc
mov ecx, 4
call fcn.0040302c
mov eax, dword [edi + 0x20]
add dword [esp + 8], eax
mov eax, dword [edi + 0x24]
add dword [esp + 0x10], eax
mov esi, 1
mov eax, dword [esp + 8]
add eax, eax
inc eax
imul dword [esp + 8]
mov edx, 5
call fcn.004cb950
mov ebx, eax
mov eax, dword [esp + 0x10]
add eax, eax
inc eax
imul dword [esp + 0x10]
mov edx, 5
call fcn.004cb950
mov ebp, eax
mov eax, dword [esp + 4]
xor eax, ebx
mov edx, ebp
call fcn.004cb950
mov edx, esi
add edx, edx
add eax, dword [edi + edx*4 + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
xor eax, ebp
mov edx, ebx
call fcn.004cb950
mov edx, esi
add edx, edx
add eax, dword [edi + edx*4 + 0x24]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
inc esi
cmp esi, 0x15
jne 0x4cbbe0
mov eax, dword [edi + 0xc8]
add dword [esp + 4], eax
mov eax, dword [edi + 0xcc]
add dword [esp + 0xc], eax
mov edx, dword [esp]
lea eax, [esp + 4]
mov ecx, 4
call fcn.0040302c
mov ebx, dword [esp]
mov edx, ebx
add edx, 4
lea eax, [esp + 8]
mov ecx, 4
call fcn.0040302c
mov edx, ebx
add edx, 8
lea eax, [esp + 0xc]
mov ecx, 4
call fcn.0040302c
mov edx, ebx
add edx, 0xc
lea eax, [esp + 0x10]
mov ecx, 4
call fcn.0040302c
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4cbcd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], ecx
mov ebx, edx
mov edi, eax
lea edx, [esp + 4]
mov eax, ebx
mov ecx, 4
call fcn.0040302c
lea edx, [esp + 8]
mov esi, ebx
mov eax, esi
add eax, 4
mov ecx, 4
call fcn.0040302c
lea edx, [esp + 0xc]
mov eax, esi
add eax, 8
mov ecx, 4
call fcn.0040302c
lea edx, [esp + 0x10]
mov eax, esi
add eax, 0xc
mov ecx, 4
call fcn.0040302c
mov eax, dword [edi + 0xcc]
sub dword [esp + 0xc], eax
mov eax, dword [edi + 0xc8]
sub dword [esp + 4], eax
mov esi, 0x14
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x10]
add eax, eax
inc eax
imul dword [esp + 0x10]
mov edx, 5
call fcn.004cb950
mov ebp, eax
mov eax, dword [esp + 8]
add eax, eax
inc eax
imul dword [esp + 8]
mov edx, 5
call fcn.004cb950
mov ebx, eax
mov eax, esi
add eax, eax
push dword [edi + eax*4 + 0x24]
mov eax, dword [esp + 0x10]
pop edx
sub eax, edx
mov edx, ebx
call fcn.004cb964
xor eax, ebp
mov dword [esp + 0xc], eax
mov eax, esi
add eax, eax
push dword [edi + eax*4 + 0x20]
mov eax, dword [esp + 8]
pop edx
sub eax, edx
mov edx, ebp
call fcn.004cb964
xor ebx, eax
mov dword [esp + 4], ebx
dec esi
test esi, esi
jne 0x4cbd46
mov eax, dword [edi + 0x24]
sub dword [esp + 0x10], eax
mov eax, dword [edi + 0x20]
sub dword [esp + 8], eax
mov edx, dword [esp]
lea eax, [esp + 4]
mov ecx, 4
call fcn.0040302c
mov ebx, dword [esp]
mov edx, ebx
add edx, 4
lea eax, [esp + 8]
mov ecx, 4
call fcn.0040302c
mov edx, ebx
add edx, 8
lea eax, [esp + 0xc]
mov ecx, 4
call fcn.0040302c
mov edx, ebx
add edx, 0xc
lea eax, [esp + 0x10]
mov ecx, 4
call fcn.0040302c
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4cbe9c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fc8
xor eax, eax
push ebp
push 0x4cbfcd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404b18
cmp dword [ebp - 4], 0
je 0x4cbfb7
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00404fd8
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4cbfb7
mov eax, dword [ebp - 8]
call fcn.00402da4
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4cbfb0
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4cbfdc
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 8]
shr esi, 0x10
mov dx, word [eax + 8]
and dx, 0xffff
mov word [ebp - 0x1a], dx
mov edx, dword [eax + 0xc]
shr edx, 0x10
mov word [ebp - 0x1c], dx
mov di, word [eax + 0xc]
and di, 0xffff
push ebx
movzx eax, si
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
movzx eax, word [ebp - 0x1a]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
movzx eax, word [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
movzx eax, di
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x3c]
mov ecx, 3
mov eax, 0x4cbfe8
call fcn.0040cd44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbfb7
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00402dd4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbfd4
lea eax, [ebp - 4]
call fcn.00404b18
ret
Function at 0x4cbff4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cc184
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00404b18
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
call fcn.00404bb0
mov dword [ebp - 0x24], 0xff
mov eax, dword [ebp - 4]
call fcn.00404dd8
test eax, eax
jle 0x4cc169
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
call fcn.00404fd8
mov ebx, eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jbe 0x4cc147
mov eax, dword [ebp - 0x1c]
call fcn.00402da4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4cc140
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
push ebx
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4cc127
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4cc190
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4cc0fe
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.00407cf8
movzx eax, ax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea edx, [ebp - 0x44]
mov ecx, 2
mov eax, 0x4cc1b4
call fcn.0040cd44
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.00404bb0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x28]
call fcn.00404fd8
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4cc127
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.0040c82c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc147
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.00402dd4
ret
mov eax, dword [ebp - 8]
mov edx, 0x4cc1dc
call fcn.00404f24
jne 0x4cc169
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x4cc169
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004cbe9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc18b
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00404b3c
ret