joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441740
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x44175c
cmp dword [esi + 4], 0
je 0x441789
test byte [ebx + 0x55], 1
jne 0x44177b
mov eax, ebx
call fcn.004402e0
test eax, eax
jne 0x44177b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x441899
mov edx, esi
mov eax, ebx
call fcn.00441264
jmp 0x441899
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x441892
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004435b0
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043df7c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00441740
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004435b0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441899
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447ed8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4eb678]
cmp byte [eax + 0xc], 0
je 0x448045
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44803e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ecb68], 0
jne 0x447f2c
push 0x44804c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x448054
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ecb68], eax
cmp dword [0x4dfc64], 0
jne 0x448027
push 0x448064
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4dfc64], eax
cmp dword [0x4dfc64], 0
je 0x448027
push 0x448070
mov eax, dword [0x4dfc64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ecb6c], eax
push 0x448080
mov eax, dword [0x4dfc64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ecb70], eax
push 0x448094
mov eax, dword [0x4dfc64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ecb74], eax
push 0x4480ac
mov eax, dword [0x4dfc64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ecb78], eax
push 0x4480c4
mov eax, dword [0x4dfc64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ecb7c], eax
push 0x4480d8
mov eax, dword [0x4dfc64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ecb80], eax
push 0x4480f0
mov eax, dword [0x4dfc64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ecb84], eax
push 0x448108
mov eax, dword [0x4dfc64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ecb88], eax
push 0x448124
mov eax, dword [0x4dfc64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ecb8c], eax
push 0x448130
mov eax, dword [0x4dfc64]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ecb90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448045
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44c4c8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404b44
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44c517
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404db4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x453d0c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453d5c]
test si, 4
je 0x453d20
or bl, 1
test si, 8
je 0x453d2a
or bl, 4
test si, 1
je 0x453d34
or bl, 8
test si, 2
je 0x453d3e
or bl, 0x10
test si, 0x10
je 0x453d48
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453d57
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x453d60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453d98]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453d79
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453d88
or bl, 4
test esi, 0x20000000
je 0x453d93
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45a45c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45a46e
add esp, 0xfffffff0
call fcn.004040f0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ec54
mov eax, dword [0x4eb144]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a800
mov eax, dword [0x4eb154]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a80c
mov eax, ebx
call fcn.0045a818
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416a38]
call fcn.00403d88
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416a38]
call fcn.00403d88
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416a38]
call fcn.00403d88
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416a38]
call fcn.00403d88
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416a38]
call fcn.00403d88
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, 0x456c30
push eax
push 0
push 0
mov eax, dword [0x4eb350]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420e38]
call fcn.004225d0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420e38]
call fcn.004225d0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420e38]
call fcn.004225d0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045ad1c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ab9c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ab9c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ab9c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a5ab
call fcn.00404148
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45a980
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 0x45ab2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ab0c
mov dl, 1
mov eax, dword [0x416e54]
call fcn.00403d88
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b44
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45aafb
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.00448238
test al, al
je 0x45aaee
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, 0x45ab3c
lea eax, [ebp - 0x254]
call fcn.0040a788
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45aaee
xor eax, eax
push ebp
push 0x45aae7
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 0x45ab74
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45aad0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404db4
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 0x45aad0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45aaee
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45a9f1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ad28
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 0x45ab32
lea eax, [ebp - 0x260]
call fcn.00404b44
ret

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

