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

Disassembly:
sub esp, 0x74
push ebx
mov ebx, ecx
xor ecx, ecx
push ebp
push esi
push edi
mov eax, dword [ebx]
mov bp, dx
mov dword [esp + 0x68], eax
push 0xa
pop esi
mov edi, dword [eax]
mov al, byte [ebx + 0x2e]
movzx edx, al
mov byte [esp + 0x10], al
cmp edx, 2
push 5
pop eax
cmove esi, eax
mov word [esp + 0x12], bp
xor eax, eax
mov dword [esp + 0x4c], ecx
inc eax
mov dword [esp + 0x34], ecx
cmp edx, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x30], ecx
cmovbe esi, eax
mov dword [esp + 0x40], ecx
mov eax, dword [ebx + 8]
mov dword [esp + 0x74], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x60], esi
test eax, eax
je 0x453f85
test bp, bp
je 0x453f85
mov ecx, dword [eax]
mov eax, edx
mov dword [esp + 0x28], ecx
shl eax, 2
mov dword [esp + 0x54], eax
add eax, 0x20
imul eax, esi
add eax, ecx
mov ecx, edi
add eax, eax
cdq
push edx
push eax
call fcn.00404b2c
mov dword [esp + 0x74], eax
pop ecx
pop ecx
test eax, eax
jne 0x453fb8
push 7
pop eax
jmp 0x45460d
mov edx, esi
mov dword [esp + 0x20], eax
shl edx, 5
push 8
pop ecx
lea ebp, [edx + eax]
xor eax, eax
mov edi, ebp
mov dword [esp + 0x64], ebp
rep stosd dword es:[edi], eax
lea ecx, [edx + ebp]
mov edx, dword [esp + 0x6c]
lea eax, [esi + esi]
add edx, 0x18
mov esi, dword [esp + 0x54]
mov dword [edx], ecx
dec eax
add ecx, esi
lea edx, [edx + 0x20]
test eax, eax
jg 0x453fe2
mov edx, dword [esp + 0x28]
test edx, edx
je 0x45400d
lea eax, [edx + edx]
mov dword [esp + 0x40], ecx
push eax
push 0
push ecx
call fcn.00460f00
mov edx, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x68]
push 0x30
pop eax
cmp dword [ecx + 0x7c], eax
cmovb eax, dword [ecx + 0x7c]
mov cl, byte [esp + 0x10]
mov word [ebp + 0x10], ax
xor eax, eax
inc eax
mov dword [esp + 0x50], eax
test edx, edx
je 0x45403f
movzx eax, dl
or edx, 0xffffffff
test cl, cl
cmovne eax, edx
mov byte [ebp + 0x16], al
xor eax, eax
inc eax
mov edi, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x3c], esi
test cl, cl
je 0x454421
mov edx, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x38], ecx
test eax, eax
jle 0x4543e7
lea edx, [ebp + 0x10]
mov ebp, ecx
mov dword [esp + 0x14], edx
mov edi, dword [ebx + 0x3c]
mov dword [esp + 0x18], edi
test edi, edi
je 0x4543bf
mov al, byte [edx + 6]
xorps xmm0, xmm0
mov byte [esp + 0x11], al
lea eax, [edx - 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x58], eax
not ecx
mov eax, dword [eax + 4]
and ecx, dword [edi]
not eax
and eax, dword [edi + 4]
or ecx, eax
movlpd qword [esp + 0x78], xmm0
jne 0x4543ac
mov eax, dword [edi + 8]
mov ecx, eax
mov esi, dword [edi + 0xc]
and ecx, dword [edx - 0x10]
mov dword [esp + 0x2c], eax
mov eax, esi
and eax, dword [edx - 0xc]
or ecx, eax
mov dword [esp + 0x44], esi
jne 0x4543ac
mov eax, 0x4000
test dword [edi + 0x24], eax
je 0x4540dc
cmp word [edx], 3
jl 0x4543ac
movzx esi, word [edx]
movzx edx, word [edi + 0x14]
mov cx, word [edi + 0x12]
add dx, si
call fcn.00407f48
mov ecx, dword [esp + 0x14]
mov dx, word [ecx + 4]
mov ecx, eax
call fcn.00407f48
mov ecx, dword [esp + 0x58]
movzx eax, ax
mov dword [esp + 0x1c], eax
mov ax, word [edi + 0x16]
add ax, si
movzx eax, ax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x2c]
or eax, dword [ecx]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
or eax, dword [ecx + 4]
cmp byte [esp + 0x11], 0
mov dword [esp + 0x44], eax
jge 0x4541f3
mov edx, dword [ebx + 8]
lea eax, [esp + 0x78]
push eax
movzx eax, word [ebx + 0x2c]
push edi
push dword [esp + 0x44]
push eax
push ecx
mov ecx, ebx
call fcn.004536f3
add esp, 0x14
mov byte [esp + 0x11], al
test al, al
jns 0x454209
mov esi, dword [esp + 0x1c]
movzx edx, si
sub esi, 2
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x48], edx
mov edi, eax
test ebp, ebp
jle 0x454299
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
mov dl, byte [esp + 0x11]
cmp dword [edi], eax
jne 0x4541a2
cmp dword [edi + 4], esi
jne 0x4541a2
mov al, byte [edi + 0x16]
xor al, dl
jge 0x4541aa
mov eax, dword [esp + 0x2c]
inc ecx
add edi, 0x20
cmp ecx, ebp
jl 0x45418e
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x1c]
cmp ecx, ebp
jge 0x454295
movzx eax, word [edi + 0x12]
cmp ax, dx
jl 0x4543a4
jne 0x4542db
movzx eax, word [edi + 0x10]
mov ecx, dword [esp + 0x5c]
cmp ax, cx
jl 0x4543a4
jne 0x4542db
cmp word [edi + 0x14], si
jle 0x4543a4
jmp 0x4542db
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
mov ecx, dword [ecx - 4]
mov dword [esp + 0x78], eax
mov al, byte [esp + 0x11]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x28]
movzx esi, al
cmp esi, ecx
jge 0x454160
mov eax, dword [esp + 0x40]
movzx eax, word [eax + esi*2]
mov edx, eax
test ax, ax
jne 0x45427e
mov eax, ecx
movzx edi, word [esp + 0x12]
sub eax, esi
imul eax, eax, 0x64
cdq
idiv ecx
cdq
push edx
push eax
call fcn.00407fa6
mov dx, word [esp + 0x1a]
add ax, dx
mov dword [esp + 0x50], eax
mov eax, 0x4000
pop ecx
pop ecx
test word [ebx + 0x2c], ax
je 0x454262
movzx ecx, word [ebx + 0x14]
cmp cx, dx
jge 0x454262
mov edi, ecx
mov ecx, edi
call fcn.00450991
mov ecx, dword [esp + 0x48]
add ecx, 0xffffffce
add ax, cx
mov ecx, dword [esp + 0x40]
movzx edx, ax
mov word [ecx + esi*2], ax
mov ecx, dword [esp + 0x1c]
call fcn.00407f48
push 5
pop ecx
add ax, cx
movzx edx, ax
jmp 0x45416e
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x60]
cmp ebp, esi
jl 0x4542bf
mov ecx, dword [esp + 0x34]
cmp dx, cx
jg 0x4543a4
jne 0x4542bf
mov ecx, dword [esp + 0x30]
cmp word [esp + 0x1c], cx
jge 0x4543a4
cmp ebp, esi
mov edi, ebp
cmovge edi, dword [esp + 0x4c]
shl edi, 5
add edi, eax
cmp ebp, esi
lea eax, [ebp + 1]
cmovge eax, ebp
mov ebp, eax
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x3c]
shl esi, 2
mov ecx, dword [eax]
mov eax, dword [eax + 4]
or eax, dword [edx + 0xc]
or ecx, dword [edx + 8]
mov dword [edi + 4], eax
mov dword [edi], ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x5c]
mov word [edi + 0x10], ax
mov eax, dword [esp + 0x48]
mov word [edi + 0x12], ax
mov eax, dword [esp + 0x1c]
mov word [edi + 0x14], ax
mov al, byte [esp + 0x11]
mov byte [edi + 0x16], al
mov eax, dword [esp + 0x14]
push esi
mov dword [edi + 0xc], ecx
push dword [eax + 8]
push dword [edi + 0x18]
call fcn.00461aa0
mov eax, dword [edi + 0x18]
add esp, 0xc
mov edi, dword [esp + 0x18]
mov dword [esi + eax], edi
mov esi, dword [esp + 0x60]
cmp ebp, esi
jl 0x4543a8
mov eax, dword [esp + 0x20]
and dword [esp + 0x4c], 0
movzx ecx, word [eax + 0x12]
mov dword [esp + 0x34], ecx
movzx ecx, word [eax + 0x10]
mov dword [esp + 0x30], ecx
xor ecx, ecx
inc ecx
cmp esi, ecx
jbe 0x4543a8
mov ebp, dword [esp + 0x34]
add eax, 0x34
mov edi, dword [esp + 0x30]
movzx edx, word [eax - 2]
cmp dx, bp
jg 0x454387
jne 0x454390
cmp word [eax], di
jle 0x454390
movzx edi, word [eax]
mov ebp, edx
mov dword [esp + 0x4c], ecx
inc ecx
add eax, 0x20
cmp ecx, esi
jl 0x454377
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov edi, dword [edi + 0x34]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x45407b
mov eax, dword [esp + 0x50]
add edx, 0x20
sub eax, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x50], eax
jne 0x45406c
mov ebp, dword [esp + 0x64]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
mov eax, edx
inc esi
mov dword [esp + 0x3c], esi
mov edx, ebp
mov dword [esp + 0x20], edx
mov ebp, eax
mov dword [esp + 0x64], ebp
mov eax, ecx
mov dword [esp + 0x50], eax
cmp esi, edi
jl 0x454055
test ecx, ecx
jne 0x454421
push str.no_query_solution
push dword [esp + 0x6c]
call fcn.00406e9c
pop ecx
pop ecx
jmp 0x4545fc
cmp eax, 1
jle 0x45443f
lea ecx, [ebp + 0x20]
lea edx, [eax - 1]
mov ax, word [ebp + 0x12]
cmp ax, word [ecx + 0x12]
cmovg ebp, ecx
add ecx, 0x20
sub edx, 1
jne 0x45442c
xor esi, esi
cmp byte [esp + 0x10], 0
jbe 0x454474
lea edx, [ebx + 0x31c]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + esi*4]
mov dword [edx + 0x14], eax
mov al, byte [eax + 0x10]
mov byte [edx], al
lea edx, [edx + 0x50]
movzx eax, al
imul ecx, eax, 0x48
inc esi
mov eax, dword [ebx + 4]
mov eax, dword [ecx + eax + 0x34]
mov dword [edx - 0x78], eax
cmp esi, edi
jl 0x45444e
mov ax, word [ebx + 0x2c]
mov ecx, 0x180
and ax, cx
add ecx, 0xffffff80
cmp ax, cx
jne 0x4544c7
cmp byte [ebx + 0x33], 0
jne 0x4544c7
cmp word [esp + 0x12], 0
je 0x4544c7
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebp + 0x18]
mov ecx, ebx
push dword [eax + edi*4 - 4]
lea eax, [edi - 1]
push eax
push 0x80
push ebp
call fcn.004536f3
movsx ecx, al
add esp, 0x14
mov eax, dword [ebx + 0xc]
cmp ecx, dword [eax]
jne 0x4544c7
mov byte [ebx + 0x33], 2
mov edi, dword [ebx + 8]
mov byte [ebx + 0x34], 0
test edi, edi
je 0x4545ef
test byte [ebx + 0x2c], 0x80
mov dl, byte [ebp + 0x16]
je 0x4544f1
movsx eax, dl
cmp eax, dword [edi]
jne 0x4544ea
mov byte [ebx + 0x33], 2
mov esi, edi
jmp 0x45458a
mov byte [ebx + 0x2f], dl
mov esi, edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebx + 0x44], ecx
mov cl, byte [esp + 0x10]
mov dword [ebx + 0x40], eax
test dl, dl
jg 0x45458e
mov byte [ebx + 0x2f], 0
test cl, cl
je 0x45458e
mov ecx, dword [esp + 0x54]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + ecx - 4]
mov ecx, 0x104
mov dword [esp + 0x70], eax
mov edx, dword [eax + 0x24]
mov eax, edx
and eax, ecx
cmp eax, ecx
setne cl
bt edx, 0xc
setae al
test al, cl
je 0x45458a
lea eax, [esp + 0x78]
xorps xmm0, xmm0
push eax
push dword [esp + 0x74]
mov eax, dword [esp + 0x2c]
mov edx, edi
dec eax
movlpd qword [esp + 0x80], xmm0
push eax
push 0x800
push ebp
mov ecx, ebx
call fcn.004536f3
mov esi, dword [ebx + 8]
add esp, 0x14
movsx eax, al
cmp eax, dword [esi]
jne 0x45458a
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov byte [ebx + 0x34], 1
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
mov cl, byte [esp + 0x10]
mov eax, 0x200
test word [ebx + 0x2c], ax
je 0x4545ef
movsx eax, byte [ebx + 0x2f]
cmp eax, dword [esi]
jne 0x4545ef
test cl, cl
je 0x4545ef
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
movlpd qword [esp + 0x7c], xmm0
mov edx, esi
push dword [eax + ecx - 4]
mov eax, dword [esp + 0x2c]
mov ecx, ebx
dec eax
push eax
push 0
push ebp
call fcn.004536f3
movsx ecx, al
add esp, 0x14
mov eax, dword [ebx + 8]
cmp ecx, dword [eax]
jne 0x4545ef
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov byte [ebx + 0x30], 1
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], edx
mov ax, word [ebp + 0x10]
and dword [esp + 0x70], 0
mov word [ebx + 0x48], ax
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
call fcn.0040494c
mov eax, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret