Function at 0x10055270
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
mov eax, dword [0x10074bac]
xor eax, ebp
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x14]
add eax, 0x1b8
mov dword [ebp - 0x144], eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x144]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.dll_VirtualAllocEx
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jne 0x100552c3
xor eax, eax
jmp 0x100555c3
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x168], 0
push 0x40
push 0
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.10040850
add esp, 0xc
mov edx, 0x5a4d
mov word [ebp - 0x1a8], dx
mov dword [ebp - 0x16c], 0x40
lea eax, [ebp - 0x168]
push eax
push 0x40
lea ecx, [ebp - 0x1a8]
push ecx
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x1005532f
cmp dword [ebp - 0x168], 0x40
je 0x10055336
xor eax, eax
jmp 0x100555c3
mov ecx, dword [ebp - 0xfc]
add ecx, 0x40
mov dword [ebp - 0xfc], ecx
push 0xf8
push 0
lea edx, [ebp - 0xf8]
push edx
call fcn.10040850
add esp, 0xc
mov dword [ebp - 0xf8], 0x4550
mov eax, 0xe0
mov word [ebp - 0xe4], ax
mov ecx, 0x2000
mov word [ebp - 0xe2], cx
mov edx, 1
mov word [ebp - 0xf2], dx
mov eax, 0x10b
mov word [ebp - 0xe0], ax
lea ecx, [ebp - 0x168]
push ecx
push 0xf8
lea edx, [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x100553c8
cmp dword [ebp - 0x168], 0xf8
je 0x100553cf
xor eax, eax
jmp 0x100555c3
mov edx, dword [ebp - 0xfc]
add edx, 0xf8
mov dword [ebp - 0xfc], edx
push 0x28
push 0
lea eax, [ebp - 0x1d0]
push eax
call fcn.10040850
add esp, 0xc
push 8
push 0x1006edec
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.10041ed0
add esp, 0xc
mov edx, dword [ebp - 0xfc]
add edx, 0x28
sub edx, dword [ebp - 0x148]
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp + 0x14]
add eax, 0x58
mov dword [ebp - 0x1c0], eax
lea ecx, [ebp - 0x168]
push ecx
push 0x28
lea edx, [ebp - 0x1d0]
push edx
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x10055458
cmp dword [ebp - 0x168], 0x28
je 0x1005545f
xor eax, eax
jmp 0x100555c3
mov edx, dword [ebp - 0xfc]
add edx, 0x28
mov dword [ebp - 0xfc], edx
push 0x40
push 0
lea eax, [ebp - 0x140]
push eax
call fcn.10040850
add esp, 0xc
mov dword [ebp - 0x140], 0x40
mov dword [ebp - 0x13c], 0x727444
mov dword [ebp - 0x138], 0x40
mov ecx, dword [ebp + 0x14]
add ecx, 0x58
mov dword [ebp - 0x134], ecx
lea edx, [ebp - 0x168]
push edx
push 0x40
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x100554d8
cmp dword [ebp - 0x168], 0x40
je 0x100554df
xor eax, eax
jmp 0x100555c3
mov eax, dword [ebp - 0xfc]
add eax, 0x40
mov dword [ebp - 0xfc], eax
push 0x18
push 0
lea ecx, [ebp - 0x164]
push ecx
call fcn.10040850
add esp, 0xc
mov edx, dword [ebp + 0x14]
add edx, 0x18
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x160], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x15c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x158], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x154], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x150], edx
lea eax, [ebp - 0x168]
push eax
push 0x18
lea ecx, [ebp - 0x164]
push ecx
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x1005556a
cmp dword [ebp - 0x168], 0x18
je 0x1005556e
xor eax, eax
jmp 0x100555c3
mov ecx, dword [ebp - 0xfc]
add ecx, 0x18
mov dword [ebp - 0xfc], ecx
lea edx, [ebp - 0x168]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x100555ab
mov ecx, dword [ebp - 0x168]
cmp ecx, dword [ebp + 0x14]
je 0x100555af
xor eax, eax
jmp 0x100555c3
mov edx, dword [ebp - 0xfc]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0xfc], edx
mov eax, 1
mov ecx, dword [ebp - 0x14c]
xor ecx, ebp
call fcn.1004083f
mov esp, ebp
pop ebp
ret 0x10