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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0
xor eax, eax
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov word [ebp - 0x10], cx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x1001df82
xor edx, edx
je 0x1001df7b
jmp 0x1001df75
xor eax, eax
jmp 0x1001e1fb
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
cmp dword [edx], 0x4550
je 0x1001dfa6
xor eax, eax
je 0x1001df9f
jmp 0x1001df99
xor eax, eax
jmp 0x1001e1fb
mov ecx, dword [ebp - 0x28]
movzx edx, word [ecx + 4]
cmp edx, 0x14c
jne 0x1001dfd1
xor eax, eax
je 0x1001dfbb
jmp 0x1001dfb5
mov ecx, dword [ebp - 0x28]
mov dx, word [ecx + 6]
mov word [ebp - 0x10], dx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x2c], ecx
jmp 0x1001e015
mov edx, dword [ebp - 0x28]
movzx eax, word [edx + 4]
cmp eax, 0x8664
jne 0x1001e008
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], 0
xor edx, edx
je 0x1001dff2
jmp 0x1001dfec
mov eax, dword [ebp - 0x20]
mov cx, word [eax + 6]
mov word [ebp - 0x10], cx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x2c], eax
jmp 0x1001e015
xor ecx, ecx
je 0x1001e00e
jmp 0x1001e008
xor eax, eax
jmp 0x1001e1fb
xor edx, edx
je 0x1001e01b
jmp 0x1001e015
cmp dword [ebp + 0x10], 0
je 0x1001e096
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax + 4]
cmp ecx, 0x14c
jne 0x1001e05f
push 0x40
push 0x1000
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1001e059
xor edx, edx
je 0x1001e057
jmp 0x1001e051
jmp 0x1001e05f
xor eax, eax
je 0x1001e05f
jmp 0x1001e059
cmp dword [ebp - 0xc], 0
jne 0x1001e07b
push 0x40
push 0x1000
mov ecx, dword [ebp - 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1001e08e
xor edx, edx
je 0x1001e087
jmp 0x1001e081
xor eax, eax
jmp 0x1001e1fb
xor eax, eax
je 0x1001e094
jmp 0x1001e08e
jmp 0x1001e0be
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10013960
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1001e0b8
xor edx, edx
je 0x1001e0b1
jmp 0x1001e0ab
xor eax, eax
jmp 0x1001e1fb
xor eax, eax
je 0x1001e0be
jmp 0x1001e0b8
cmp dword [ebp - 0x20], 0
je 0x1001e0f9
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x108]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.10013ac0
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x54]
mov dword [ebp - 4], ecx
jmp 0x1001e12c
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0xf8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.10013ac0
add esp, 0xc
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 4], edx
mov dword [ebp - 8], 0
jmp 0x1001e13e
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
movzx ecx, word [ebp - 0x10]
cmp dword [ebp - 8], ecx
jae 0x1001e1f2
push 9
push 0
lea edx, [ebp - 0x38]
push edx
call fcn.10013ba0
add esp, 0xc
push 8
mov eax, dword [ebp - 8]
imul eax, eax, 0x28
add eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.10013ac0
add esp, 0xc
mov edx, dword [ebp - 8]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx + 0x10]
push ecx
mov edx, dword [ebp - 8]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx + 0x14]
push ecx
mov edx, dword [ebp - 8]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx + 0xc]
push ecx
call fcn.10013ac0
add esp, 0xc
mov edx, dword [ebp - 8]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx + 0x14]
mov edx, dword [ebp - 8]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x14]
add ecx, dword [eax + edx + 0x10]
cmp ecx, dword [ebp - 0x18]
jbe 0x1001e1ed
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx + 0x14]
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x14]
add eax, dword [edx + ecx + 0x10]
mov dword [ebp - 0x18], eax
jmp 0x1001e135
xor eax, eax
je 0x1001e1f8
jmp 0x1001e1f2
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret