joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433fe0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46d2c8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x434019
inc eax
mov dword [esi + 0x10], eax
jmp 0x43412c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43402d
mov eax, 0xffffffc7
jmp 0x43412e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43403e
cmp dword [esi + 8], eax
jne 0x43402d
cmp dword [esi + 8], eax
jne 0x434057
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x434057
mov eax, 0xffffffc7
jmp 0x43412e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43406b
push eax
mov ecx, ebx
call fcn.00433810
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00403550
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43409c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00403570
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00432f80
test eax, eax
mov dword [esp + 0x38], eax
je 0x4340cf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4d8200
call fcn.00403750
mov eax, dword [esp + 0x38]
jmp 0x43412e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00433e40
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x434113
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00433e60
mov esi, eax
test esi, esi
jne 0x434143
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00433e40
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4340e5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4d8200
call fcn.00403750
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4d8200
call fcn.00403750
mov eax, esi
jmp 0x43412e

Function at 0x437250
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4372b0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4372b0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4372b0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4372b0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4372f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43d410
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d8f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004665b0
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043cdb0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004664de
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00462da7
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00462da7
push 1
push 0
push 0
mov ecx, esi
call fcn.00462d4f
push 1
push 0
push 1
mov ecx, esi
call fcn.00462d4f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00466622
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43d590
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004665b0
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043cdb0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004664de
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43d654
cmp dword [esp + 0x40], 1
jne 0x43d652
cmp ecx, eax
jge 0x43d654
mov eax, ecx
cmp eax, 0xc8
jge 0x43d660
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043d410
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00466622
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43ddd0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d983
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004611bf
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x4dc6f8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x4db528
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00466858
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00467d74
test eax, eax
je 0x43deec
mov ecx, dword [esp + 0x3c]
call fcn.00466885
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43deb0
push edi
mov ecx, esi
call fcn.00463ef2
mov ecx, esi
call fcn.0043e050
cmp dword [esp + 0x38], 1
jne 0x43dee5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046402d
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x440900
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x440933
push esi
call fcn.00443a00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44092c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4409b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4409a2
mov eax, dword [esi + 8]
test eax, eax
je 0x440957
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44099e
cmp eax, 2
je 0x4409a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44094a
cmp eax, 3
je 0x44097d
cmp eax, 1
jne 0x44094a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44094a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44094a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004409e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4409c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004409e0
add esp, 4
pop esi
ret
Function at 0x461fb5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x461fed
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046006c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00460044
jmp 0x461ff9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4636af
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4636f1
call fcn.004691f9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4636f1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4636e8
xor eax, eax
jmp 0x4636f9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004636ff
pop edi
pop esi
pop ebx
ret 4

Function at 0x469729
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x469757
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x469775
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046968f
jmp 0x469775
mov eax, dword [esi + 0x14]
test eax, eax
je 0x469775
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046968f
test edi, edi
mov eax, edi
jne 0x46975f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x11000
Capabilities:
Create device object

Disassembly:
sub esp, 0x14
xor eax, eax
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push str.DeviceSpecialKVKrnlPurifier
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call esi
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 4]
push ecx
push 0
push 0x100
push 0x22
lea edx, [esp + 0x18]
push edx
push 0
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jl 0x1109e
mov eax, dword [esp + 4]
or dword [eax + 0x1c], 4
push str.DosDevicesSpecialKVKrnlPurifier
lea ecx, [esp + 0x14]
push ecx
call esi
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov esi, eax
test esi, esi
jge 0x11092
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, esi
pop esi
add esp, 0x14
ret 4
mov edx, dword [esp + 4]
mov dword [0x14148], edx
xor eax, eax
pop esi
add esp, 0x14
ret 4

Function at 0x110f0
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov eax, dword [ecx + 0x60]
mov edx, dword [eax + 0x18]
cmp word [edx + 0x30], 0
jbe 0x11112
xor dl, dl
mov dword [ecx + 0x18], 0xc0000001
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, 0xc0000001
ret
xor dl, dl
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 1
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
ret

