Function at 0x1e0cc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x1e0f9
xor eax, eax
jmp 0x1e34f
nop
nop
nop
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
nop
nop
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0x4550
je 0x1e11c
xor eax, eax
jmp 0x1e34f
nop
nop
nop
nop
nop
nop
nop
push 4
push 0x2000
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp - 0x20], 0
jne 0x1e16c
push 4
push 0x2000
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x50]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp - 0x20], 0
jne 0x1e183
xor eax, eax
jmp 0x1e34f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 4
push 0x1000
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 4
push 0x1000
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x1c], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x54]
push eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
mov dword [eax], edx
nop
nop
nop
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x34], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0001e356
add esp, 0xc
nop
nop
nop
nop
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
sub edx, dword [ecx + 0x34]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
je 0x1e2be
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0001e651
add esp, 8
nop
nop
nop
mov edx, dword [ebp - 4]
push edx
call fcn.0001e764
add esp, 4
test eax, eax
jne 0x1e2d3
jmp 0x1e339
nop
nop
nop
mov eax, dword [ebp - 4]
push eax
call fcn.0001e49d
add esp, 4
nop
nop
nop
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
cmp dword [edx + 0x28], 0
je 0x1e334
nop
nop
nop
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + 0x28]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jne 0x1e309
jmp 0x1e339
nop
nop
nop
nop
nop
push 0
push 1
mov eax, dword [ebp - 0x20]
push eax
call dword [ebp - 8]
mov dword [ebp - 0x18], eax
nop
nop
nop
cmp dword [ebp - 0x18], 0
jne 0x1e327
jmp 0x1e339
nop
nop
nop
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 1
mov eax, dword [ebp - 4]
jmp 0x1e34f
nop
nop
nop
mov edx, dword [ebp - 4]
push edx
call fcn.00011794
add esp, 4
nop
nop
nop
nop
nop
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret