Function at 0x41a440
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0x4d9694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c8], eax
test edi, edi
jne 0x41a487
push 6
call sub.KERNEL32.dll_SetLastError
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push 4
push 0x1000
lea eax, [ebx + 0x1b8]
push eax
push 0
push edi
call sub.KERNEL32.dll_VirtualAllocEx
mov esi, eax
test esi, esi
je 0x41a6d3
push 0x40
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x1c0], 0
push 0
push eax
call fcn.00464ad0
add esp, 0xc
mov dword [ebp - 0x88], 0x40
mov eax, 0x5a4d
mov word [ebp - 0xc4], ax
lea eax, [ebp - 0x1c0]
push eax
push 0x40
lea eax, [ebp - 0xc4]
push eax
push esi
push edi
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x41a6d3
cmp dword [ebp - 0x1c0], 0x40
jne 0x41a6d3
push 0xf8
lea eax, [ebp - 0x1bc]
add esi, 0x40
push 0
push eax
call fcn.00464ad0
add esp, 0xc
mov dword [ebp - 0x1bc], 0x4550
mov eax, 1
mov dword [ebp - 0x1a8], 0x200000e0
mov word [ebp - 0x1b6], ax
mov eax, 0x10b
mov word [ebp - 0x1a4], ax
lea eax, [ebp - 0x1c0]
push eax
push 0xf8
lea eax, [ebp - 0x1bc]
push eax
push esi
push edi
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x41a6d3
cmp dword [ebp - 0x1c0], 0xf8
jne 0x41a6d3
lea eax, [ebx + 0x58]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], eax
add esi, 0xf8
lea eax, [ebp - 0x1c0]
mov dword [ebp - 8], 0
push eax
push 0x28
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x7465642e
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0x72756f
push esi
push edi
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 0x20], 0x160
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x41a6d3
cmp dword [ebp - 0x1c0], 0x28
jne 0x41a6d3
lea eax, [ebx + 0x58]
mov dword [ebp - 0x6c], 0x40
mov dword [ebp - 0x60], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x1c0]
movlpd qword [ebp - 0x5c], xmm0
push eax
push 0x40
lea eax, [ebp - 0x6c]
movlpd qword [ebp - 0x54], xmm0
push eax
add esi, 0x28
movlpd qword [ebp - 0x4c], xmm0
push esi
push edi
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x68], 0x727444
mov dword [ebp - 0x64], 0x40
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x41a6d3
cmp dword [ebp - 0x1c0], 0x40
jne 0x41a6d3
lea eax, [ebx + 0x18]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], eax
add esi, 0x40
mov eax, dword [ebp - 0x1c4]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x1c0]
push eax
push 0x18
lea eax, [ebp - 0x84]
push eax
push esi
push edi
movups xmmword [ebp - 0x7c], xmm0
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x41a6d3
cmp dword [ebp - 0x1c0], 0x18
jne 0x41a6d3
lea eax, [ebp - 0x1c0]
add esi, 0x18
push eax
push ebx
push dword [ebp - 0x1c8]
push esi
push edi
call sub.KERNEL32.dll_WriteProcessMemory
test eax, eax
je 0x41a6d3
cmp dword [ebp - 0x1c0], ebx
jne 0x41a6d3
push 0
call sub.KERNEL32.dll_SetLastError
mov eax, esi
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.00448f14
mov esp, ebp
pop ebp
ret 0x10