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

Disassembly:
sub esp, 0x1d8
mov eax, dword [0x6b66bc]
xor eax, esp
mov dword [esp + 0x1d4], eax
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0xf0]
push edi
call fcn.00486cf0
push 0xf
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0040ce40
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 0xf]
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jle 0x42aa74
push ecx
lea ecx, [esp + 0x18]
call fcn.0040cde0
movups xmm0, xmmword [str.ConsoleHistory]
mov ecx, dword [esp + 0x14]
push 1
push str.History
movups xmmword [ecx], xmm0
movq xmm0, qword [0x61eb58]
movq qword [ecx + 0x10], xmm0
mov eax, dword [0x61eb60]
mov dword [ecx + 0x18], eax
mov ax, word [0x61eb64]
mov word [ecx + 0x1c], ax
lea ecx, [esp + 0xe4]
call fcn.004bf450
cmp dword [esi + 0x64], 0
lea ebp, [esi + 0x44]
lea ebx, [ebp + 0xc]
mov dword [esp + 0x30], ebp
mov eax, ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
jge 0x42ab01
call fcn.00609320
nop
int3
cmp dword [eax + 0x14], 0
je 0x42ab10
lea ecx, [esp + 0x58]
call fcn.00410370
movups xmm0, xmmword [esp + 0x58]
mov esi, dword [ebp + 0x20]
mov ecx, esi
and ecx, 0x1f
mov dword [esp + 0xc0], ebp
movups xmmword [esp + 0xc4], xmm0
mov dword [esp + 0x78], ebx
movq xmm0, qword [esp + 0x68]
movq qword [esp + 0xd4], xmm0
mov eax, dword [esp + 0xd8]
movups xmm0, xmmword [esp + 0xc0]
mov dword [esp + 0xa0], eax
mov eax, esi
sar eax, 5
mov dword [esp + 0x70], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x74], eax
or eax, 0xffffffff
shl eax, cl
mov dword [esp + 0x7c], eax
mov eax, esi
movups xmmword [esp + 0x88], xmm0
and eax, 0xffffffe0
mov dword [esp + 0x80], esi
movq xmm0, qword [esp + 0xd0]
movq qword [esp + 0x98], xmm0
mov dword [esp + 0x84], eax
test esi, esi
jns 0x42abb2
call fcn.00609320
nop
int3
cmp esi, dword [ebx + 0x14]
je 0x42abd0
lea ecx, [esp + 0x70]
call fcn.00410370
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
nop dword [eax + eax]
mov esi, dword [esp + 0x9c]
mov eax, dword [esp + 0x88]
cmp esi, dword [esp + 0x80]
jne 0x42abf8
cmp dword [esp + 0x94], ebx
jne 0x42abf8
cmp eax, ebp
je 0x42ad3d
shl esi, 5
add esi, dword [eax]
cmp dword [esi + 4], 0
je 0x42ac07
mov ecx, dword [esi]
jmp 0x42ac0c
mov ecx, 0x60f5ec
cmp dword [esp + 0x18], 0
mov eax, 0x60f5ec
push ecx
cmovne eax, dword [esp + 0x18]
push eax
lea eax, [esp + 0xbc]
push str._s_s
push eax
call fcn.004116b0
add esp, 0x10
lea eax, [esp + 0xb4]
lea ecx, [esp + 0xf4]
push eax
call fcn.00414f90
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x42ac5e
push ecx
call fcn.0043f8f0
add esp, 4
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
lea eax, [eax + eax*2]
lea ebp, [edi + eax*4]
cmp edi, ebp
je 0x42ad14
mov esi, dword [edi + 4]
mov ebx, dword [edi]
mov dword [esp + 0x34], 0
mov dword [esp + 0xb0], esi
mov dword [esp + 0x38], esi
test esi, esi
jne 0x42ac94
mov dword [esp + 0x3c], esi
jmp 0x42acb0
push 0
push esi
lea ecx, [esp + 0x3c]
call fcn.0040cd80
add esi, esi
push esi
push ebx
push dword [esp + 0x3c]
call fcn.005f7171
add esp, 0xc
lea ecx, [esp + 0x34]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.0048e3c0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.00414cf0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x42acf8
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x42ad09
push eax
call fcn.0043f8f0
add esp, 4
add edi, 0xc
cmp edi, ebp
jne 0x42ac72
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x8c]
not eax
and dword [esp + 0x98], eax
call fcn.00410370
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
jmp 0x42abd0
lea eax, [esp + 0xe8]
push eax
call fcn.004a4c80
add esp, 4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [eax + 8], 0
mov eax, edx
neg eax
mov dword [esp + 0x24], edx
pop edi
sbb eax, eax
mov dword [esp + 0x24], ecx
add eax, 0x13
pop esi
add eax, edx
pop ebp
pop ebx
cmp eax, ecx
jle 0x42ad92
push eax
lea ecx, [esp + 0x14]
call fcn.0040ce40
push 0x12
push str.ConsoleHistory.ini
lea ecx, [esp + 0x18]
call fcn.0040edd0
mov eax, dword [esp + 0x18]
movq xmm0, qword [esp + 0x10]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xd8]
movq qword [esp + 0x94], xmm0
test eax, eax
je 0x42add0
push eax
call fcn.0043f8f0
add esp, 4
lea eax, [esp + 0x3c]
mov byte [esp + 0x120], 1
push eax
push 1
lea eax, [esp + 0x9c]
mov dword [esp + 0x44], 0
push eax
lea ecx, [esp + 0xf0]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call fcn.00499920
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x42ae1c
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x94]
test eax, eax
je 0x42ae30
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 4]
test eax, eax
je 0x42ae41
push eax
call fcn.0043f8f0
add esp, 4
lea ecx, [esp + 0xe4]
call fcn.004876d0
mov ecx, dword [esp + 0x1d4]
xor ecx, esp
call fcn.005f4480
add esp, 0x1d8
ret