Function at 0x40aae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x484
mov eax, dword [0x4451b0]
xor eax, esp
mov dword [esp + 0x47c], eax
mov eax, dword [esp + 0x48c]
push ebx
push ebp
mov ebp, dword [esp + 0x490]
push esi
push edi
lea edx, [esp + 0x1c]
push edx
xor edi, edi
push ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x1c]
push eax
push edi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x40ad01
push 4
push 0x1000
push 0x48
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push esi
call edi
push 4
push 0x1000
push 0x400
push 0
push esi
mov ebx, eax
call edi
push 4
push 0x1000
push 0x10
push 0
push esi
mov dword [esp + 0x28], eax
call edi
mov ecx, eax
xor eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
test ebx, ebx
je 0x40acfa
mov edi, dword [esp + 0x14]
test edi, edi
je 0x40acfa
test ecx, ecx
je 0x40acfa
push 0x48
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.0041c7f0
mov eax, edi
cdq
push 0x400
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x98]
push 0
push edx
mov dword [esp + 0x58], 1
mov dword [esp + 0x78], 0x200
mov dword [esp + 0x70], eax
call fcn.0041c7f0
add esp, 0x18
push 0
push 0
push 0x1004
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
mov dword [esp + 0x38], eax
test eax, eax
jle 0x40acbe
push 0
push 0x48
lea eax, [esp + 0x48]
push eax
push ebx
push esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], 0
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push ebx
push edi
push 0x1073
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x14]
push 0
push 0x200
lea ecx, [esp + 0x90]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x8c]
push ecx
call fcn.0041bab3
add esp, 8
test eax, eax
je 0x40ac70
inc edi
cmp edi, dword [esp + 0x38]
jl 0x40ac08
jmp 0x40acbe
mov edx, dword [esp + 0x18]
push edx
push edi
push 0x100e
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x18]
push 0
push 0x10
lea eax, [esp + 0x2c]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [esp + 0x20], 1
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push 0x8000
push 0
push ebx
push esi
call edi
mov edx, dword [esp + 0x14]
push 0x8000
push 0
push edx
push esi
call edi
mov eax, dword [esp + 0x18]
push 0x8000
push 0
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
jmp 0x40ad03
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x48c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041a78f
add esp, 0x484
ret 8