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

Disassembly:
sub esp, 0x84
mov eax, dword [0x490004]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
mov ebx, ecx
xor ecx, ecx
push ebp
push esi
push edi
mov eax, dword [ebx]
mov bp, dx
mov dword [esp + 0x6c], eax
push 0xa
pop esi
mov edi, dword [eax]
mov al, byte [ebx + 0x2e]
movzx edx, al
mov byte [esp + 0x16], al
cmp edx, 2
push 5
pop eax
cmove esi, eax
mov word [esp + 0x22], bp
xor eax, eax
mov dword [esp + 0x64], ebx
inc eax
mov dword [esp + 0x48], ecx
cmp edx, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x4c], ecx
cmovbe esi, eax
mov dword [esp + 0x34], ecx
mov eax, dword [ebx + 8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x60], esi
test eax, eax
je 0x455fd5
test bp, bp
je 0x455fd5
mov ecx, dword [eax]
mov eax, edx
mov dword [esp + 0x30], 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.004049b8
mov dword [esp + 0x78], eax
pop ecx
pop ecx
test eax, eax
jne 0x456008
push 7
pop eax
jmp 0x45666f
mov edx, esi
mov dword [esp + 0x24], eax
shl edx, 5
push 8
pop ecx
lea ebp, [edx + eax]
xor eax, eax
mov edi, ebp
mov dword [esp + 0x68], ebp
rep stosd dword es:[edi], eax
lea ecx, [edx + ebp]
mov edx, dword [esp + 0x70]
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 0x456032
mov edx, dword [esp + 0x30]
test edx, edx
je 0x45605d
lea eax, [edx + edx]
mov dword [esp + 0x40], ecx
push eax
push 0
push ecx
call fcn.00462ad0
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov ecx, dword [esp + 0x6c]
push 0x30
pop eax
cmp dword [ecx + 0x7c], eax
cmovb eax, dword [ecx + 0x7c]
mov cl, byte [esp + 0x16]
mov word [ebp + 0x10], ax
xor eax, eax
inc eax
mov dword [esp + 0x50], eax
test edx, edx
je 0x45608f
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 + 0x2c]
xor esi, esi
mov dword [esp + 0x38], esi
test cl, cl
je 0x456467
mov edx, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test eax, eax
jle 0x456261
lea esi, [ebp + 0x10]
mov dword [esp + 0x18], esi
mov ebp, dword [ebx + 0x3c]
test ebp, ebp
je 0x45623d
mov al, byte [esi + 6]
xorps xmm0, xmm0
mov byte [esp + 0x17], al
lea eax, [esi - 0x10]
mov edx, dword [eax]
mov ecx, edx
mov esi, dword [eax + 4]
not ecx
and ecx, dword [ebp]
mov dword [esp + 0x58], eax
mov eax, esi
not eax
movlpd qword [esp + 0x80], xmm0
and eax, dword [ebp + 4]
or ecx, eax
jne 0x456226
and esi, dword [ebp + 0xc]
and edx, dword [ebp + 8]
or edx, esi
mov esi, dword [esp + 0x18]
jne 0x45645e
mov eax, 0x4000
test dword [ebp + 0x24], eax
je 0x456120
cmp word [esi], 3
jl 0x45645e
movzx edx, word [ebp + 0x14]
add dx, word [esi]
mov cx, word [ebp + 0x12]
call fcn.00407f28
mov dx, word [esi + 4]
movzx ecx, ax
call fcn.00407f28
movzx edi, ax
lea ecx, [esi - 0x10]
mov ax, word [ebp + 0x16]
add ax, word [esi]
movzx eax, ax
mov dword [esp + 0x44], eax
mov eax, dword [ecx]
or eax, dword [ebp + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 4]
or eax, dword [ebp + 0xc]
cmp byte [esp + 0x17], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x78], eax
jge 0x45629f
mov edx, dword [ebx + 8]
lea eax, [esp + 0x80]
push eax
movzx eax, word [ebx + 0x2c]
push ebp
push dword [esp + 0x40]
push eax
push ecx
mov ecx, ebx
call fcn.00455731
add esp, 0x14
mov byte [esp + 0x17], al
test al, al
jns 0x4562b7
movzx edx, di
sub edi, 2
mov dword [esp + 0x28], edi
mov esi, dword [esp + 0x1c]
xor ecx, ecx
mov edi, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
test esi, esi
jle 0x456348
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x78]
mov dl, byte [esp + 0x17]
cmp dword [edi], eax
jne 0x4561de
cmp dword [edi + 4], ebx
jne 0x4561de
mov al, byte [edi + 0x16]
xor al, dl
jge 0x4561e6
mov eax, dword [esp + 0x5c]
inc ecx
add edi, 0x20
cmp ecx, esi
jl 0x4561ca
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
cmp ecx, esi
jge 0x456348
movzx eax, word [edi + 0x12]
cmp ax, dx
jl 0x456226
mov esi, dword [esp + 0x44]
jne 0x456392
movzx eax, word [edi + 0x10]
cmp ax, si
jl 0x456226
jne 0x456392
mov eax, dword [esp + 0x28]
cmp word [edi + 0x14], ax
jg 0x456392
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ebp, dword [ebp + 0x34]
test ebp, ebp
jne 0x4560c5
mov eax, dword [esp + 0x50]
add esi, 0x20
sub eax, 1
mov dword [esp + 0x18], esi
mov dword [esp + 0x50], eax
jne 0x4560ba
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
mov eax, edx
inc esi
mov dword [esp + 0x38], esi
mov edx, ebp
mov dword [esp + 0x24], edx
mov ebp, eax
mov dword [esp + 0x68], ebp
mov eax, ecx
mov dword [esp + 0x50], eax
cmp esi, edi
jl 0x4560a5
test ecx, ecx
jne 0x456467
push str.no_query_solution
push dword [esp + 0x70]
call fcn.00406e5f
pop ecx
pop ecx
jmp 0x45665e
mov eax, dword [esi - 8]
mov ecx, dword [esi - 4]
mov dword [esp + 0x80], eax
mov al, byte [esp + 0x17]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x30]
movzx esi, al
cmp esi, ecx
jge 0x45619e
mov eax, dword [esp + 0x40]
lfence
movzx eax, word [eax + esi*2]
mov edx, eax
test ax, ax
jne 0x456333
mov eax, ecx
movzx edi, word [esp + 0x22]
sub eax, esi
imul eax, eax, 0x64
cdq
idiv ecx
cdq
push edx
push eax
call fcn.00407f89
mov dx, word [esp + 0x2a]
add ax, dx
mov dword [esp + 0x44], eax
mov eax, 0x4000
pop ecx
pop ecx
test word [ebx + 0x2c], ax
je 0x456313
movzx ecx, word [ebx + 0x14]
cmp cx, dx
jge 0x456313
mov edi, ecx
mov ecx, edi
call fcn.00452955
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
add ecx, 0xffffffce
add ax, cx
mov ecx, dword [esp + 0x40]
movzx edx, ax
mov word [ecx + esi*2], ax
mov ecx, edi
call fcn.00407f28
push 5
pop ecx
add ax, cx
movzx edx, ax
jmp 0x4561a8
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
jl 0x456372
mov edi, dword [esp + 0x4c]
cmp dx, di
jg 0x45622a
jne 0x456372
mov eax, dword [esp + 0x28]
cmp ax, word [esp + 0x34]
jge 0x45622a
cmp ecx, esi
lea eax, [ecx + 1]
mov edi, ecx
cmovge edi, dword [esp + 0x48]
shl edi, 5
add edi, dword [esp + 0x24]
cmp ecx, esi
mov esi, dword [esp + 0x44]
cmovge eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
or eax, dword [ebp + 0xc]
or ecx, dword [ebp + 8]
mov dword [edi + 4], eax
mov dword [edi], ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x28]
mov word [edi + 0x14], ax
mov al, byte [esp + 0x17]
mov word [edi + 0x10], si
mov esi, dword [esp + 0x38]
mov byte [edi + 0x16], al
mov eax, dword [esp + 0x18]
shl esi, 2
push esi
mov dword [edi + 0xc], ecx
mov word [edi + 0x12], dx
push dword [eax + 8]
push dword [edi + 0x18]
call fcn.00463550
mov eax, dword [edi + 0x18]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov dword [esi + eax], ebp
mov esi, dword [esp + 0x60]
cmp ecx, esi
jl 0x45622a
mov eax, dword [esp + 0x24]
and dword [esp + 0x48], 0
movzx ecx, word [eax + 0x10]
movzx edi, word [eax + 0x12]
mov dword [esp + 0x34], ecx
xor ecx, ecx
inc ecx
mov dword [esp + 0x4c], edi
cmp esi, ecx
jbe 0x456226
mov ebx, dword [esp + 0x34]
add eax, 0x34
movzx edx, word [eax - 2]
cmp dx, di
jg 0x45643c
jne 0x456445
cmp word [eax], bx
jle 0x456445
movzx ebx, word [eax]
mov edi, edx
mov dword [esp + 0x48], ecx
inc ecx
add eax, 0x20
cmp ecx, esi
jl 0x45642c
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x4c], edi
jmp 0x456226
mov ecx, dword [esp + 0x1c]
jmp 0x45622e
cmp eax, 1
jle 0x456485
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 0x456472
xor esi, esi
cmp byte [esp + 0x16], 0
jbe 0x4564ba
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 0x456494
mov ax, word [ebx + 0x2c]
mov ecx, 0x180
and ax, cx
add ecx, 0xffffff80
cmp ax, cx
jne 0x456510
cmp byte [ebx + 0x33], 0
jne 0x456510
cmp word [esp + 0x22], 0
je 0x456510
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x80]
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.00455731
movsx ecx, al
add esp, 0x14
mov eax, dword [ebx + 0xc]
cmp ecx, dword [eax]
jne 0x456510
mov byte [ebx + 0x33], 2
mov edi, dword [ebx + 8]
mov byte [ebx + 0x34], 0
test edi, edi
je 0x456651
test byte [ebx + 0x2c], 0x80
mov dl, byte [ebp + 0x16]
je 0x45653a
movsx eax, dl
cmp eax, dword [edi]
jne 0x456533
mov byte [ebx + 0x33], 2
mov esi, edi
jmp 0x4565e0
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 + 0x16]
mov dword [ebx + 0x40], eax
test dl, dl
jg 0x4565e4
mov byte [ebx + 0x2f], 0
test cl, cl
je 0x4565e4
mov ecx, dword [esp + 0x54]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + ecx - 4]
mov ecx, 0x104
mov dword [esp + 0x58], 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 0x4565e0
lea eax, [esp + 0x80]
xorps xmm0, xmm0
push eax
push dword [esp + 0x5c]
mov eax, dword [esp + 0x34]
mov edx, edi
dec eax
movlpd qword [esp + 0x88], xmm0
push eax
push 0x800
push ebp
mov ecx, ebx
call fcn.00455731
mov esi, dword [ebx + 8]
add esp, 0x14
movsx eax, al
cmp eax, dword [esi]
jne 0x4565e0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov byte [ebx + 0x34], 1
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
mov cl, byte [esp + 0x16]
mov eax, 0x200
test word [ebx + 0x2c], ax
je 0x456651
movsx eax, byte [ebx + 0x2f]
cmp eax, dword [esi]
jne 0x456651
test cl, cl
je 0x456651
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x80]
push eax
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
movlpd qword [esp + 0x84], xmm0
mov edx, esi
push dword [eax + ecx - 4]
mov eax, dword [esp + 0x34]
mov ecx, ebx
dec eax
push eax
push 0
push ebp
call fcn.00455731
movsx ecx, al
add esp, 0x14
mov eax, dword [ebx + 8]
cmp ecx, dword [eax]
jne 0x456651
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov byte [ebx + 0x30], 1
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], edx
mov ax, word [ebp + 0x10]
and dword [esp + 0x74], 0
mov word [ebx + 0x48], ax
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
call fcn.004047d8
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004614f6
add esp, 0x84
ret