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

Disassembly:
sub esp, 0x64
mov eax, dword [esp + 0x68]
push ebx
movzx ebx, byte [eax + 0x28]
push ebp
mov ebp, dword [eax]
push esi
mov esi, dword [ebp]
xor ecx, ecx
push edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
cmp ebx, 1
jne 0xa46903
mov edi, ebx
jmp 0xa46912
mov edi, ebx
sub edi, 2
neg edi
sbb edi, edi
and edi, 5
add edi, 5
lea ecx, [ebx + 8]
imul ecx, edi
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x38], edi
call fcn.009e81f0
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
jne 0xa4693c
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
xor eax, eax
mov ecx, edi
shl ecx, 5
lea edx, [ecx + esi]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
lea eax, [edi + edi]
add ecx, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], edx
test eax, eax
jle 0xa46984
lea edi, [ebx*4]
add esi, 0x18
mov dword [esi], ecx
dec eax
add esi, 0x20
add ecx, edi
test eax, eax
jg 0xa46978
mov eax, dword [ebp + 0x1c8]
cmp eax, 0x2e
jb 0xa46994
mov eax, 0x2e
mov word [edx + 0x10], ax
mov eax, dword [esp + 0x78]
xor ebp, ebp
mov esi, 1
mov dword [esp + 0x44], ebp
cmp dword [eax + 8], ebp
je 0xa469e8
mov edi, dword [esp + 0x7c]
cmp di, bp
je 0xa469e8
movsx eax, di
cdq
push edx
push eax
call fcn.009eb0d0
movzx eax, ax
add esp, 8
cmp ax, 0x21
jle 0xa469db
cwde
sub eax, 0x21
add eax, edi
movzx ecx, ax
mov dword [esp + 0x44], ecx
jmp 0xa469ec
xor eax, eax
mov eax, edi
movzx ecx, ax
mov dword [esp + 0x44], ecx
jmp 0xa469ec
mov byte [edx + 0x15], 1
cmp ebx, ebp
mov dword [esp + 0x2c], ebp
jle 0xa46f15
jmp 0xa46a00
mov dword [esp + 0x30], 0
test esi, esi
jle 0xa46e2a
mov edx, dword [esp + 0x34]
add edx, 0x14
mov dword [esp + 0x20], edx
mov dword [esp + 0x4c], esi
nop
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
test eax, eax
je 0xa46e1a
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x20]
mov cl, byte [eax + 1]
mov dl, byte [eax]
mov ebx, dword [eax - 0x14]
add eax, 0xffffffec
mov byte [esp + 0x16], cl
mov ecx, dword [eax + 4]
mov dword [esp + 0x70], ecx
mov eax, ebx
mov byte [esp + 0x17], dl
mov edx, dword [esp + 0x1c]
not eax
and eax, dword [edx]
not ecx
and ecx, dword [edx + 4]
or eax, ecx
jne 0xa46e07
mov eax, edx
mov edi, dword [eax + 0xc]
mov ebp, dword [eax + 8]
mov ecx, edi
and ecx, dword [esp + 0x70]
mov eax, ebp
and eax, ebx
or eax, ecx
jne 0xa46e07
mov eax, dword [esp + 0x20]
movzx eax, word [eax - 4]
mov ecx, edx
mov dx, word [ecx + 0x14]
movzx ecx, word [ecx + 0x12]
add dx, ax
movzx eax, dx
cmp cx, ax
jl 0xa46ae6
movsx edx, ax
movsx eax, cx
lea esi, [edx + 0x31]
cmp eax, esi
jle 0xa46abf
movzx eax, cx
mov dword [esp + 0x18], eax
jmp 0xa46b1d
lea esi, [edx + 0x1f]
cmp eax, esi
jle 0xa46ad0
inc ecx
movzx ecx, cx
mov dword [esp + 0x18], ecx
jmp 0xa46b1d
sub eax, edx
movzx dx, byte [eax + str._n_n_t_t_b_b_a_a_a]
add dx, cx
movzx eax, dx
mov dword [esp + 0x18], eax
jmp 0xa46b1d
movsx edx, cx
movsx ecx, ax
lea esi, [edx + 0x31]
cmp ecx, esi
jle 0xa46afc
movzx ecx, ax
mov dword [esp + 0x18], ecx
jmp 0xa46b1d
lea esi, [edx + 0x1f]
cmp ecx, esi
jle 0xa46b09
inc eax
movzx edx, ax
jmp 0xa46b19
sub ecx, edx
movzx cx, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add cx, ax
movzx edx, cx
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x20]
movzx ecx, word [eax - 2]
mov si, word [esp + 0x18]
cmp si, cx
jl 0xa46b5d
movsx ecx, cx
movsx eax, si
lea edx, [ecx + 0x31]
cmp eax, edx
jg 0xa46b99
lea edx, [ecx + 0x1f]
cmp eax, edx
jle 0xa46b49
inc dword [esp + 0x18]
jmp 0xa46b94
sub eax, ecx
movzx ax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add si, ax
mov word [esp + 0x18], si
jmp 0xa46b99
movsx edx, si
movsx eax, cx
lea esi, [edx + 0x31]
cmp eax, esi
jle 0xa46b6f
movzx ecx, cx
jmp 0xa46b90
lea esi, [edx + 0x1f]
cmp eax, esi
jle 0xa46b80
inc ecx
movzx edx, cx
mov dword [esp + 0x18], edx
jmp 0xa46b94
sub eax, edx
movzx ax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add ax, cx
movzx ecx, ax
mov dword [esp + 0x18], ecx
mov si, word [esp + 0x18]
mov eax, dword [esp + 0x20]
movzx ecx, word [eax - 4]
mov edx, dword [esp + 0x1c]
mov dx, word [edx + 0x16]
or edi, dword [esp + 0x70]
add dx, cx
movzx ecx, dx
or ebp, ebx
cmp byte [esp + 0x16], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], edi
jne 0xa46ca0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x5c]
push edx
push eax
mov eax, dword [esp + 0x80]
movzx edx, word [eax + 0x22]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
add ecx, 0xffffffec
push ecx
mov ecx, dword [eax + 8]
push ecx
push eax
call fcn.00a46320
add esp, 0x1c
sub eax, 0
je 0xa46c19
sub eax, 1
jne 0xa46cae
mov byte [esp + 0x17], 1
mov byte [esp + 0x16], 1
jmp 0xa46cae
mov edx, dword [esp + 0x44]
cmp si, dx
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], 1
jl 0xa46c5a
movsx ecx, dx
movsx eax, si
lea edx, [ecx + 0x31]
cmp eax, edx
jg 0xa46cae
lea edx, [ecx + 0x1f]
cmp eax, edx
jle 0xa46c4b
inc dword [esp + 0x18]
mov si, word [esp + 0x18]
jmp 0xa46cae
sub eax, ecx
movzx ax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add si, ax
jmp 0xa46cae
movsx ecx, si
movsx eax, dx
lea esi, [ecx + 0x31]
cmp eax, esi
jle 0xa46c73
movzx ecx, dx
mov dword [esp + 0x18], ecx
mov si, cx
jmp 0xa46cae
lea esi, [ecx + 0x1f]
cmp eax, esi
jle 0xa46c87
inc edx
movzx edx, dx
mov dword [esp + 0x18], edx
mov si, dx
jmp 0xa46cae
sub eax, ecx
movzx ax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add ax, dx
movzx ecx, ax
mov dword [esp + 0x18], ecx
mov si, cx
jmp 0xa46cae
mov edx, dword [eax - 0xc]
mov eax, dword [eax - 8]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
xor ecx, ecx
test edi, edi
jle 0xa46d03
mov edx, dword [esp + 0x48]
mov eax, dword [ebp]
cmp eax, dword [esp + 0x64]
jne 0xa46cf5
mov eax, dword [ebp + 4]
cmp eax, dword [esp + 0x68]
jne 0xa46cf5
mov al, byte [esp + 0x16]
cmp byte [ebp + 0x15], al
jne 0xa46cf5
movzx eax, word [ebp + 0x12]
cmp ax, si
jg 0xa46cef
cmp word [ebp + 0x10], dx
jle 0xa46cff
cmp ax, si
jl 0xa46cf5
cmp word [ebp + 0x10], dx
jge 0xa46cff
inc ecx
add ebp, 0x20
cmp ecx, edi
jl 0xa46cc0
jmp 0xa46d03
cmp ecx, edi
jl 0xa46d33
mov ebx, dword [esp + 0x38]
cmp edi, ebx
jl 0xa46d23
cmp si, word [esp + 0x40]
jge 0xa46e07
mov ebp, dword [esp + 0x3c]
shl ebp, 5
add ebp, dword [esp + 0x28]
jmp 0xa46d47
mov ebp, edi
inc edi
shl ebp, 5
add ebp, dword [esp + 0x28]
mov dword [esp + 0x30], edi
jmp 0xa46d47
cmp word [ebp + 0x12], si
jg 0xa46d43
cmp word [ebp + 0x10], dx
jle 0xa46e07
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx - 0x14]
mov eax, dword [esp + 0x1c]
or edx, dword [eax + 8]
add ecx, 0xffffffec
mov ecx, dword [ecx + 4]
or ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x60]
mov word [ebp + 0x12], si
mov esi, dword [esp + 0x2c]
mov dword [ebp], edx
mov edx, dword [esp + 0x5c]
mov dword [ebp + 4], ecx
mov cx, word [esp + 0x48]
mov dword [ebp + 0xc], eax
mov al, byte [esp + 0x17]
mov dword [ebp + 8], edx
mov dl, byte [esp + 0x16]
mov word [ebp + 0x10], cx
mov ecx, dword [esp + 0x20]
add esi, esi
mov byte [ebp + 0x14], al
mov eax, dword [ebp + 0x18]
mov byte [ebp + 0x15], dl
mov edx, dword [ecx + 4]
add esi, esi
push esi
push edx
push eax
call fcn.00a828e0
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x28]
add esp, 0xc
cmp edi, ebx
mov dword [esi + ecx], edx
jl 0xa46e07
mov ecx, dword [esp + 0x28]
movzx edi, word [ecx + 0x12]
movzx esi, word [ecx + 0x10]
mov eax, 1
cmp ebx, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], edi
jle 0xa46e07
add ecx, 0x32
lea esp, [esp]
movzx edx, word [ecx]
cmp dx, di
jg 0xa46df0
jne 0xa46dfb
cmp word [ecx - 2], si
jle 0xa46dfb
movzx esi, word [ecx - 2]
movzx edi, dx
mov dword [esp + 0x3c], eax
inc eax
add ecx, 0x20
cmp eax, ebx
jl 0xa46de0
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0xa46a33
add dword [esp + 0x20], 0x20
sub dword [esp + 0x4c], 1
jne 0xa46a20
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, dword [esp + 0x50]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
jl 0xa46a00
test esi, esi
jne 0xa46f15
mov edi, dword [esp + 0x58]
push str.no_query_solution
call fcn.009e9ff0
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x28]
add esp, 4
test esi, esi
je 0xa46eff
cmp dword [esi + 0x200], 0
je 0xa46ece
cmp eax, dword [esi + 0x10c]
jb 0xa46eaf
cmp eax, dword [esi + 0x110]
jae 0xa46eaf
movzx eax, word [esi + 0xf0]
mov esi, dword [esi + 0x200]
add dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
push eax
call dword [0xb24a48]
mov esi, dword [esi + 0x200]
add esp, 4
add dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp eax, dword [esi + 0x10c]
jb 0xa46eff
cmp eax, dword [esi + 0x110]
jae 0xa46eff
mov edx, dword [esi + 0x108]
mov dword [eax], edx
dec dword [esi + 0xf4]
mov dword [esi + 0x108], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
push eax
call fcn.009e7f60
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp esi, 1
mov ebx, dword [esp + 0x34]
jle 0xa46f36
lea eax, [ebx + 0x20]
dec esi
mov cx, word [ebx + 0x12]
cmp cx, word [eax + 0x12]
jle 0xa46f2e
mov ebx, eax
add eax, 0x20
sub esi, 1
jne 0xa46f22
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x78]
xor ecx, ecx
test ebp, ebp
jle 0xa46f76
lea eax, [edi + 0x304]
lea ebx, [ebx]
mov edx, dword [ebx + 0x18]
mov esi, dword [edx + ecx*4]
mov dword [eax + 0x14], esi
mov dl, byte [esi + 0x10]
mov byte [eax], dl
mov esi, dword [edi + 4]
movzx edx, dl
lea edx, [edx + edx*8]
mov edx, dword [esi + edx*8 + 0x34]
mov dword [eax - 0x20], edx
inc ecx
add eax, 0x48
cmp ecx, ebp
jl 0xa46f50
movzx eax, word [edi + 0x22]
test eax, 0x400
je 0xa46fc1
test eax, 0x200
jne 0xa46fc1
cmp byte [edi + 0x27], 0
jne 0xa46fc1
cmp word [esp + 0x7c], 0
je 0xa46fc1
mov ecx, dword [ebx + 0x18]
mov edx, dword [ecx + ebp*4 - 4]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [edi + 0xc]
push edx
dec ebp
push ebp
push 0x200
push ebx
push eax
push edi
call fcn.00a46320
add esp, 0x1c
cmp eax, 1
jne 0xa46fc1
mov byte [edi + 0x27], 2
cmp byte [ebx + 0x14], 0
je 0xa46fe8
mov ecx, 0x200
test word [edi + 0x22], cx
je 0xa46fd8
mov byte [edi + 0x27], 2
jmp 0xa46fe8
mov byte [edi + 0x24], 1
mov edx, dword [ebx + 8]
mov dword [edi + 0x18], edx
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x1c], eax
mov esi, dword [esp + 0x54]
mov cx, word [ebx + 0x10]
mov eax, dword [esp + 0x24]
mov word [edi + 0x20], cx
test esi, esi
je 0xa4707c
cmp dword [esi + 0x200], 0
je 0xa4704e
cmp eax, dword [esi + 0x10c]
jb 0xa47032
cmp eax, dword [esi + 0x110]
jae 0xa47032
movzx eax, word [esi + 0xf0]
mov esi, dword [esi + 0x200]
add dword [esi], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
push eax
call dword [0xb24a48]
mov esi, dword [esi + 0x200]
add dword [esi], eax
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp eax, dword [esi + 0x10c]
jb 0xa4707c
cmp eax, dword [esi + 0x110]
jae 0xa4707c
mov edx, dword [esi + 0x108]
mov dword [eax], edx
dec dword [esi + 0xf4]
mov dword [esi + 0x108], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
push eax
call fcn.009e7f60
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret