joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455354
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x493568]
cmp byte [eax + 0xc], 0
je 0x4554c1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4554ba
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x498c90], 0
jne 0x4553a8
push 0x4554c8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4554d0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498c90], eax
cmp dword [0x492830], 0
jne 0x4554a3
push 0x4554e0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x492830], eax
cmp dword [0x492830], 0
je 0x4554a3
push 0x4554ec
mov eax, dword [0x492830]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498c94], eax
push 0x4554fc
mov eax, dword [0x492830]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498c98], eax
push 0x455510
mov eax, dword [0x492830]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498c9c], eax
push 0x455528
mov eax, dword [0x492830]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498ca0], eax
push 0x455540
mov eax, dword [0x492830]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498ca4], eax
push 0x455554
mov eax, dword [0x492830]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498ca8], eax
push 0x45556c
mov eax, dword [0x492830]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498cac], eax
push 0x455584
mov eax, dword [0x492830]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498cb0], eax
push 0x4555a0
mov eax, dword [0x492830]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498cb4], eax
push 0x4555ac
mov eax, dword [0x492830]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498cb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4554c1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45b50c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
test bl, bl
je 0x45b52d
test edi, 0x40000
je 0x45b547
test bl, bl
jne 0x45b5c8
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x45b5c8
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x45b57a
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x45b58f
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x45b59e
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x45b5af
cmp byte [esp + 2], 0
je 0x45b5c8
cmp byte [esp + 2], 0
je 0x45b5c0
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x45b5c8
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x45b86c
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 0x45b892
mov eax, esp
push eax
push 0x45b834
call sub.user32.dll_EnumWindows
jmp 0x45b8a5
mov eax, esp
push eax
push 0x45b814
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 0x45b930
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45b984]
test si, 4
je 0x45b945
or bl, 1
test si, 8
je 0x45b94f
or bl, 4
test si, 1
je 0x45b959
or bl, 8
test si, 2
je 0x45b963
or bl, 0x10
test si, 0x10
je 0x45b96d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b97c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45b988
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45b9c4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b9a2
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b9b1
or bl, 4
test esi, 0x20000000
je 0x45b9bc
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x463a4c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x463a5e
add esp, 0xfffffff0
call fcn.00404434
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424304
mov eax, dword [0x493120]
mov dword [eax + 4], ebx
mov dword [eax], 0x463df0
mov eax, dword [0x49312c]
mov dword [eax + 4], ebx
mov dword [eax], 0x463dfc
mov eax, ebx
call fcn.00463e08
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a6d8]
call fcn.004040e0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a6d8]
call fcn.004040e0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a6d8]
call fcn.004040e0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a6d8]
call fcn.004040e0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a6d8]
call fcn.004040e0
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, 0x45f294
push eax
push 0
push 0
mov eax, dword [0x4932f8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42a300]
call fcn.0042bbf4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42a300]
call fcn.0042bbf4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42a300]
call fcn.0042bbf4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00464280
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x464150
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x464150
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x464150
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x463b9b
call fcn.0040448c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x463f34
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 0x4640df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4640c0
mov dl, 1
mov eax, dword [0x41acd0]
call fcn.004040e0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004050d0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4640af
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.004556b0
test al, al
je 0x4640a2
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, 0x4640f0
lea eax, [ebp - 0x254]
call fcn.0040ae44
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4640a2
xor eax, eax
push ebp
push 0x46409b
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 0x464128
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x464084
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405340
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 0x464084
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4640a2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x463fa5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041f92c
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 0x4640e6
lea eax, [ebp - 0x260]
call fcn.004050d0
ret

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

