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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x70afe0]
cmp byte [eax + 0xc], 0
je 0x4598b9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4598b2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x70bc4c], 0
jne 0x4597a0
push 0x4598c0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4598c8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x70bc4c], eax
cmp dword [0x704ca8], 0
jne 0x45989b
push 0x4598d8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x704ca8], eax
cmp dword [0x704ca8], 0
je 0x45989b
push 0x4598e4
mov eax, dword [0x704ca8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x70bc50], eax
push 0x4598f4
mov eax, dword [0x704ca8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x70bc54], eax
push 0x459908
mov eax, dword [0x704ca8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x70bc58], eax
push 0x459920
mov eax, dword [0x704ca8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x70bc5c], eax
push 0x459938
mov eax, dword [0x704ca8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x70bc60], eax
push 0x45994c
mov eax, dword [0x704ca8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x70bc64], eax
push 0x459964
mov eax, dword [0x704ca8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x70bc68], eax
push 0x45997c
mov eax, dword [0x704ca8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x70bc6c], eax
push 0x459998
mov eax, dword [0x704ca8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x70bc70], eax
push 0x4599a4
mov eax, dword [0x704ca8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x70bc74], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4598b9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45dfec
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.00404a34
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45e03b
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.00404c9c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x465f80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x465fd0]
test si, 4
je 0x465f94
or bl, 1
test si, 8
je 0x465f9e
or bl, 4
test si, 1
je 0x465fa8
or bl, 8
test si, 2
je 0x465fb2
or bl, 0x10
test si, 0x10
je 0x465fbc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x465fcb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x465fd4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46600c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x465fed
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x465ffc
or bl, 4
test esi, 0x20000000
je 0x466007
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46c790
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46c7a2
add esp, 0xfffffff0
call fcn.00403ea8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424244
mov eax, dword [0x70a770]
mov dword [eax + 4], ebx
mov dword [eax], 0x46cb34
mov eax, dword [0x70a794]
mov dword [eax + 4], ebx
mov dword [eax], 0x46cb40
mov eax, ebx
call fcn.0046cb4c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418c68]
call fcn.00403b14
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418c68]
call fcn.00403b14
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418c68]
call fcn.00403b14
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418c68]
call fcn.00403b14
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418c68]
call fcn.00403b14
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, 0x468eb4
push eax
push 0
push 0
mov eax, dword [0x70aae4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42635c]
call fcn.00427af4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42635c]
call fcn.00427af4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42635c]
call fcn.00427af4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046cfb4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46ce90
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46ce90
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46ce90
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46c8df
call fcn.00403f00
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46cc74
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 0x46ce1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46ce00
mov dl, 1
mov eax, dword [0x4192cc]
call fcn.00403b14
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a34
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46cdef
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.00459bb0
test al, al
je 0x46cde2
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, 0x46ce30
lea eax, [ebp - 0x254]
call fcn.0040b2a0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46cde2
xor eax, eax
push ebp
push 0x46cddb
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 0x46ce68
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46cdc4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c9c
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 0x46cdc4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cde2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46cce5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041e1c8
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 0x46ce26
lea eax, [ebp - 0x260]
call fcn.00404a34
ret

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