Disassembly:
push ecx
mov eax, dword [0x4ecbb4]
cmp byte [eax + 0xa5], 0
jne 0x45b52d
cmp dword [0x4ecbcc], 0
jne 0x45b4ee
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45b478
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4ecbcc], eax
cmp dword [0x4ecbc8], 0
jne 0x45b509
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4ecbc8], eax
cmp dword [0x4ecbd0], 0
jne 0x45b52d
push esp
push 0
push 0
push 0x45b41c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4ecbd0], eax
pop edx
ret
Function at 0x45bbc0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4ecbb4]
cmp dword [eax + 0x30], 0
je 0x45bc6a
cmp dword [ebx + 0x94], 0
jne 0x45bc64
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45bb50
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45bc64
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 0x45bc2a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45bc64
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.00418edc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45bc39
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45c7c8
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 0x45c7fd
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.00404c34
jmp 0x45c80a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b98
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45d9bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45d9fd
mov eax, esi
call fcn.004438b4
test al, al
je 0x45d9fd
mov eax, dword [ebx + 0x84]
call fcn.004435b0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45d9fd
push 0
mov eax, dword [ebx + 0x84]
call fcn.004435b0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4637f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463a50
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x463853
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00463308
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040dcf0
cmp al, 1
jne 0x463853
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004635d0
test al, al
je 0x4639df
cmp dword [ebp - 8], 0
jge 0x463871
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00463308
mov eax, dword [ebp - 0x210]
call fcn.00404e04
cmp ebx, eax
jge 0x4638bb
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00463308
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4eb654]
and eax, 0xff
bt dword [edx], eax
jae 0x4638bb
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4638cf
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004637cc
cmp ebx, dword [ebp - 8]
je 0x4639d1
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4638fb
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403fc0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4dfec0]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4639be
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403fc0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4dfec0]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004435b0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403fc0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4dfec0]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004435b0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4639c5
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x463a32
cmp dword [ebp - 8], 0
jge 0x4639ea
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00463308
mov eax, dword [ebp - 0x218]
call fcn.00404e04
cmp eax, dword [ebp - 8]
jg 0x463a24
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00463308
mov eax, dword [ebp - 0x21c]
call fcn.00404e04
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004637cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463a57
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404b68
ret
Function at 0x470240
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47026e
mov eax, ebx
call fcn.00470cf4
cmp dword [ebx + 0x40], 0
je 0x470267
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4702df
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4702d1
cmp dword [ebx + 8], 0
je 0x470290
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 0x4702a2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4702d1
cmp dword [ebx + 8], 0
je 0x470283
cmp eax, 3
je 0x4702b5
dec eax
jne 0x470283
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 0x470283
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x470283
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4702fd
cmp dword [ebx + 0x14], 0xcc
je 0x4702fd
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.00470308
pop ebx
ret
Function at 0x482008
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x48213d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov eax, ebx
call fcn.00405004
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
mov eax, esi
call fcn.00404b44
cmp dword [ebp - 0xc], 0
je 0x482127
mov eax, dword [ebp - 0xc]
call fcn.0040a31c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x48211f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x482150
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x48211f
cmp dword [ebp - 4], 0
je 0x4820a8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
mov dword [edx], eax
cmp dword [ebp - 8], 0
je 0x4820b9
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx], eax
push esi
lea edx, [ebp - 0x1c]
mov eax, 0x481fac
call fcn.00406b90
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.00407bc8
movzx eax, ax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
call fcn.00407bc8
movzx eax, ax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0xc]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x3c]
mov ecx, 3
pop eax
call fcn.0040a820
mov eax, dword [ebp - 0x14]
call fcn.0040a378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482144
lea eax, [ebp - 0x1c]
call fcn.00404b44
ret
Function at 0x482414
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x454], ebx
mov ebx, ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x482587
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x450]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040366c
lea eax, [ebp - 0x105]
mov edx, edi
call fcn.0040a198
lea eax, [ebp - 0x20a]
mov edx, esi
call fcn.0040a198
lea edx, [ebp - 0x454]
mov eax, edi
call fcn.00409dac
mov edx, dword [ebp - 0x454]
lea eax, [ebp - 0x30f]
call fcn.0040a198
mov esi, 0x48259c
lea edi, [ebp - 0x414]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x450], 0x3c
mov dword [ebp - 0x44c], 0x40
lea eax, [ebp - 0x414]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x105]
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x20a]
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x30f]
mov dword [ebp - 0x438], eax
mov eax, dword [0x4eb408]
cmp dword [eax], 0
je 0x482509
mov eax, dword [0x4eb408]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x482509
mov eax, dword [0x4eb408]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.004435b0
mov dword [ebp - 0x448], eax
test bl, bl
je 0x482519
mov dword [ebp - 0x434], 5
jmp 0x482521
xor eax, eax
mov dword [ebp - 0x434], eax
lea eax, [ebp - 0x450]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb ebx, ebx
inc ebx
push 0x64
call sub.kernel32.dll_Sleep_1
test bl, bl
je 0x482554
cmp byte [ebp + 8], 0
je 0x482562
push 0xffffffffffffffff
mov eax, dword [ebp - 0x418]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x482562
call sub.kernel32.dll_GetLastError_1
test eax, eax
jbe 0x482562
call fcn.0040e9e4
mov eax, dword [ebp - 0x418]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48258e
lea eax, [ebp - 0x454]
call fcn.00404b44
ret

Function at 0x4826a4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, edx
mov ebx, eax
push 0xa
push 0
mov eax, esi
call fcn.00405004
push eax
mov eax, ebx
call fcn.00405004
push eax
push 0x4826ec
mov eax, dword [0x4eb408]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.004435b0
push eax
call sub.shell32.dll_ShellExecuteA
mov ebx, eax
mov eax, ebx
call fcn.004826f4
mov eax, ebx
pop esi
pop ebx
pop ebp
ret