joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bd188
Capabilities:
Log keystrokes
Parse credit card information

Disassembly:
push 4
mov eax, 0x744ade
call fcn.004fb81c
and dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov eax, dword [0x823004]
mov dword [esi], eax
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
and dword [ebp - 4], 0
inc ebx
movzx edx, cx
mov dword [ebp - 0x10], ebx
push 2
pop edi
cmp edx, 0x25
ja 0x4bd231
je 0x4bd227
mov eax, edx
sub eax, 0xd
je 0x4bd21d
sub eax, 0xe
je 0x4bd213
sub eax, 5
je 0x4bd209
sub eax, ebx
je 0x4bd1ff
sub eax, ebx
je 0x4bd1f5
sub eax, ebx
je 0x4bd1eb
sub eax, ebx
jne 0x4bd268
push str.Home
jmp 0x4bd39f
push 0x75834c
jmp 0x4bd39f
push str.PageDown
jmp 0x4bd39f
push str.PageUp
jmp 0x4bd39f
push str.Space
jmp 0x4bd39f
push 0x758300
jmp 0x4bd39f
push 0x758308
jmp 0x4bd39f
push str.Left
jmp 0x4bd39f
mov eax, edx
sub eax, 0x26
je 0x4bd39a
sub eax, 1
je 0x4bd393
sub eax, 1
je 0x4bd38c
sub eax, edi
je 0x4bd385
sub eax, 3
je 0x4bd37e
sub eax, 1
je 0x4bd377
cmp cx, 0x30
jb 0x4bd274
cmp cx, 0x39
jbe 0x4bd27d
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x4bd294
movzx eax, cx
mov ecx, esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.00406610
jmp 0x4bd3a6
lea eax, [ecx - 0x60]
cmp ax, 9
ja 0x4bd2b8
lea eax, [edx - 0x60]
push eax
push str.Num__d
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.00405ae0
add esp, 0x10
mov dword [ebp - 4], ebx
jmp 0x4bd30a
cmp cx, 0x6a
jne 0x4bd2c8
push 0x7583c0
jmp 0x4bd39f
cmp cx, 0x6b
jne 0x4bd2d8
push str.Num_
jmp 0x4bd39f
cmp cx, 0x6e
jne 0x4bd2e8
push str.Num_Del
jmp 0x4bd39f
lea eax, [ecx - 0x70]
cmp ax, 0xb
ja 0x4bd326
lea eax, [edx - 0x6f]
push eax
push 0x7583e8
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.00405ae0
add esp, 0x10
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x4bd3a6
call fcn.00401c90
jmp 0x4bd3a6
push edi
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, al
movsx eax, cl
cmp eax, 0x3d
jg 0x4bd350
je 0x4bd35f
cmp eax, 0x27
je 0x4bd35f
cmp eax, 0x2b
jle 0x4bd3a6
cmp eax, 0x2f
jle 0x4bd35f
cmp eax, 0x3b
je 0x4bd35f
jmp 0x4bd3a6
cmp eax, 0x5b
jl 0x4bd3a6
cmp eax, 0x5d
jle 0x4bd35f
cmp eax, 0x60
jne 0x4bd3a6
movsx ax, cl
mov ecx, esi
movzx eax, ax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.00460a03
jmp 0x4bd3a6
push 0x758394
jmp 0x4bd39f
push str.Insert
jmp 0x4bd39f
push str.Print
jmp 0x4bd39f
push str.Down
jmp 0x4bd39f
push str.Right
jmp 0x4bd39f
push 0x758314
mov ecx, esi
call fcn.00405b60
mov eax, esi
call fcn.004fb7e5
ret
Function at 0x4c49cc
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00475017
mov esi, eax
test esi, esi
je 0x4c49f8
mov edx, dword [esi]
mov ecx, esi
push str.menuItem
call dword [edx + 4]
test eax, eax
je 0x4c49f8
mov eax, esi
jmp 0x4c4afa
mov ecx, dword [0x830380]
test ecx, ecx
je 0x4c4a0b
call fcn.0046c989
mov esi, eax
jmp 0x4c4a0d
xor esi, esi
push ebx
push edi
push 0x2800
call fcn.005961ff
mov edi, eax
mov dword [esp], 0x5000
call fcn.005961ff
push dword [ebp + 0xc]
mov ebx, eax
push dword [ebp + 8]
push str.menuItem
push str.FindChildByID2_Failed__no_window_of_class___s__with_id_of___d__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00401900
add esp, 0x20
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x4c4a72
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.005961fa
pop ecx
test esi, esi
je 0x4c4ab1
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x4c4ab1
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SWindow::FindChildByID2
push 0x1e9
push str.d:code_soui_lib_souiincludecoreSWnd.h
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x4c4aef
mov ebx, 0x2800
push ebx
call fcn.005961ff
mov dword [esp], 0x1e9
mov esi, eax
push str.d:code_soui_lib_souiincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByID2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push ebx
push esi
call fcn.00401a10
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.005961fa
pop ecx
push edi
call fcn.005961fa
pop ecx
pop edi
xor eax, eax
pop ebx
pop esi
pop ebp
ret 8

Function at 0x4c5e8c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4c5ef4
mov ecx, esi
call fcn.004c5ef9
push 0
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x3ac]
test ecx, ecx
je 0x4c5ecf
push 0
call fcn.004781a2
and dword [esi + 0x3ac], 0
mov ecx, dword [0x8304d0]
lea ecx, [ecx + 8]
call fcn.004c6f8f
mov ecx, dword [esi + 0x3a4]
test ecx, ecx
je 0x4c5ef4
pop esi
mov ecx, dword [ecx + 0x174]
pop ebp
jmp fcn.004c6d19
pop esi
pop ebp
ret 4
Function at 0x4c8250
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push eax
push str.SYSTEMCurrentControlSetServices_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.004c9220
add esp, 0x10
lea eax, [ebp - 0x10c]
push eax
push 3
push 0
lea eax, [ebp - 0x108]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4c82b6
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 8], 0
je 0x4c82ea
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 4
push eax
push esi
lea eax, [ebp - 0x114]
push eax
push 0
push 0x759aa0
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x4c8302
push 4
push esi
push 4
push 0
push 0x759aa0
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x10c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
test esi, esi
pop esi
sete al
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret

Function at 0x4c8330
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 3
push 0
push str.SYSTEMCurrentControlSetControlGroupOrderList
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4c8358
xor al, al
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 8], 0
push esi
push edi
je 0x4c83e7
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 8]
push edi
push 0
push eax
push 0
push str.PNP_TDI
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c8399
mov eax, dword [edi]
add eax, 4
push eax
call fcn.005961ff
mov esi, dword [ebp + 0xc]
add esp, 4
mov dword [esi], eax
test eax, eax
jne 0x4c83aa
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push edi
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.PNP_TDI
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
je 0x4c8418
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esi]
call fcn.005961fa
add esp, 4
mov dword [esi], 0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
mov edx, dword [esi]
cmp edx, 4
jbe 0x4c83f7
shr edx, 2
dec edx
jmp 0x4c83f9
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [eax], edx
push dword [esi]
push dword [ecx]
push 3
push 0
push str.PNP_TDI
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c8430
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push eax
push 3
push 0
push str.SYSTEMCurrentControlSetServicesTcpip6Parameters
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4c8458
xor al, al
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.DisabledComponents
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c8489
cmp dword [ebp - 0xc], eax
je 0x4c8489
mov ecx, dword [ebp - 4]
jmp 0x4c848b
xor ecx, ecx
mov eax, ecx
and ecx, 0xfffffff7
push esi
or eax, 8
cmp byte [ebp + 8], 0
push 4
cmovne ecx, eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.DisabledComponents
push dword [ebp - 8]
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop esi
sete al
mov esp, ebp
pop ebp
ret