Disassembly:
push ecx
mov eax, dword [0x70bc90]
cmp byte [eax + 0xa5], 0
jne 0x46d88d
cmp dword [0x70bca8], 0
jne 0x46d84e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46d7d8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x70bca8], eax
cmp dword [0x70bca4], 0
jne 0x46d869
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x70bca4], eax
cmp dword [0x70bcac], 0
jne 0x46d88d
push esp
push 0
push 0
push 0x46d77c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x70bcac], eax
pop edx
ret
Function at 0x46d9b4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46d9cb
add esp, 0xfffffff0
call fcn.00403ea8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424244
mov eax, dword [0x70aab0]
cmp word [eax + 2], 0
jne 0x46d9f3
mov eax, dword [0x70aab0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046f090
mov eax, dword [0x70ac6c]
cmp word [eax + 2], 0
jne 0x46da0d
mov eax, dword [0x70ac6c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046f288
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418c68]
call fcn.00403b14
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418c68]
call fcn.00403b14
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x426e7c]
call fcn.0042f6dc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46db94
mov eax, dword [0x70a87c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042faac
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46f808
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x70a87c]
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.0040f314
test eax, eax
je 0x46db02
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040abb0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f33c
test eax, eax
je 0x46db16
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404c9c
mov eax, dword [0x70a500]
cmp byte [eax], 0
jne 0x46db4a
mov eax, ebx
call fcn.0046dcbc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0046f9e4
mov eax, ebx
call fcn.00470324
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46db8a
call fcn.00403f00
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46df30
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x70bc90]
cmp dword [eax + 0x30], 0
je 0x46dfda
cmp dword [ebx + 0x94], 0
jne 0x46dfd4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46dec0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46dfd4
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 0x46df9a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46dfd4
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.0041b6d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46dfa9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46eab8
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 0x46eaed
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.00404b24
jmp 0x46eafa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a88
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46fbc0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46fc01
mov eax, esi
call fcn.004551a0
test al, al
je 0x46fc01
mov eax, dword [ebx + 0x84]
call fcn.00454e9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46fc01
push 0
mov eax, dword [ebx + 0x84]
call fcn.00454e9c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x475df4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00475a14
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404ee4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x475e52
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x70aaf4]
mov dl, 1
mov eax, dword [0x47590c]
call fcn.0040e580
call fcn.004043d4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x475e5c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404ee4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x475eb4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x70afec]
mov dl, 1
mov eax, dword [0x47590c]
call fcn.0040e580
call fcn.004043d4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00475a44
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4807d4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4808ac
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x70bd14], 0
jne 0x480890
lea eax, [ebp - 4]
mov edx, 0x4808c4
call fcn.00404acc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ee4
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x480890
mov eax, ebx
call fcn.00402840
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x480889
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x480873
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4808d4
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x480873
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x70bd14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480890
mov eax, dword [ebp - 0xc]
call fcn.00402860
ret
mov ebx, dword [0x70bd14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4808b3
lea eax, [ebp - 4]
call fcn.00404a34
ret
Function at 0x49da2c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4182ac]
call fcn.00405590
xor eax, eax
push ebp
push 0x49db70
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x7052d8], 0
jne 0x49da7f
mov ecx, dword [0x70a550]
mov dl, 1
mov eax, dword [0x408bbc]
call fcn.0040e544
call fcn.004043d4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004032d8
mov eax, ebx
call fcn.004052e4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x49db80
lea edi, [ebp - 0x30]
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 edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406bd8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004052f4
test eax, eax
jle 0x49db17
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49db10
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404cb4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404c9c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409ac8
test eax, eax
jne 0x49db10
mov ebx, 0x15
jmp 0x49db1c
mov ebx, 0x10
jmp 0x49db1c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x7052d8]
call fcn.0049d928
mov eax, dword [ebp - 8]
call fcn.0049d928
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406bf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49db77
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404a58
lea eax, [ebp - 0x10]
mov edx, dword [0x4182ac]
call fcn.00405660
ret

