Function at 0x408a50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x40e008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 4
push 0x1000
mov dword [ebp - 0x1c8], eax
mov edi, ecx
lea eax, [ebx + 0x1b8]
mov dword [ebp - 0x1c4], edx
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x408ca9
push 0x40
lea eax, [ebp - 0xc8]
mov dword [ebp - 8], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x8c], 0x40
mov eax, 0x5a4d
mov word [ebp - 0xc8], ax
lea eax, [ebp - 8]
push eax
push 0x40
lea eax, [ebp - 0xc8]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x408ca9
cmp dword [ebp - 8], 0x40
jne 0x408ca9
push 0xf8
lea eax, [ebp - 0x1c0]
add esi, 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c0], 0x4550
mov eax, 1
mov dword [ebp - 0x1ac], 0x200000e0
mov word [ebp - 0x1ba], ax
mov eax, 0x10b
mov word [ebp - 0x1a8], ax
lea eax, [ebp - 8]
push eax
push 0xf8
lea eax, [ebp - 0x1c0]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x408ca9
cmp dword [ebp - 8], 0xf8
jne 0x408ca9
lea eax, [ebx + 0x58]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], eax
add esi, 0xf8
lea eax, [ebp - 8]
mov dword [ebp - 0x24], 0
push eax
push 0x28
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x7465642e
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0x72756f
push esi
push edi
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x3c], 0x160
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x408ca9
cmp dword [ebp - 8], 0x28
jne 0x408ca9
lea eax, [ebx + 0x58]
mov dword [ebp - 0x88], 0x40
mov dword [ebp - 0x7c], eax
xorps xmm0, xmm0
lea eax, [ebp - 8]
movlpd qword [ebp - 0x78], xmm0
push eax
push 0x40
lea eax, [ebp - 0x88]
movlpd qword [ebp - 0x70], xmm0
push eax
add esi, 0x28
movlpd qword [ebp - 0x68], xmm0
push esi
push edi
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x84], 0x727444
mov dword [ebp - 0x80], 0x40
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x408ca9
cmp dword [ebp - 8], 0x40
jne 0x408ca9
lea eax, [ebx + 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1c4]
add esi, 0x40
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movups xmm0, xmmword [eax]
lea eax, [ebp - 8]
push eax
push 0x18
lea eax, [ebp - 0x20]
push eax
push esi
push edi
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x408ca9
cmp dword [ebp - 8], 0x18
jne 0x408ca9
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 0x1c8]
lea ecx, [esi + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x408ca9
cmp dword [ebp - 8], ebx
jne 0x408ca9
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409942
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409942
mov esp, ebp
pop ebp
ret 8