Function at 0x4c84d0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ebp + 8], 0
je 0x4c84e7
test byte [0x8304e4], 1
jne 0x4c84e7
mov al, 1
jmp 0x4c84e9
xor al, al
push eax
call fcn.004c8430
add esp, 4
lea eax, [ebp + 8]
push eax
push 2
push 0
push str.SYSTEMCurrentControlSetServicesTcpipParameters
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c8532
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push str.DisableTaskOffload
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4c89a0
Capabilities:
Create service
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor bl, bl
push edi
push 0x7599dc
mov dword [ebp - 0x434], eax
xor esi, esi
lea eax, [ebp - 0x414]
mov dword [ebp - 0x43c], 0
push 0x104
push eax
call fcn.004c9260
mov eax, dword [ebp - 0x434]
add esp, 0x10
push edi
test eax, eax
je 0x4c8a11
push eax
push str._S_S.sys
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004c9260
add esp, 0x14
jmp 0x4c8a2a
push str.system32drivers_S.sys
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004c9260
add esp, 0x10
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x434], eax
test eax, eax
jne 0x4c8a57
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
lea ecx, [ebp - 0x43c]
push ecx
push 0x759a28
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 1
push 1
push 0xf01ff
lea ecx, [ebp - 0x414]
push ecx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
test byte [0x8304e4], 8
mov dword [ebp - 0x438], eax
je 0x4c8ac6
test eax, eax
je 0x4c8aab
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov bl, 1
jmp 0x4c8b7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x431
jne 0x4c8b7f
mov bl, 1
jmp 0x4c8b7f
test eax, eax
je 0x4c8afc
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x438]
mov esi, eax
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call eax
jmp 0x4c8b7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x431
jne 0x4c8b7f
push 0x14
push edi
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
mov dword [ebp - 0x438], esi
test esi, esi
je 0x4c8b76
lea eax, [ebp - 0x430]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4c8b46
cmp dword [ebp - 0x42c], 4
jne 0x4c8b46
mov bl, 1
jmp 0x4c8b5e
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
movzx ebx, bl
mov edx, 1
cmovne ebx, edx
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
push dword [ebp - 0x438]
mov esi, eax
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call eax
jmp 0x4c8b7f
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov esi, eax
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0
push edi
call fcn.004c8e60
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
test bl, bl
pop edi
setne al
xor ecx, ebp
pop esi
dec eax
pop ebx
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x4c8bc0
Capabilities:
Delete service
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
push edi
push 1
push esi
mov byte [ebp - 1], bl
call fcn.004c8e60
add esp, 8
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x4c8c39
push 0x10000
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
je 0x4c8c25
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4c8c41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, byte [ebp - 1]
mov esi, eax
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4c8c41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
call fcn.004c8430
add esp, 4
lea eax, [ebp - 8]
push eax
push 2
push 0
push str.SYSTEMCurrentControlSetServicesTcpipParameters
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c8c92
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.DisableTaskOffload
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test bl, bl
pop edi
setne al
pop esi
dec eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c8d30
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x82384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.NDIS]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
movzx eax, byte [0x759a3c]
mov byte [ebp - 8], al
mov eax, dword [str.tcpip]
mov dword [ebp - 0x14], eax
mov ax, word [0x759a44]
mov word [ebp - 0x10], ax
movzx eax, byte [0x759a46]
mov byte [ebp - 0xe], al
mov eax, dword [str.PNP_TDI]
push ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [0x759a4c]
push str.SYSTEMCurrentControlSetServices_s
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x120]
push 0x104
push eax
call fcn.004c9220
add esp, 0x10
lea eax, [ebp - 0x124]
push eax
push 3
push 0
lea eax, [ebp - 0x120]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4c8dcf
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0xc], 0
push esi
je 0x4c8e0c
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0xc]
push 5
push eax
push 1
push 0
push str.Group
push dword [ebp - 0x124]
call esi
push 7
lea eax, [ebp - 0x14]
push eax
push 7
push 0
push str.DependOnService
push dword [ebp - 0x124]
call esi
jmp 0x4c8e27
push 8
lea eax, [ebp - 0x1c]
push eax
push 1
push 0
push str.Group
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x124]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
test esi, esi
pop esi
sete al
xor ecx, ebp
call fcn.004fb522
mov esp, ebp
pop ebp
ret
Function at 0x4cb470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x745a4c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x82384c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov dword [edi], vtable.nfapi::EventQueue_class_nfapi::NFEvent_.0
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004cc190
mov dword [esi], eax
lea esi, [edi + 0xc]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004cc130
mov dword [esi], eax
lea esi, [edi + 0x14]
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004cc130
mov dword [esi], eax
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004cc160
mov dword [esi], eax
lea esi, [edi + 0x24]
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004cc160
push 0
push 0
push 0
mov dword [esi], eax
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
mov dword [edi + 0x2c], 0xffffffff
call esi
push 0
push 0
mov dword [edi + 0x2c], eax
push 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0
mov dword [edi + 0x44], 0xffffffff
call esi
push 0
push 0
push 1
mov dword [edi + 0x44], eax
push 0
mov dword [edi + 0x48], 0xffffffff
call esi
lea ecx, [edi + 0x50]
mov dword [edi + 0x48], eax
xorps xmm0, xmm0
mov dword [edi + 0x34], 0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
call fcn.004cc040
mov dword [edi + 0x4c], 1
mov eax, edi
mov byte [edi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4cb5e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x745a9c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x82384c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov dword [edi], vtable.nfapi::EventQueue_class_nfapi::NFEventOut_.0
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004cc1d0
mov dword [esi], eax
lea esi, [edi + 0xc]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004cc130
mov dword [esi], eax
lea esi, [edi + 0x14]
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004cc130
mov dword [esi], eax
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004cc160
mov dword [esi], eax
lea esi, [edi + 0x24]
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004cc160
push 0
push 0
push 0
mov dword [esi], eax
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
mov dword [edi + 0x2c], 0xffffffff
call esi
push 0
push 0
mov dword [edi + 0x2c], eax
push 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0
mov dword [edi + 0x44], 0xffffffff
call esi
push 0
push 0
push 1
mov dword [edi + 0x44], eax
push 0
mov dword [edi + 0x48], 0xffffffff
call esi
lea ecx, [edi + 0x50]
mov dword [edi + 0x48], eax
xorps xmm0, xmm0
mov dword [edi + 0x34], 0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
call fcn.004cc040
mov dword [edi + 0x4c], 1
mov eax, edi
mov byte [edi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4cdeb0
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
test ebx, ebx
jg 0x4cdef1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x18]
mov eax, 1
test ebx, ebx
cmove ebx, eax
test ebx, ebx
jle 0x4cdf7c
push edi
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x4cc760
push 0
push 0
call fcn.005adc9b
mov edi, eax
add esp, 0x18
mov dword [ebp + 0xc], edi
test edi, edi
je 0x4cdf72
cmp edi, 0xffffffff
je 0x4cdf72
mov eax, dword [esi + 8]
lea ecx, [ebp + 0xc]
cmp ecx, eax
jae 0x4cdf53
mov ecx, dword [esi + 4]
lea edx, [ebp + 0xc]
cmp ecx, edx
ja 0x4cdf53
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 0xc]
jne 0x4cdf42
push 1
lea ecx, [esi + 4]
call fcn.004cc530
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4cdf6b
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x4cdf6b
cmp eax, dword [esi + 0xc]
jne 0x4cdf62
push 1
lea ecx, [esi + 4]
call fcn.004cc530
mov eax, dword [esi + 8]
test eax, eax
je 0x4cdf6b
mov dword [eax], edi
add dword [esi + 8], 4
mov esi, dword [ebp - 4]
sub ebx, 1
jne 0x4cdef2
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4cf830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x8234cc]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [0x8234c8]
mov dword [ebp - 4], 0
test byte [esi + 0x12], 1
mov dword [ebp - 0x10], eax
je 0x4cf85e
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 8], ecx
lea ebx, [edi + 0x16]
lea eax, [ebx + 0x10]
mov dword [ebp - 0xc], eax
cmp ecx, dword [0x83078c]
jb 0x4cf88f
ja 0x4cf883
cmp eax, dword [0x830788]
jbe 0x4cf88f
pop edi
pop ebx
mov eax, 0xfffffffc
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [0x830724], cl
je 0x4cf9dd
cmp dword [0x8234d4], 0xffffffff
je 0x4cf9dd
mov eax, dword [0x830780]
or eax, dword [0x830784]
je 0x4cf9dd
push 0x830608
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x830780]
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], ebx
movups xmm0, xmmword [esi]
movups xmmword [ecx + 0x10], xmm0
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x20], eax
mov ax, word [esi + 0x14]
mov word [ecx + 0x24], ax
lea eax, [ecx + 0x26]
push eax
call fcn.005789a0
mov eax, dword [0x8234cc]
add esp, 0xc
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
push eax
push 0
push 8
lea eax, [ebp - 0xc]
push eax
push dword [0x8234d4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4cf95d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4cf95d
push 0x830608
mov esi, 0xfffffffc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x14]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x4cf982
push eax
push dword [0x8234c8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4cf9a5
push dword [0x8234d4]
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0x830608
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [0x8234d4]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x4cf98e
mov esi, dword [ebp - 4]
neg esi
push 0x830608
sbb esi, esi
neg esi
dec esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
mov eax, 0xfffffffd
pop esi
mov esp, ebp
pop ebp
ret