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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a62e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov dword [ebp - 0x48], ecx
push 0x100a7304
lea ecx, [ebp - 0x78]
call fcn.100018a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
jmp 0x1001df14
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xa
jge 0x1001df2a
call fcn.1008aced
push eax
lea ecx, [ebp - 0x78]
call fcn.10003620
jmp 0x1001df0b
push 0x100a7308
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.100012b0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.100030f0
lea ecx, [ebp - 0x60]
call fcn.10002660
push eax
call fcn.10001340
add esp, 4
mov ecx, dword [ebp + 8]
call fcn.10003850
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
call fcn.1008ace2
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100037a0
push eax
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10087600
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 0x1001dfd4
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001d80
mov eax, dword [ebp - 0x30]
jmp 0x1001e19d
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 0x1001e015
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001d80
mov eax, dword [ebp - 0x34]
jmp 0x1001e19d
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 4]
cmp ecx, 0x14c
je 0x1001e052
xor edx, edx
jne 0x1001e024
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001d80
mov eax, dword [ebp - 0x38]
jmp 0x1001e19d
mov eax, 8
imul ecx, eax, 0xe
mov edx, dword [ebp - 0x10]
cmp dword [edx + ecx + 0x78], 0
je 0x1001e08e
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001d80
mov eax, dword [ebp - 0x3c]
jmp 0x1001e19d
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 0x1001e0e2
xor edx, edx
jne 0x1001e0c5
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 0x1001e116
xor edx, edx
jne 0x1001e0e8
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001d80
mov eax, dword [ebp - 0x40]
jmp 0x1001e19d
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.10087600
add esp, 0xc
mov dword [ebp - 0x24], 0
jmp 0x1001e13f
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 0x1001e179
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.10087600
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add ecx, 0x28
mov dword [ebp - 0x1c], ecx
jmp 0x1001e136
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10001d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10001d80
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4