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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x4b4e08]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x4b4dca
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x4b4dd4
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x4b4dde
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x4b4de8
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x4b4df2
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b4e02
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x4b4e0c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x4b4e50]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b4e2d
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b4e3d
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x4b4e47
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x4bcdc0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x4bcdd2
add esp, 0xfffffff0
call fcn.0040457c
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004339a0
mov eax, dword [0x74c128]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x4bd330
mov eax, dword [0x74c14c]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x4bd350
mov eax, dword [ebp - 4]
call fcn.004bd370
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x422d30]
call fcn.004041d4
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x422d30]
call fcn.004041d4
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x422d30]
call fcn.004041d4
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x422d30]
call fcn.004041d4
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x422d30]
call fcn.004041d4
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x4b8780
push eax
push 0
push 0
mov eax, dword [0x74c708]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x45dd80]
call fcn.0045f730
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x45dd80]
call fcn.0045f730
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x45dd80]
call fcn.0045f730
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.004bd99c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4bd784
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4bd784
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4bd784
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x4bcf5a
call fcn.004045d4
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4bd53c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bd707
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4bd6e5
mov dl, 1
mov eax, dword [0x423540]
call fcn.004041d4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405154
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4bd6ce
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.004a7060
test al, al
je 0x4bd6c2
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x4bd718
lea eax, [ebp - 0x25c]
call fcn.0040c618
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4bd6c2
xor eax, eax
push ebp
push 0x4bd6bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x4bd750
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4bd6a4
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004053d4
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4bd6a4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004053d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd6c2
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4bd5b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.0042a0b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd70e
lea eax, [ebp - 0x268]
call fcn.00405154
ret
Function at 0x4be2a4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x74dc8c]
cmp byte [eax + 0xa5], 0
jne 0x4be31b
cmp dword [0x74dca4], 0
jne 0x4be2d9
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4be260
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x74dca4], eax
cmp dword [0x74dca0], 0
jne 0x4be2f4
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x74dca0], eax
cmp dword [0x74dca8], 0
jne 0x4be31b
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4be200
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x74dca8], eax
pop ecx
pop ebp
ret

Function at 0x4be3e4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.004be37c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x4be405
xor eax, eax
call fcn.004be3b4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x4be41f
mov al, 1
call fcn.004be3b4
mov esp, ebp
pop ebp
ret

Function at 0x4beae8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x74dc8c]
cmp dword [eax + 0x30], 0
je 0x4bebb2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x4beba9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x4bea68
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x4beba9
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4beb63
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x4beba9
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.0042610c
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4beb78
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x4bf8c8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x4bf90d
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00405244
jmp 0x4bf91e
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.004051a8
mov esp, ebp
pop ebp
ret
Function at 0x4c0e50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x4c0ea3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004a1330
test al, al
je 0x4c0ea3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004a0e60
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4c0ea3
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004a0e60
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x4cc3e4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 0x18], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cc43f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.kernel32.dll_GetComputerNameA
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.0040c118
mov eax, dword [ebp - 0x18]
mov edx, ebx
call fcn.0040a2fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc446
lea eax, [ebp - 0x18]
call fcn.00405154
ret

Function at 0x4ccbcc
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405624
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4ccc13
mov eax, dword [ebp - 8]
call fcn.00405624
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov esp, ebp
pop ebp
ret
Function at 0x51888c
Capabilities:
Log keystrokes via polling

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

Function at 0x522db0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x522e1c
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
lea eax, [ebp - 2]
push eax
push 0x100c
call sub.kernel32.dll_GetThreadLocale_1
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x522dfb
lea eax, [ebp - 8]
mov dl, byte [ebp - 2]
call fcn.0040533c
mov eax, dword [ebp - 8]
call fcn.0040ade8
mov ebx, eax
jmp 0x522dfd
xor ebx, ebx
inc ebx
cmp bx, 6
jbe 0x522e06
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x522e23
lea eax, [ebp - 8]
call fcn.00405154
ret

Function at 0x52aee4
Capabilities:
Log keystrokes via polling

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