Function at 0x4b8f54
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4b8f79
cmp dword [esp + 4], 5
jb 0x4b8f79
mov al, 1
jmp 0x4b8f7b
xor eax, eax
add esp, 0x94
ret
Function at 0x4eac28
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4eac30
xor eax, eax
push ebp
push 0x4eade4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.004da2a4
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4eadf8
call fcn.00404d38
mov eax, dword [ebp - 4]
call fcn.0040a6f0
test al, al
je 0x4eac93
push 0
push 0x4eae0c
push dword [ebp - 4]
push 0x4eae20
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404dac
mov eax, dword [ebp - 0xc]
call fcn.00404ee4
push eax
call sub.kernel32.dll_WinExec
lea eax, [ebp - 0x10]
call fcn.004da2a4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x4eae30
call fcn.00404d38
mov eax, dword [ebp - 4]
call fcn.0040a6f0
test al, al
je 0x4eace1
push 0
push 0x4eae0c
push dword [ebp - 4]
push 0x4eae20
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404dac
mov eax, dword [ebp - 0x14]
call fcn.00404ee4
push eax
call sub.kernel32.dll_WinExec
lea eax, [ebp - 0x18]
call fcn.004da2a4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x4eae44
call fcn.00404d38
mov eax, dword [ebp - 4]
call fcn.0040a6f0
test al, al
je 0x4ead2f
push 0
push 0x4eae0c
push dword [ebp - 4]
push 0x4eae20
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404dac
mov eax, dword [ebp - 0x1c]
call fcn.00404ee4
push eax
call sub.kernel32.dll_WinExec
lea eax, [ebp - 0x20]
call fcn.004da2a4
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ecx, 0x4eae58
call fcn.00404d38
mov eax, dword [ebp - 4]
call fcn.0040a6f0
test al, al
je 0x4ead7d
push 0
push 0x4eae0c
push dword [ebp - 4]
push 0x4eae20
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404dac
mov eax, dword [ebp - 0x24]
call fcn.00404ee4
push eax
call sub.kernel32.dll_WinExec
call fcn.004daeb8
cmp eax, 5
jg 0x4eadc9
lea eax, [ebp - 0x28]
call fcn.004da2a4
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 4]
mov ecx, 0x4eae6c
call fcn.00404d38
mov eax, dword [ebp - 4]
call fcn.0040a6f0
test al, al
je 0x4eadc9
mov eax, 0x4eae6c
call fcn.004d9b28
test al, al
jne 0x4eadc9
push 0
mov eax, dword [ebp - 4]
call fcn.00404ee4
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eadeb
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404a58
ret
Function at 0x4eae78
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4eae80
xor eax, eax
push ebp
push 0x4eb06d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.004eab6c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.004db1e8
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4eb080
call fcn.00404d38
mov eax, dword [ebp - 4]
call fcn.0040a6f0
test al, al
je 0x4eaeee
push 0
push 0x4eb0a4
push dword [ebp - 4]
push 0x4eb0b8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404dac
mov eax, dword [ebp - 0x10]
call fcn.00404ee4
push eax
call sub.kernel32.dll_WinExec
lea eax, [ebp - 0x18]
call fcn.004eab6c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004db1e8
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov ecx, 0x4eb0c8
call fcn.00404d38
mov eax, dword [ebp - 4]
call fcn.0040a6f0
test al, al
je 0x4eaf47
push 0
push 0x4eb0a4
push dword [ebp - 4]
push 0x4eb0b8
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404dac
mov eax, dword [ebp - 0x1c]
call fcn.00404ee4
push eax
call sub.kernel32.dll_WinExec
lea eax, [ebp - 0x24]
call fcn.004eab6c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004db1e8
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ecx, 0x4eb0e8
call fcn.00404d38
mov eax, dword [ebp - 4]
call fcn.0040a6f0
test al, al
je 0x4eafa0
push 0
push 0x4eb0a4
push dword [ebp - 4]
push 0x4eb0b8
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404dac
mov eax, dword [ebp - 0x28]
call fcn.00404ee4
push eax
call sub.kernel32.dll_WinExec
lea eax, [ebp - 0x30]
call fcn.004eab6c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.004db1e8
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
mov ecx, 0x4eb108
call fcn.00404d38
mov eax, dword [ebp - 4]
call fcn.0040a6f0
test al, al
je 0x4eaff9
push 0
push 0x4eb0a4
push dword [ebp - 4]
push 0x4eb0b8
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404dac
mov eax, dword [ebp - 0x34]
call fcn.00404ee4
push eax
call sub.kernel32.dll_WinExec
lea eax, [ebp - 0x3c]
call fcn.004eab6c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004db1e8
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 4]
mov ecx, 0x4eb128
call fcn.00404d38
mov eax, dword [ebp - 4]
call fcn.0040a6f0
test al, al
je 0x4eb052
push 0
push 0x4eb0a4
push dword [ebp - 4]
push 0x4eb0b8
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404dac
mov eax, dword [ebp - 0x40]
call fcn.00404ee4
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eb074
lea eax, [ebp - 0x40]
mov edx, 0x10
call fcn.00404a58
ret