Function at 0x111f0
Capabilities:
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x5c], 0x18
mov dword [ebp - 0x58], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0x40
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
push 0x20
push 1
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x5c]
push eax
push 0x100020
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwOpenFile]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jge 0x11252
xor eax, eax
jmp 0x11402
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x2c]
push edx
push 0x1000000
push 0x10
push 0
lea eax, [ebp - 0x5c]
push eax
push 0xf001f
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwCreateSection]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jge 0x1129a
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov dword [ebp - 0x2c], 0xffffffff
xor eax, eax
jmp 0x11402
push 4
push 0x100000
push 1
lea eax, [ebp - 0x28]
push eax
push 0
push 0x3e8
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jge 0x112f2
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov dword [ebp - 0x2c], 0xffffffff
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov dword [ebp - 0x30], 0xffffffff
xor eax, eax
jmp 0x11402
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov dword [ebp - 0x2c], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x60]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x64]
push edx
call dword [sym.imp.ntoskrnl.exe_RtlInitString]
mov dword [ebp - 0x10], 0
jmp 0x11378
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x113ef
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + eax*4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.ntoskrnl.exe_RtlInitString]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x3c]
lea eax, [ecx + edx - 1]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x34], eax
push 1
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x6c]
push edx
call dword [sym.imp.ntoskrnl.exe_RtlCompareString]
test eax, eax
jne 0x113ed
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov dword [ebp - 0x30], 0xffffffff
mov eax, dword [ebp - 0x34]
jmp 0x11402
jmp 0x1136f
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov dword [ebp - 0x30], 0xffffffff
xor eax, eax
mov esp, ebp
pop ebp
ret 8