joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4268c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c902
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x473094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x10], 0
mov dword [edi], 0x45eefc
mov dword [edi + 4], 0x45ef10
mov dword [edi + 8], 0x45ef24
mov dword [edi + 0xc], 0x45ef34
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 2
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
call fcn.004106d0
lea ecx, [edi + 0x50]
mov byte [ebp - 4], 3
call fcn.004106d0
lea esi, [edi + 0x60]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00413be0
lea ecx, [esi + 0x28]
call fcn.004106d0
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 5
call fcn.00424f00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x426a00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c920
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x473094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.0043da85
push dword [esi + 0xc0]
call fcn.0043da85
push dword [esi + 0x9c]
call fcn.0043da85
push dword [esi + 0x90]
call fcn.0043da85
push dword [esi + 0x30]
call fcn.0043da85
push dword [esi + 0x24]
call fcn.0043da85
push dword [esi + 0x18]
call fcn.0043da85
add esp, 0x1c
mov ecx, dword [esi + 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x426a80
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x426a94
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x426aa8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x426abb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c9a7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x473094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0xe0
call fcn.0043da3e
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x426d01
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov dword [esi], ecx
test ecx, ecx
je 0x426bca
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 4]
mov byte [ebp - 4], 1
mov dword [esi + 4], ecx
test ecx, ecx
je 0x426bde
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 2
mov dword [esi + 8], ecx
test ecx, ecx
je 0x426bf2
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 3
mov dword [esi + 0xc], ecx
test ecx, ecx
je 0x426c06
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
movzx eax, byte [edi + 0x10]
lea ecx, [esi + 0x18]
mov byte [esi + 0x10], al
movzx eax, byte [edi + 0x11]
mov byte [esi + 0x11], al
movzx eax, byte [edi + 0x12]
mov byte [esi + 0x12], al
movzx eax, byte [edi + 0x13]
mov byte [esi + 0x13], al
movzx eax, byte [edi + 0x14]
mov byte [esi + 0x14], al
movzx eax, byte [edi + 0x15]
mov byte [esi + 0x15], al
movzx eax, byte [edi + 0x16]
mov byte [esi + 0x16], al
movzx eax, byte [edi + 0x17]
mov byte [esi + 0x17], al
lea eax, [edi + 0x18]
push eax
mov byte [ebp - 4], 4
call fcn.00410530
lea eax, [edi + 0x24]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x24]
call fcn.00410530
lea eax, [edi + 0x30]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x30]
call fcn.00410530
mov eax, dword [edi + 0x3c]
lea ecx, [esi + 0x78]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
movq xmm0, qword [edi + 0x44]
movq qword [esi + 0x44], xmm0
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
movzx eax, byte [edi + 0x60]
mov byte [esi + 0x60], al
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x70]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x74]
mov dword [esi + 0x74], eax
lea eax, [edi + 0x78]
push eax
mov byte [ebp - 4], 7
call fcn.00426820
lea eax, [edi + 0xa8]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0xa8]
call fcn.00426820
mov eax, dword [edi + 0xd8]
mov dword [esi + 0xd8], eax
mov eax, dword [edi + 0xdc]
mov dword [esi + 0xdc], eax
jmp 0x426d03
xor esi, esi
mov eax, dword [ebx + 4]
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov ecx, dword [ebx]
mov dword [ecx + eax*4], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43c640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x473094]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov dword [ebp - 0x84], 0x420041
xor edx, edx
mov dword [ebp - 0x80], 0x440043
mov dword [ebp - 0x7c], 0x460045
mov dword [ebp - 0x78], 0x480047
mov dword [ebp - 0x74], 0x4a0049
mov dword [ebp - 0x70], 0x4c004b
mov dword [ebp - 0x6c], 0x4e004d
mov dword [ebp - 0x68], 0x50004f
mov dword [ebp - 0x64], 0x520051
mov dword [ebp - 0x60], 0x540053
mov dword [ebp - 0x5c], 0x560055
mov dword [ebp - 0x58], 0x580057
mov dword [ebp - 0x54], 0x5a0059
mov dword [ebp - 0x50], 0x620061
mov dword [ebp - 0x4c], 0x640063
mov dword [ebp - 0x48], 0x660065
mov dword [ebp - 0x44], 0x680067
mov dword [ebp - 0x40], 0x6a0069
mov dword [ebp - 0x3c], 0x6c006b
mov dword [ebp - 0x38], 0x6e006d
mov dword [ebp - 0x34], 0x70006f
mov dword [ebp - 0x30], 0x720071
mov dword [ebp - 0x2c], 0x740073
mov dword [ebp - 0x28], 0x760075
mov dword [ebp - 0x24], 0x780077
mov dword [ebp - 0x20], 0x7a0079
mov dword [ebp - 0x1c], 0x310030
mov dword [ebp - 0x18], 0x330032
mov dword [ebp - 0x14], 0x350034
mov dword [ebp - 0x10], 0x370036
mov dword [ebp - 0xc], 0x390038
mov dword [ebp - 8], 0x2f002b
test esi, esi
jle 0x43c77f
nop word [eax + eax]
movzx ecx, word [edi + edx*2]
xor eax, eax
cmp word [ebp + eax*2 - 0x84], cx
je 0x43c77a
inc eax
cmp eax, 0x40
jb 0x43c756
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d855
mov esp, ebp
pop ebp
ret 4
inc edx
cmp edx, esi
jl 0x43c750
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0043d855
mov esp, ebp
pop ebp
ret 4
Function at 0x43cb20
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x473094]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00440460
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43cc07
push ebx
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43cbbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43cbbf
mov ecx, dword [edi]
jmp 0x43cbd1
mov eax, dword [ebp - 0x210]
xor ecx, ecx
add ecx, ebx
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
push ecx
mov dword [ebp - 0x218], 0
call fcn.0043da7c
mov ecx, dword [ebp - 0x214]
add esp, 4
push 0
mov dword [ecx], eax
lea ecx, [ebp - 0x218]
push ecx
push dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043d855
mov esp, ebp
pop ebp
ret 8
Function at 0x44e905
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044e784
Function at 0x4022e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebp
push esi
push edi
push 0x41a1a4
push eax
call fcn.0040832b
push 0x14
mov ebp, eax
call fcn.00407e32
xor edi, edi
add esp, 0xc
cmp eax, edi
je 0x402328
mov dword [eax + 4], vtable.CPtrBase.0
mov dword [eax + 8], edi
mov esi, eax
mov dword [eax], vtable.CDataObject.0
mov dword [eax + 4], vtable.CDataObject.1.0
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [esp + 0xc], esi
jmp 0x40232e
mov dword [esp + 0xc], edi
mov esi, edi
cmp ebp, edi
je 0x4023b9
push ebx
push 2
push edi
push ebp
call fcn.0040889f
push ebp
call fcn.004087a7
push edi
push edi
push ebp
mov ebx, eax
call fcn.0040889f
lea ecx, [ebx + 4]
push ecx
call fcn.00402e2c
add esp, 0x20
cmp ebx, edi
mov dword [esp + 0x14], eax
jle 0x402395
mov esi, ebx
sub esi, edi
cmp esi, 0x8000
jle 0x402375
mov esi, 0x8000
mov edx, dword [esp + 0x14]
push ebp
push esi
lea eax, [edi + edx]
push 1
push eax
call fcn.004085ed
add edi, esi
add esp, 0x10
cmp edi, ebx
jl 0x402364
mov esi, dword [esp + 0x10]
xor edi, edi
push ebp
call fcn.0040899b
mov ecx, dword [esi]
mov edx, dword [ecx + 0x18]
add esp, 4
push esi
call edx
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4023b8
cmp ebx, edi
je 0x4023b8
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
pop ebx
mov eax, dword [esp + 0x18]
mov dword [eax], esi
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
xor eax, eax
cmp ebp, edi
pop edi
pop esi
setne al
pop ebp
add esp, 8
ret