Function at 0x52f5c8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov edx, ebx
mov eax, dword [0x74e55c]
call fcn.004261ac
inc eax
je 0x52f679
mov edx, ebx
mov eax, dword [0x74e55c]
call fcn.004263e0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x124]
mov byte [0x746d60], 1
mov dword [0x74e550], ebx
xor eax, eax
push ebp
push 0x52f672
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, ebx
call fcn.004a0e60
call fcn.0052b254
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.004bbc34
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x120]
mov eax, ebx
call fcn.004a1330
test al, al
je 0x52f65d
call sub.user32.dll_GetCapture
mov edx, eax
mov cl, 1
mov eax, ebx
call fcn.0052ace8
test al, al
je 0x52f65d
xor eax, eax
call fcn.0049494c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52f679
mov byte [0x746d60], 0
ret
pop ebx
pop ebp
ret
Function at 0x578ce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], dl
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x578e58
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x578d44
call fcn.00498d24
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
call fcn.004a0e60
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x578d39
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
call fcn.004a0e60
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 8]
add eax, 0x18
call fcn.00412450
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.0050366c
mov eax, dword [ebp - 8]
mov byte [eax + 0x1c], 0
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x20]
test ebx, ebx
je 0x578d6f
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x1c]
call fcn.00494800
jmp 0x578d77
lea eax, [ebp - 0xc]
call fcn.00405154
push ebp
mov eax, dword [ebp - 0xc]
call fcn.00578c98
pop ecx
test al, al
je 0x578e42
mov eax, dword [0x74cacc]
mov eax, dword [eax]
xor ecx, ecx
mov dl, 1
call dword [eax + 0x2c]
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
lea eax, [ebp - 0x14]
call fcn.0052aedc
call fcn.00578b3c
add dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [0x74cea0]
mov eax, dword [eax]
call fcn.004bd08c
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xd8]
mov esi, dword [ebp - 0x10]
mov eax, esi
add eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
add ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, ebx
call fcn.004243a4
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x74c914]
mov eax, dword [eax]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
call fcn.004987f0
mov eax, dword [0x74c914]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
call fcn.0049d8b0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xd0]
mov eax, dword [ebp - 8]
mov byte [eax + 0x1c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x578e5f
lea eax, [ebp - 0xc]
call fcn.00405154
ret
Function at 0x59277c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
mov esi, dword [ebp + 8]
mov esi, dword [esi - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0xc]
mov eax, dword [ebp + 8]
mov dl, byte [eax + 0x34]
mov eax, dword [ebp + 8]
mov al, byte [eax - 1]
call fcn.00592f80
mov ebx, eax
mov dl, 1
mov eax, dword [0x45e71c]
call fcn.004662ac
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5928cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [esi + 8]
sub edx, dword [esi]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x2c]
cdq
idiv ecx
imul ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
sub ebx, eax
sar ebx, 1
jns 0x592835
adc ebx, 0
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004243a4
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
call fcn.004669c0
push eax
mov eax, dword [ebp - 4]
call fcn.004669c0
pop ecx
pop edx
call fcn.00460928
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x34], 3
setne al
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
call fcn.0045f2e0
push eax
push 0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.0053c508
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5928d3
mov eax, dword [ebp - 4]
call fcn.00404204
ret
Function at 0x5b0a7c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5b0aaa
mov eax, ebx
call fcn.005b1530
cmp dword [ebx + 0x40], 0
je 0x5b0aa3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5b0b1b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5b0b0d
cmp dword [ebx + 8], 0
je 0x5b0acc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5b0ade
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5b0b0d
cmp dword [ebx + 8], 0
je 0x5b0abf
cmp eax, 3
je 0x5b0af1
dec eax
jne 0x5b0abf
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5b0abf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5b0abf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5b0b39
cmp dword [ebx + 0x14], 0xcc
je 0x5b0b39
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005b0b44
pop ebx
ret

Function at 0x600d44
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00601078
mov eax, ebx
test eax, eax
je 0x600d58
sub eax, 0xffffffa0
call fcn.004ff408
xor eax, eax
mov dword [ebx + 0x40], eax
lea eax, [ebx + 0x30]
push eax
call sub.user32.dll_SetRectEmpty
mov esi, dword [ebx + 0x58]
test esi, esi
je 0x600d81
push 0
mov eax, esi
call fcn.004a0e60
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x623264
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405614
mov eax, dword [ebp - 8]
call fcn.00405614
xor eax, eax
push ebp
push 0x623321
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x62329e
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x6232a9
mov eax, dword [ebp - 8]
call fcn.00405624
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.004037f0
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], bx
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0x20
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405624
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x623300
push 0x36ee80
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
jne 0x623304
xor ebx, ebx
jmp 0x623306
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x623328
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405178
ret

Function at 0x623330
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x105
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.004053d4
add esp, 0x108
pop ebx
ret
Function at 0x624724
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
test dl, dl
je 0x624741
add esp, 0xfffffff0
call fcn.0040457c
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00405614
xor eax, eax
push ebp
push 0x624863
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.004041d4
cmp dword [ebp - 8], 0
jne 0x624776
lea eax, [ebp - 8]
call fcn.004c2e40
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00405624
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
lea edx, [esi + 1]
lea eax, [ebx + 8]
call fcn.004057b0
mov eax, dword [ebx + 8]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x62483d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x62488c
mov eax, dword [ebx + 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x62483d
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00408d20
movzx eax, ax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x6248b0
call fcn.0040c6cc
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0xc]
call fcn.004051a8
mov byte [ebx + 4], 1
xor edi, edi
mov esi, 0x7484b0
lea ecx, [ebp - 0x2c]
mov edx, dword [esi]
mov eax, ebx
call fcn.006248e4
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + edi*4 + 0x10]
call fcn.004051a8
inc edi
add esi, 4
cmp edi, 0xa
jne 0x624815
mov eax, ebx
call fcn.00624b24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62486a
lea eax, [ebp - 0x2c]
call fcn.00405154
lea eax, [ebp - 0x18]
call fcn.00405154
lea eax, [ebp - 8]
call fcn.00405154
ret