Function at 0x41b740
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
mov eax, dword [0x427074]
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 dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jne 0x41b794
xor eax, eax
jmp 0x41ba9a
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.004120b0
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 dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x41b801
cmp dword [ebp - 0x168], 0x40
je 0x41b808
xor eax, eax
jmp 0x41ba9a
mov ecx, dword [ebp - 0xfc]
add ecx, 0x40
mov dword [ebp - 0xfc], ecx
push pe_nt_image_headers32
push 0
lea edx, [ebp - 0xf8]
push edx
call fcn.004120b0
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 pe_nt_image_headers32
lea edx, [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x41b89b
cmp dword [ebp - 0x168], 0xf8
je 0x41b8a2
xor eax, eax
jmp 0x41ba9a
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.004120b0
add esp, 0xc
push 8
push 0x422d8c
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.004125a0
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 dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x41b92c
cmp dword [ebp - 0x168], 0x28
je 0x41b933
xor eax, eax
jmp 0x41ba9a
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.004120b0
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 dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x41b9ad
cmp dword [ebp - 0x168], 0x40
je 0x41b9b4
xor eax, eax
jmp 0x41ba9a
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.004120b0
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 dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x41ba40
cmp dword [ebp - 0x168], 0x18
je 0x41ba44
xor eax, eax
jmp 0x41ba9a
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 dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x41ba82
mov ecx, dword [ebp - 0x168]
cmp ecx, dword [ebp + 0x14]
je 0x41ba86
xor eax, eax
jmp 0x41ba9a
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.0040b0a0
mov esp, ebp
pop ebp
ret 0x10