Function at 0x402870
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebp
push 0x41a1a8
push eax
call fcn.0040832b
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x40288d
pop ebp
ret 8
push ebx
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x10]
push esi
xor esi, esi
test eax, eax
jbe 0x4028cc
push edi
lea ecx, [ecx]
sub eax, esi
mov edi, 0x8000
cmp eax, 0x8000
ja 0x4028b0
mov edi, eax
mov ecx, dword [ebx + 0xc]
push ebp
push edi
add ecx, esi
push 1
push ecx
call fcn.00408cd6
mov eax, dword [ebx + 0x10]
add esi, edi
add esp, 0x10
cmp esi, eax
jb 0x4028a0
pop edi
push ebp
call fcn.0040899b
mov eax, dword [ebx + 0x10]
add esp, 4
pop esi
pop ebx
pop ebp
ret 8

Function at 0x402c50
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push 0x400
mov dword [esp + 0xc], 0
call fcn.00402e2c
add esp, 4
mov esi, eax
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov byte [eax + esi], 0
test eax, eax
je 0x402ca2
cmp byte [eax + esi - 1], 0x5c
je 0x402ca2
push edi
mov edi, esi
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402c90
mov ax, word [0x41a1ac]
mov word [edi], ax
pop edi
mov eax, esi
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], 0
mov byte [ebp + 4], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402cc0
sub eax, edx
push eax
push esi
mov ecx, ebp
call fcn.004021c0
push esi
call fcn.00408342
add esp, 4
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
Function at 0x402d60
Capabilities:
Get system information on windows

