Function at 0x43c6f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e0
mov eax, dword [0x49f080]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push edi
mov edi, edx
mov dword [ebp - 0xc], eax
mov esi, ecx
test edi, edi
je 0x43c9ee
push 0xf8
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.00445500
add esp, 0xc
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
push 0x1c
push eax
push edi
push esi
movq qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x43c9ee
push 0
push 0x40
lea eax, [ebp - 0x164]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x43c9ee
mov eax, 0x5a4d
cmp word [ebp - 0x164], ax
jne 0x43c9e7
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x1c]
ja 0x43c9e7
cmp eax, 0x40
jb 0x43c9e7
push 0
push 0xf8
lea ecx, [ebp - 0x124]
add eax, edi
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x43c9ee
cmp dword [ebp - 0x124], 0x4550
jne 0x43c9e7
mov eax, dword [ebp - 0x128]
add eax, edi
je 0x43c9ee
push 0x678
lea eax, [ebp - 0x7dc]
push 0
push eax
call fcn.00445500
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x7c0]
add esp, 0xc
mov dword [ebp - 0x7dc], 0x678
mov dword [ebp - 0x7cc], edi
mov dword [ebp - 0x7d8], 0x40
push 0
push 0x40
push eax
push edi
push esi
call ebx
test eax, eax
je 0x43c9f5
mov eax, dword [ebp - 0x784]
lea ecx, [ebp - 0x780]
add eax, dword [ebp - 0x7cc]
push 0
push 0x18
push ecx
push eax
push esi
mov dword [ebp - 0x7c8], eax
mov dword [ebp - 0x7d4], 0x18
call ebx
test eax, eax
je 0x43c9f5
movzx eax, word [ebp - 0x77a]
lea ecx, [eax + eax*4]
movzx eax, word [ebp - 0x76c]
lea eax, [eax + ecx*8]
add eax, 0x18
mov dword [ebp - 0x7d4], eax
cmp eax, 0x608
ja 0x43c9f5
push 0
push eax
lea eax, [ebp - 0x780]
push eax
push dword [ebp - 0x7c8]
push esi
call ebx
test eax, eax
je 0x43c9f5
mov ax, word [ebp - 0x768]
mov ecx, 0x10b
cmp ax, cx
jne 0x43c8d1
mov eax, dword [ebp - 0x698]
test eax, eax
je 0x43c8f8
cmp dword [ebp - 0x694], 0
je 0x43c8f8
add eax, edi
mov dword [ebp - 0x7c4], eax
jmp 0x43c8fe
mov ecx, 0x20b
cmp ax, cx
jne 0x43c8f8
mov eax, dword [ebp - 0x688]
test eax, eax
je 0x43c8f8
cmp dword [ebp - 0x684], 0
je 0x43c8f8
add eax, edi
mov dword [ebp - 0x7c4], eax
jmp 0x43c8fe
mov eax, dword [ebp - 0x7c4]
test eax, eax
je 0x43c923
push 0
push 0x14
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x7d0], 0x14
push ecx
push eax
push esi
call ebx
test eax, eax
je 0x43c9f5
cmp dword [ebp + 8], 0
je 0x43c9dd
push ecx
push dword [ebp - 0xc]
mov edx, edi
mov ecx, esi
call fcn.0043bf10
add esp, 8
test eax, eax
je 0x43c9f5
mov edx, dword [ebp - 0x7c4]
test edx, edx
je 0x43c9ac
mov eax, dword [ebp - 0x168]
mov ecx, esi
movups xmm0, xmmword [ebp - 0x178]
and eax, 0xfffffffe
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push 4
push 0x14
movups xmmword [ebp - 0x20], xmm0
call fcn.00440210
test eax, eax
je 0x43c9f5
push 0
push 0x14
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x7c4]
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x43c9f5
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push 0x14
push dword [ebp - 0x7c4]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x43c9f5
push 0x678
lea eax, [ebp - 0x7dc]
mov edx, 0x4971d8
push eax
mov ecx, esi
call fcn.0043ca10
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004435e2
mov esp, ebp
pop ebp
ret 0xc
push 6
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x43c9f5
push 0xc1
call ebx
push 0x10dd
call ebx
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004435e2
mov esp, ebp
pop ebp
ret 0xc