Function at 0x11130
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov eax, dword [0x14148]
cmp eax, dword [esp + 4]
je 0x11147
mov ecx, dword [esp + 0xc]
mov byte [ecx], 0
xor eax, eax
ret 0xc
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov byte [edx], 1
mov eax, dword [ecx + 0x60]
movzx eax, byte [eax]
xor edx, edx
sub eax, edx
je 0x11192
sub eax, 2
mov dword [ecx + 0x1c], edx
je 0x11182
sub eax, 0x10
je 0x11182
xor dl, dl
mov dword [ecx + 0x18], 0xc0000010
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, 0xc0000010
ret 0xc
mov dword [ecx + 0x18], edx
xor dl, dl
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
ret 0xc
call fcn.000110f0
ret 0xc
Function at 0x111a0
Capabilities:
Access pe header

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
xor eax, eax
push ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov ecx, eax
test ecx, ecx
mov dword [esp + 8], ecx
jne 0x111d7
mov eax, 0xc000003e
pop ebx
add esp, 0x18
ret 0x18
mov edx, dword [ecx + 0xa4]
push edi
mov edi, dword [ecx + 0xa0]
add edi, ebx
add edx, edi
cmp edi, ebx
mov dword [esp + 0x10], edx
jbe 0x112ed
mov eax, dword [ecx + 0x50]
add eax, ebx
cmp edi, eax
jae 0x112ed
mov eax, dword [esp + 0x30]
add eax, ebx
cmp eax, edx
ja 0x112ed
cmp dword [edi + 4], 0
lea eax, [edi + 4]
push ebp
push esi
mov dword [esp + 0x2c], eax
je 0x112d2
cmp edi, edx
jae 0x112d2
mov eax, dword [esp + 0x38]
cmp dword [edi], eax
jb 0x112bb
mov eax, dword [esp + 0x2c]
mov esi, dword [eax]
sub esi, 8
shr esi, 1
test esi, esi
lea ebp, [edi + 8]
mov dword [esp + 0x10], 0
jle 0x112bb
movzx eax, word [ebp]
mov edx, eax
and edx, 0xf000
cmp edx, 0x3000
jne 0x112a5
and eax, 0xfff
add eax, dword [edi]
mov edx, dword [eax + ebx]
sub edx, dword [ecx + 0x34]
add eax, ebx
cmp edx, dword [esp + 0x34]
jne 0x112a1
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x112a1
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
push edx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x28], ebx
call ecx
test al, al
jne 0x112e1
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add eax, 1
add ebp, 2
cmp eax, esi
mov dword [esp + 0x10], eax
jl 0x11250
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
add edi, dword [eax]
cmp dword [edi + 4], 0
lea eax, [edi + 4]
mov dword [esp + 0x2c], eax
jne 0x11222
pop esi
pop ebp
pop edi
mov eax, 0xc000003e
pop ebx
add esp, 0x18
ret 0x18
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x18
ret 0x18
pop edi
mov eax, 0xc000003e
pop ebx
add esp, 0x18
ret 0x18
Function at 0x11680
Capabilities:
Access pe header
Map section object
Read file on windows

Disassembly:
sub esp, 0x3c
xor eax, eax
push ebx
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x20]
push ecx
xor esi, esi
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x60
push 7
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x38]
lea edx, [esp + 0x28]
push ecx
mov dword [esp + 0x44], edx
push 0x80000000
lea edx, [esp + 0x5c]
mov ebx, 0x240
push edx
mov dword [esp + 0x44], 0x18
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call dword [sym.imp.ntoskrnl.exe_ZwOpenFile]
cmp eax, esi
jl 0x1182e
mov edx, dword [esp + 0x48]
push edi
push esi
lea eax, [esp + 0x1c]
push eax
push 0x400
push 0x14168
lea ecx, [esp + 0x38]
push ecx
push esi
push esi
push esi
push edx
call dword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov edi, eax
cmp edi, esi
jge 0x1172c
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x3c
ret 8
push 0x14168
call dword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
test eax, eax
jne 0x11754
mov ecx, dword [esp + 0x4c]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
pop esi
mov eax, 0xc000000d
pop ebx
add esp, 0x3c
ret 8
mov edx, dword [esp + 0x4c]
push edx
push 0x1000000
push 2
push esi
lea eax, [esp + 0x40]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x4c], 0x18
mov dword [esp + 0x50], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateSection]
mov edx, dword [esp + 0x4c]
mov ebx, dword [sym.imp.ntoskrnl.exe_ZwClose]
push edx
mov edi, eax
call ebx
cmp edi, esi
jl 0x117d6
mov edx, dword [esp + 0xc]
push 2
push esi
push 2
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea ecx, [esp + 0x2c]
push ecx
push 0xffffffffffffffff
push edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call dword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov edi, eax
cmp edi, esi
jge 0x117e1
mov eax, dword [esp + 0xc]
push eax
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x3c
ret 8
push 0x534b4d49
push 0xc
push esi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
cmp eax, esi
mov ecx, dword [esp + 0x10]
jne 0x11815
push ecx
push 0xffffffffffffffff
call dword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
mov edx, dword [esp + 0xc]
push edx
call ebx
pop edi
pop esi
mov eax, 0xc0000017
pop ebx
add esp, 0x3c
ret 8
mov dword [eax + 4], ecx
mov edx, dword [esp + 0xc]
mov dword [eax], edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov dword [edx], eax
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x3c
ret 8
Function at 0x11870
Capabilities:
Access pe header

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebx
mov dword [esp + 8], 0
call dword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
test eax, eax
jne 0x11894
xor eax, eax
pop ebx
add esp, 8
ret 8
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x1188b
cmp dword [eax + 0x7c], 0
je 0x1188b
add ecx, ebx
mov dword [esp + 8], ecx
je 0x1188b
mov eax, dword [ecx + 0x24]
push ebp
mov ebp, dword [ecx + 0x20]
push esi
push edi
mov edi, dword [ecx + 0x18]
add eax, ebx
add ebp, ebx
sub edi, 1
mov dword [esp + 0x1c], eax
js 0x11924
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
lea esi, [edi + eax]
sar esi, 1
mov eax, dword [ebp + esi*4]
add eax, ebx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x118f5
test dl, dl
je 0x118f1
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x118f5
add ecx, 2
add eax, 2
test dl, dl
jne 0x118d5
xor eax, eax
jmp 0x118fa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jge 0x11903
lea edi, [esi - 1]
jmp 0x1190c
jle 0x1191e
add esi, 1
mov dword [esp + 0x10], esi
cmp edi, dword [esp + 0x10]
jge 0x118c2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
cmp edi, dword [esp + 0x10]
jge 0x11930
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
mov ecx, dword [esp + 0x1c]
movzx edx, word [ecx + esi*2]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1c]
pop edi
lea edx, [ecx + edx*4]
mov eax, dword [edx + ebx]
pop esi
pop ebp
add eax, ebx
pop ebx
add esp, 8
ret 8