Disassembly:
lea eax, [esp - 0x24]
sub esp, 0x24
test eax, eax
je 0x402d98
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402d8e
lea ecx, [esp]
push ecx
call eax
jmp 0x402d98
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [esp]
cmp ax, 9
je 0x402db3
cmp ax, 6
je 0x402db3
cmp ax, 7
mov eax, 0x20
jne 0x402db8
mov eax, 0x40
add esp, 0x24
ret
Function at 0x407d80
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41c380]
jne 0x407d8a
repz ret
jmp fcn.004095a6

Function at 0x412da9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040ca27
and dword [ebp - 4], 0
cmp dword [0x41deb8], 0
mov ebx, eax
jne 0x412e5a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x412f0b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x412f0b
push eax
call fcn.0040c9b5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41deb8], eax
call esi
push eax
call fcn.0040c9b5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41debc], eax
call esi
push eax
call fcn.0040c9b5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41dec0], eax
call esi
push eax
call fcn.0040c9b5
pop ecx
mov dword [0x41dec8], eax
test eax, eax
je 0x412e5a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040c9b5
pop ecx
mov dword [0x41dec4], eax
mov eax, dword [0x41dec4]
cmp eax, ebx
je 0x412eb2
cmp dword [0x41dec8], ebx
je 0x412eb2
push eax
call fcn.0040ca30
push dword [0x41dec8]
mov esi, eax
call fcn.0040ca30
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x412eb2
test edi, edi
je 0x412eb2
call esi
test eax, eax
je 0x412ea9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x412ea9
test byte [ebp - 0xc], 1
jne 0x412eb2
or dword [ebp + 0x10], 0x200000
jmp 0x412eeb
mov eax, dword [0x41debc]
cmp eax, ebx
je 0x412eeb
push eax
call fcn.0040ca30
pop ecx
test eax, eax
je 0x412eeb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x412eeb
mov eax, dword [0x41dec0]
cmp eax, ebx
je 0x412eeb
push eax
call fcn.0040ca30
pop ecx
test eax, eax
je 0x412eeb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41deb8]
call fcn.0040ca30
pop ecx
test eax, eax
je 0x412f0b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x412f0d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x111d6
Capabilities:
Get system information on windows
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push 0xb
call esi
cmp eax, 0xc0000004
jne 0x11285
push dword [ebp - 8]
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
push 0
push dword [ebp - 8]
mov dword [ebp - 4], eax
push eax
push 0xb
call esi
test eax, eax
jl 0x11285
cmp byte [ebp + 8], 0
je 0x11243
mov esi, dword [ebp - 4]
movzx eax, word [esi + 0x1e]
mov edx, dword [ebp + 0xc]
lea ecx, [eax + esi + 0x20]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x11234
mov eax, dword [esi + 0xc]
jmp 0x11292
mov eax, dword [ebp - 4]
xor edi, edi
cmp dword [eax], edi
jbe 0x11290
xor esi, esi
movzx ecx, word [esi + eax + 0x1e]
push dword [ebp + 0xc]
add ecx, esi
lea eax, [ecx + eax + 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe__stricmp]
pop ecx
test eax, eax
mov eax, dword [ebp - 4]
pop ecx
je 0x11279
inc edi
add esi, 0x11c
cmp dword [eax], edi
ja 0x1124e
jmp 0x11290
imul edi, edi, 0x11c
mov eax, dword [edi + eax + 0xc]
jmp 0x11292
push 0x12078
call sub.ntoskrnl.exe_DbgPrint
pop ecx
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x11394
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + edi + 0x78]
add esi, edi
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0xc], edx
xor edx, edx
add eax, edi
add ecx, edi
add ebx, edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov dword [ebp + 8], edx
cmp dword [esi + 0x14], edx
ja 0x113e2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
movzx ecx, word [ecx + edx*2]
add ecx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov ecx, dword [ebx + ecx*4 - 4]
add eax, edi
add ecx, edi
push 0x12098
push eax
mov dword [ebp - 0x10], ecx
call dword [sym.imp.ntoskrnl.exe__stricmp]
pop ecx
pop ecx
test eax, eax
je 0x11416
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x14]
jb 0x113d9
jmp 0x113d0
mov eax, dword [ebp - 0x10]
sub eax, edi
jmp 0x113d2
Function at 0x11422
Capabilities:
Map section object
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push edi
mov dword [ebp - 0x24], eax
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], 0x40
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
push 0x20
stosd dword es:[edi], eax
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x100020
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenFile]
test eax, eax
jge 0x11483
push 0x12116
call sub.ntoskrnl.exe_DbgPrint
pop ecx
xor eax, eax
jmp 0x11533
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push 0x1000000
push 0x10
push ebx
push eax
push 0xf001f
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ntoskrnl.exe_ZwCreateSection]
test eax, eax
jge 0x114af
push 0x120fe
jmp 0x11476
push 4
push 0x100000
push 1
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x3e8
push ebx
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
jge 0x114dd
push 0x120e2
jmp 0x11476
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.ntoskrnl.exe_ZwClose]
call esi
push dword [ebp - 4]
call fcn.00011394
mov edi, eax
cmp edi, ebx
jne 0x114fe
push 0x120d2
jmp 0x11520
push edi
push 0x120c6
call sub.ntoskrnl.exe_DbgPrint
pop ecx
pop ecx
push dword [ebp + 0xc]
push edi
push dword [ebp - 4]
call fcn.0001129e
test eax, eax
jne 0x1152a
push 0x120b2
call sub.ntoskrnl.exe_DbgPrint
pop ecx
xor eax, eax
jmp 0x11532
push dword [ebp - 8]
call esi
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
leave
ret 8

Function at 0x1153e
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x54]
push eax
push 1
call fcn.000111d6
mov edi, eax
test edi, edi
jne 0x11571
push 0x121f8
call sub.ntoskrnl.exe_DbgPrint
pop ecx
xor al, al
jmp 0x115e4
push esi
mov esi, dword [sym.imp.ntoskrnl.exe__stricmp]
lea eax, [ebp - 0x54]
push 0x121ea
push eax
call esi
pop ecx
pop ecx
test eax, eax
jne 0x11590
push 0x121a6
jmp 0x115a6
lea eax, [ebp - 0x54]
push 0x12198
push eax
call esi
pop ecx
pop ecx
test eax, eax
jne 0x115e1
push 0x12154
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, dword [sym.imp.ntoskrnl.exe_KeServiceDescriptorTable]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov dword [0x1488c], eax
mov eax, ecx
shl eax, 2
push eax
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [0x14888], eax
test eax, eax
jne 0x115f1
push 0x1213c
call sub.ntoskrnl.exe_DbgPrint
pop ecx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0001201a
leave
ret
push edi
lea eax, [ebp - 0x5c]
push eax
call fcn.00011422
test eax, eax
jne 0x11606
push 0x1212a
jmp 0x115db
mov al, 1
jmp 0x115e3
Function at 0x11c5a
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x1222a
lea eax, [ebp - 0xc]
push eax
call esi
push 0x12210
lea eax, [ebp - 0x14]
push eax
call esi
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x22
lea eax, [ebp - 0xc]
push eax
push 0x14
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jl 0x11ce4
mov eax, dword [ebp - 4]
or dword [eax + 0x1c], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov esi, eax
test esi, esi
jge 0x11cc2
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
jmp 0x11ce2
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x28]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x10], ecx
mov eax, esi
pop esi
leave
ret 4