Function at 0x1001c8c0
Capabilities:
Allocate or change rwx memory
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034f65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov dword [ebp - 0x48], ecx
push 0x10036264
lea ecx, [ebp - 0x78]
call fcn.100017d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
jmp 0x1001c904
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xa
jge 0x1001c91a
call fcn.1002731f
push eax
lea ecx, [ebp - 0x78]
call fcn.10019840
jmp 0x1001c8fb
push 0x10036268
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.100011e0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.10019a10
lea ecx, [ebp - 0x60]
call fcn.10002590
push eax
call fcn.10001270
add esp, 4
mov ecx, dword [ebp + 8]
call fcn.10019b40
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
call fcn.10027314
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10019a90
push eax
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10023ca0
add esp, 0xc
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x1001c9c4
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001cb0
mov eax, dword [ebp - 0x30]
jmp 0x1001cb8d
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0x4550
je 0x1001ca05
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001cb0
mov eax, dword [ebp - 0x34]
jmp 0x1001cb8d
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 4]
cmp ecx, 0x14c
je 0x1001ca42
xor edx, edx
jne 0x1001ca14
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001cb0
mov eax, dword [ebp - 0x38]
jmp 0x1001cb8d
mov eax, 8
imul ecx, eax, 0xe
mov edx, dword [ebp - 0x10]
cmp dword [edx + ecx + 0x78], 0
je 0x1001ca7e
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001cb0
mov eax, dword [ebp - 0x3c]
jmp 0x1001cb8d
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x14]
lea eax, [ecx + edx + 0xf8]
mov dword [ebp - 0x1c], eax
push 0x40
push 0x3000
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x50]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1001cad2
xor edx, edx
jne 0x1001cab5
push 0x40
push 0x3000
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x50]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1001cb06
xor edx, edx
jne 0x1001cad8
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001cb0
mov eax, dword [ebp - 0x40]
jmp 0x1001cb8d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.10023ca0
add esp, 0xc
mov dword [ebp - 0x24], 0
jmp 0x1001cb2f
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 6]
cmp dword [ebp - 0x24], eax
jge 0x1001cb69
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
add ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xc]
add eax, dword [ebp - 0x18]
push eax
call fcn.10023ca0
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add ecx, 0x28
mov dword [ebp - 0x1c], ecx
jmp 0x1001cb26
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001cb0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4