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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034ee5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov dword [ebp - 0x48], ecx
push 0x1003625c
lea ecx, [ebp - 0x78]
call fcn.10001660
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
jmp 0x1001c204
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xa
jge 0x1001c21a
call fcn.1002894f
push eax
lea ecx, [ebp - 0x78]
call fcn.1001a820
jmp 0x1001c1fb
push 0x10036260
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.100011c0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.100024f0
lea ecx, [ebp - 0x60]
call fcn.100024d0
push eax
call fcn.100013b0
add esp, 4
mov ecx, dword [ebp + 8]
call fcn.1001d670
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
call fcn.10028944
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1001d650
push eax
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10023be0
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 0x1001c2c4
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001b10
mov eax, dword [ebp - 0x30]
jmp 0x1001c48d
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 0x1001c305
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001b10
mov eax, dword [ebp - 0x34]
jmp 0x1001c48d
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 4]
cmp ecx, 0x14c
je 0x1001c342
xor edx, edx
jne 0x1001c314
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001b10
mov eax, dword [ebp - 0x38]
jmp 0x1001c48d
mov eax, 8
imul ecx, eax, 0xe
mov edx, dword [ebp - 0x10]
cmp dword [edx + ecx + 0x78], 0
je 0x1001c37e
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001b10
mov eax, dword [ebp - 0x3c]
jmp 0x1001c48d
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 0x1001c3d2
xor edx, edx
jne 0x1001c3b5
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 0x1001c406
xor edx, edx
jne 0x1001c3d8
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001b10
mov eax, dword [ebp - 0x40]
jmp 0x1001c48d
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.10023be0
add esp, 0xc
mov dword [ebp - 0x24], 0
jmp 0x1001c42f
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 0x1001c469
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.10023be0
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add ecx, 0x28
mov dword [ebp - 0x1c], ecx
jmp 0x1001c426
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001b10
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4