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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8a4
push ebx
mov eax, 0x100
push esi
push edi
xor edi, edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x90], eax
mov ecx, 0x20
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x58], ecx
push eax
mov edx, 0x400
lea ecx, [esp + 0x84]
push ecx
or eax, 0xffffffff
mov dword [esp + 0x7c], edx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x9c], edi
call fcn.00466ba0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x64]
call fcn.0047a9b0
test eax, eax
je 0x457492
lea esi, [esp + 0x18]
call fcn.0047a850
test eax, eax
je 0x457492
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
xor ebx, ebx
cmp eax, edi
setle bl
sub ebx, 1
and ebx, ecx
cmp eax, 1
jle 0x457262
lea esi, [ecx + 0xc]
mov dword [esp + 0x10], esi
jmp 0x457268
mov dword [esp + 0x10], edi
mov esi, edi
cmp ebx, edi
je 0x457481
cmp esi, edi
je 0x457481
mov eax, dword [ebx]
cmp eax, edi
mov ecx, dword [ebx + 8]
jl 0x457296
cmp eax, dword [ecx + 0x1c]
jge 0x457296
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax*4]
mov ecx, dword [ecx + 0x10]
lea eax, [ecx + eax*2]
cmp eax, edi
jne 0x45729b
mov eax, 0x47c518
push str.question
push eax
call sub.msvcrt.dll__wcsicmp
add esp, 8
test eax, eax
jne 0x457481
mov eax, dword [esi]
cmp eax, edi
mov ecx, dword [esi + 8]
jl 0x4572cf
cmp eax, dword [ecx + 0x1c]
jge 0x4572cf
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax*4]
mov ecx, dword [ecx + 0x10]
lea eax, [ecx + eax*2]
cmp eax, edi
jne 0x4572d4
mov eax, 0x47c518
push str.answer
push eax
call sub.msvcrt.dll__wcsicmp
add esp, 8
test eax, eax
jne 0x457481
push 0x800
lea edx, [esp + 0xb0]
push edi
push edx
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0x10]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x457306
sub eax, edx
sar eax, 1
cmp eax, 0xff
jl 0x457321
mov eax, 0xfe
lea esi, [eax + eax]
mov eax, dword [ebp + 0x10]
push esi
push eax
lea ecx, [esp + 0x2b0]
push ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0x14]
add esp, 0xc
mov word [esp + esi + 0x2a8], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x457347
sub eax, edx
sar eax, 1
cmp eax, 0xff
jl 0x457362
mov eax, 0xfe
mov edx, dword [ebp + 0x14]
lea esi, [eax + eax]
push esi
push edx
lea eax, [esp + 0xb0]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
add esp, 0xc
cmp eax, edi
mov word [esp + esi + 0xa8], di
jl 0x4573a1
cmp eax, dword [ecx + 0x1c]
jge 0x4573a1
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax*4]
mov ecx, dword [ecx + 0x10]
lea eax, [ecx + eax*2]
cmp eax, edi
jne 0x4573a8
mov edx, 0x47c518
jmp 0x4573aa
mov edx, eax
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4573b0
sub eax, esi
sar eax, 1
cmp eax, 0xff
jl 0x4573cb
mov eax, 0xfe
lea esi, [eax + eax]
push esi
push edx
lea edx, [esp + 0x4b0]
push edx
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
add esp, 0xc
cmp eax, edi
mov word [esp + esi + 0x4a8], di
jl 0x45740b
cmp eax, dword [ecx + 0x1c]
jge 0x45740b
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax*4]
mov ecx, dword [ecx + 0x10]
lea eax, [ecx + eax*2]
cmp eax, edi
jne 0x457412
mov edx, 0x47c518
jmp 0x457414
mov edx, eax
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x457420
sub eax, esi
sar eax, 1
cmp eax, 0xff
jl 0x45743b
mov eax, 0xfe
lea esi, [eax + eax]
push esi
push edx
lea edx, [esp + 0x6b0]
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
add esp, 0xc
add eax, 0x24
lea ecx, [esp + 0xa8]
mov word [esp + esi + 0x6a8], di
mov esi, dword [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x8b0], esi
call fcn.00401b70
add esi, 1
mov dword [esp + 0x14], esi
lea esi, [esp + 0x18]
call fcn.0047a850
test eax, eax
jne 0x457240
lea esi, [esp + 0x18]
call fcn.0047a7a0
lea esi, [esp + 0x60]
call fcn.0047a7a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10