Function at 0x11960
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x1197c
cmp word [eax], 0x5a4d
jne 0x1197c
mov ecx, dword [eax + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
je 0x11981
xor eax, eax
ret 4
mov eax, dword [eax + 0x34]
ret 4

Function at 0x119f0
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x14568]
sub esp, 0x11c
test eax, eax
jne 0x11b14
push 0x11c
push eax
lea eax, [esp + 8]
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x11c
call dword [sym.imp.ntoskrnl.exe_RtlGetVersion]
test eax, eax
jl 0x11b0f
cmp dword [esp + 0x10], 2
jne 0x11b0f
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x11b0f
jne 0x11ab5
mov eax, dword [esp + 8]
test eax, eax
jne 0x11a71
mov ax, word [esp + 0x114]
cmp ax, 4
ja 0x11b0f
movzx eax, ax
add eax, 2
add esp, 0x11c
ret
cmp eax, 1
jne 0x11a95
mov ax, word [esp + 0x114]
cmp ax, 3
ja 0x11b0f
movzx eax, ax
add eax, 7
add esp, 0x11c
ret
cmp eax, 2
jne 0x11b0f
mov ax, word [esp + 0x114]
cmp ax, 2
ja 0x11b0f
movzx eax, ax
add eax, 0xb
add esp, 0x11c
ret
cmp eax, 6
jne 0x11b0f
mov eax, dword [esp + 8]
test eax, eax
jne 0x11ae7
cmp byte [esp + 0x11a], 1
jne 0x11b0f
mov ax, word [esp + 0x114]
cmp ax, 2
ja 0x11b0f
movzx eax, ax
add eax, 0xe
add esp, 0x11c
ret
cmp eax, 1
jne 0x11b0f
cmp byte [esp + 0x11a], al
jne 0x11b0f
mov ax, word [esp + 0x114]
neg ax
sbb eax, eax
and eax, 0xfffffff0
add eax, 0x11
add esp, 0x11c
ret
mov eax, 1
add esp, 0x11c
ret
Function at 0x11b20
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0xc
push edi
xor edi, edi
cmp dword [esp + 0x18], edi
mov dword [esp + 8], edi
mov dword [esp + 4], edi
je 0x11c5b
cmp dword [esp + 0x1c], edi
je 0x11c5b
cmp dword [esp + 0x14], edi
je 0x11c5b
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
lea eax, [esp + 0xc]
push eax
push 4
lea ecx, [esp + 0x10]
push ecx
push 0xb
call esi
cmp eax, edi
jge 0x11bd3
cmp eax, 0xc0000004
jne 0x11bbc
mov edx, dword [esp + 0xc]
push 0x4b725072
push edx
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
cmp eax, edi
mov dword [esp + 8], eax
jne 0x11b95
pop esi
mov eax, 0xc0000017
pop edi
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
push edx
push eax
push 0xb
call esi
mov esi, eax
cmp esi, edi
mov eax, dword [esp + 8]
mov dword [esp + 0x10], esi
jge 0x11bc4
push edi
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, esi
pop esi
pop edi
add esp, 0xc
ret 0xc
mov ecx, dword [eax]
cmp ecx, 1
jae 0x11be0
push edi
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
pop esi
mov eax, 0xc00000bb
pop edi
add esp, 0xc
ret 0xc
cmp ecx, edi
jbe 0x11c40
mov edi, dword [sym.imp.ntoskrnl.exe_strrchr]
push ebx
push ebp
mov ebp, dword [sym.imp.ntoskrnl.exe__stricmp]
lea esi, [eax + 0x20]
mov ebx, ecx
push 0x5c
push esi
call edi
add esp, 8
test eax, eax
jne 0x11c07
mov eax, esi
jmp 0x11c0a
add eax, 1
mov ecx, dword [esp + 0x20]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x11c2b
mov edx, dword [esi - 0x14]
mov eax, dword [esp + 0x24]
mov dword [eax], edx
mov ecx, dword [esi - 0x10]
mov edx, dword [esp + 0x28]
mov dword [edx], ecx
add esi, 0x11c
sub ebx, 1
jne 0x11bf7
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
pop ebp
pop ebx
test eax, eax
je 0x11bba
push 0
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, esi
pop esi
pop edi
add esp, 0xc
ret 0xc
mov eax, 0xc0000001
pop edi
add esp, 0xc
ret 0xc