Disassembly:
push ecx
mov eax, dword [0x498cd4]
cmp byte [eax + 0xad], 0
jne 0x464ac9
cmp dword [0x498cf0], 0
jne 0x464a8a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x464a14
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x498cf0], eax
cmp dword [0x498cec], 0
jne 0x464aa5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x498cec], eax
cmp dword [0x498cf4], 0
jne 0x464ac9
push esp
push 0
push 0
push 0x4649b8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x498cf4], eax
pop edx
ret
Function at 0x464ccc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x464ce3
add esp, 0xfffffff0
call fcn.00404434
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424304
mov eax, dword [0x4932e0]
cmp word [eax + 2], 0
jne 0x464d0b
mov eax, dword [0x4932e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00466a14
mov eax, dword [0x4933ac]
cmp word [eax + 2], 0
jne 0x464d25
mov eax, dword [0x4933ac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00466c20
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41a6d8]
call fcn.004040e0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41a6d8]
call fcn.004040e0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41a6d8]
call fcn.004040e0
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 [0x42aeb0]
call fcn.00432b04
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x464edc
mov eax, dword [0x4931a4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00432ed8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4672e4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4931a4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e8d8
test eax, eax
je 0x464e2c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a7fc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e90c
test eax, eax
je 0x464e40
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405340
mov byte [ebx + 0xd4], 0
push ebx
push 0x4664a0
call fcn.00425480
mov dword [ebx + 0xc8], eax
mov eax, dword [0x49301c]
cmp byte [eax], 0
jne 0x464e91
mov eax, ebx
call fcn.00465020
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004674f8
mov eax, ebx
call fcn.0046805c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x464ed1
call fcn.0040448c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4652a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46533f
cmp dword [ebx + 0x94], 0
jne 0x465339
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x465228
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x465339
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 0x4652ff
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x465339
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.0041cdec
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46530e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x498cd4]
cmp dword [eax + 0x30], 0
je 0x4656b5
test bl, bl
jne 0x465606
cmp dword [esi + 0x9c], 0
jne 0x4655fb
mov eax, esi
call fcn.00467ed8
push eax
push 0x465484
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4655cc
mov eax, dword [0x498cd4]
call fcn.004685b8
test al, al
je 0x4655cc
mov eax, dword [0x498cf8]
call fcn.00406540
mov edi, eax
cmp edi, 0
jl 0x4655cc
push 0
mov eax, dword [0x498cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4655b6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4655fb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041cdec
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4655db
inc dword [esi + 0x9c]
jmp 0x4656b5
cmp dword [esi + 0x9c], 0
jle 0x4656b5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4656b5
cmp dword [esi + 0x44], 0
je 0x465661
mov eax, dword [0x498cd4]
call fcn.004685b8
test al, al
je 0x465661
mov eax, dword [0x498cf8]
call fcn.00406540
mov edi, eax
cmp edi, 0
jl 0x465661
push 5
mov eax, dword [0x498cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46564b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x465690
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041cdec
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x465670
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x498cf8
mov ecx, 1
mov edx, dword [0x465464]
call fcn.004066f4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46619c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x466206
mov eax, ebx
call fcn.004685b8
test al, al
jne 0x466206
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.004051c0
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4661f3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x466213
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405124
jmp 0x466213
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405124
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4676dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46774a
mov eax, esi
call fcn.00450394
test al, al
je 0x46774a
mov eax, dword [ebx + 0x84]
call fcn.00450020
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46774a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46773e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00450020
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00447e64
jmp 0x46774a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00467518
pop esi
pop ebx
ret
Function at 0x46d1c4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x46d25f
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jle 0x46d249
call fcn.00469ea8
cmp eax, dword [esi]
jae 0x46d228
mov edx, dword [esi]
sub edx, eax
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jbe 0x46d228
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xc]
call fcn.00409d10
mov ecx, dword [ebp - 0xc]
mov dl, 0xc
mov eax, edi
call fcn.0046e97c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_Sleep_1
fild dword [ebp - 4]
mov dword [ebp - 0x10], ebx
fild dword [ebp - 0x10]
fdivp st(1)
fmul dword [0x46d270]
call fcn.00403404
mov ebx, eax
call fcn.00469ea8
add ebx, eax
mov dword [esi], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d266
lea eax, [ebp - 0xc]
call fcn.004050d0
ret
Function at 0x4777e8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x408318]
call fcn.00405be8
xor eax, eax
push ebp
push 0x477989
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x492c90], 0
jne 0x477843
mov ecx, dword [0x493034]
mov dl, 1
mov eax, dword [0x408964]
call fcn.0040da88
call fcn.00404a48
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004038f8
mov eax, ebx
call fcn.00405a38
mov dword [ebp - 0x24], eax
mov esi, 0x477998
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406ef8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405a48
test eax, eax
jle 0x47792c
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x477918
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405340
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4778be
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00405358
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4778d4
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00405358
mov eax, dword [ebp - 0x54]
call fcn.00405560
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405340
mov eax, dword [ebp - 0x58]
call fcn.00405560
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x47791a
xor eax, eax
test al, al
je 0x477925
mov ebx, 0x15
jmp 0x477931
mov ebx, 0x10
jmp 0x477931
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x492c90]
call fcn.00477668
mov eax, dword [ebp - 4]
call fcn.00477668
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406f10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477990
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.004050f4
lea eax, [ebp - 0xc]
mov edx, dword [0x408318]
call fcn.00405cb8
ret
Function at 0x489848
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
test dl, dl
je 0x489863
add esp, 0xfffffff0
call fcn.00404434
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00406f6c
xor eax, eax
push ebp
push 0x489965
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
call fcn.00407008
mov eax, dword [ebp - 8]
mov dword [esi + 0x20], eax
lea eax, [ebp - 0xc]
call fcn.004058d8
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00407008
mov edx, dword [ebp - 0xc]
lea eax, [esi + 0x14]
call fcn.00405358
lea eax, [ebp - 0x10]
call fcn.004058d8
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00407008
mov edx, dword [ebp - 0x10]
lea eax, [esi + 0x18]
call fcn.00405358
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
call fcn.00407008
mov eax, dword [ebp - 8]
mov dword [esi + 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
call fcn.00407008
mov eax, dword [ebp - 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00407008
mov eax, dword [ebp - 8]
mov dword [esi + 0x20], eax
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.0048998c
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov eax, esi
call fcn.0040d9cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48996c
lea eax, [ebp - 0x14]
call fcn.004050d0
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004058f0
lea eax, [ebp - 4]
call fcn.00406ef8
ret
Function at 0x48b924
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405550
mov eax, dword [ebp - 8]
call fcn.00405550
xor eax, eax
push ebp
push 0x48ba59
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004050d0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00405560
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x48ba3e
mov eax, dword [ebp - 0x10]
call fcn.00402f10
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x48ba37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x48ba68
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 2]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
lea edx, [ebp - 0x38]
mov ecx, 2
mov eax, 0x48ba8c
call fcn.0040aec4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405560
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x48ba21
mov eax, ebx
mov edx, dword [ebp - 0x1c]
call fcn.004052c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ba3e
mov eax, dword [ebp - 0x18]
call fcn.00402f44
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ba60
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004050f4
ret