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

Disassembly:
sub esp, 0x7c
push ebx
mov ebx, ecx
mov dword [esp + 0x44], 0
push ebp
push esi
mov bp, dx
mov dword [esp + 0x24], ebx
mov eax, dword [ebx]
mov dword [esp + 0x74], eax
push edi
mov word [esp + 0x16], bp
mov esi, dword [eax]
mov al, byte [ebx + 0x2c]
movzx edx, al
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x84], esi
mov byte [esp + 0x14], al
mov dword [esp + 0x2c], edx
cmp edx, 1
ja 0x101a757e
mov edi, 1
jmp 0x101a758e
cmp edx, 2
mov edi, 0xa
mov eax, 5
cmove edi, eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x4c], edi
test eax, eax
je 0x101a75a2
test bp, bp
je 0x101a75a2
mov ecx, dword [eax]
jmp 0x101a75a4
xor ecx, ecx
lea eax, [edx*4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x60], eax
add eax, 0x20
imul eax, edi
add eax, ecx
mov ecx, esi
add eax, eax
cdq
push edx
push eax
call fcn.10134010
mov edx, eax
add esp, 8
mov dword [esp + 0x34], edx
test edx, edx
jne 0x101a75df
lea eax, [edx + 7]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
mov eax, edi
xorps xmm0, xmm0
shl eax, 5
mov esi, edx
lea ecx, [eax + edx]
mov dword [esp + 0x3c], esi
movups xmmword [ecx], xmm0
mov dword [esp + 0x30], ecx
movups xmmword [ecx + 0x10], xmm0
add ecx, eax
lea eax, [edi + edi]
mov edi, dword [esp + 0x60]
add edx, 0x18
mov dword [edx], ecx
lea edx, [edx + 0x20]
dec eax
add ecx, edi
test eax, eax
jg 0x101a7607
mov edx, dword [esp + 0x38]
test edx, edx
je 0x101a7632
lea eax, [edx + edx]
mov dword [esp + 0x64], ecx
push eax
push 0
push ecx
call fcn.101ffde0
mov edx, dword [esp + 0x44]
add esp, 0xc
mov eax, dword [esp + 0x78]
mov ecx, 0x30
mov edi, dword [esp + 0x30]
mov eax, dword [eax + 0x84]
cmp eax, ecx
cmovb ecx, eax
mov eax, 1
mov word [edi + 0x10], cx
mov cl, byte [esp + 0x14]
mov dword [esp + 0x5c], eax
test edx, edx
je 0x101a7672
movzx eax, dl
or edx, 0xffffffff
test cl, cl
cmovne eax, edx
mov byte [edi + 0x16], al
mov eax, 1
xor edx, edx
mov dword [esp + 0x40], edx
test cl, cl
je 0x101a7c57
mov ebp, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test eax, eax
jle 0x101a7b7d
lea ebp, [edi + 0x10]
mov dword [esp + 0x20], ebp
nop dword [eax]
mov ebx, dword [ebx + 0x3c]
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x101a7b55
nop
mov al, byte [ebp + 6]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x10]
mov ecx, edx
mov esi, dword [ebp - 0xc]
not ecx
and ecx, dword [ebx]
mov byte [esp + 0x15], al
mov eax, esi
not eax
movlpd qword [esp + 0x68], xmm0
and eax, dword [ebx + 4]
or ecx, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
jne 0x101a7b3e
mov ecx, edx
mov eax, esi
and ecx, dword [ebx + 8]
and eax, dword [ebx + 0xc]
or ecx, eax
jne 0x101a7b3e
test dword [ebx + 0x24], 0x4000
je 0x101a7709
cmp word [ebp], 3
jl 0x101a7b3e
movzx ebp, word [ebp]
mov ax, word [ebx + 0x14]
movzx edi, word [ebx + 0x12]
add ax, bp
movzx esi, ax
movsx ecx, di
movsx edx, si
cmp di, si
jl 0x101a774b
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x101a7731
mov esi, edi
jmp 0x101a776d
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x101a773d
lea eax, [edi + 1]
jmp 0x101a776a
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, di
jmp 0x101a776a
lea eax, [ecx + 0x31]
cmp edx, eax
jg 0x101a776d
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x101a775e
lea eax, [esi + 1]
jmp 0x101a776a
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, si
movzx esi, ax
mov eax, dword [esp + 0x20]
mov bx, si
mov dword [esp + 0x18], esi
movsx ecx, bx
movzx edi, word [eax + 4]
movsx edx, di
cmp bx, di
jl 0x101a77af
lea eax, [edx + 0x31]
cmp ecx, eax
jg 0x101a77dc
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x101a7798
inc esi
jmp 0x101a77d5
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add bx, ax
mov word [esp + 0x18], bx
mov esi, dword [esp + 0x18]
jmp 0x101a77dc
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x101a77ba
mov esi, edi
jmp 0x101a77d5
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x101a77c6
lea eax, [edi + 1]
jmp 0x101a77d2
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, di
movzx esi, ax
mov dword [esp + 0x18], esi
mov bx, si
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x48]
mov ax, word [ecx + 0x16]
or edi, dword [ecx + 0xc]
add ax, bp
mov ebp, dword [esp + 0x44]
or ebp, dword [ecx + 8]
movzx eax, ax
mov dword [esp + 0x74], eax
mov ah, byte [esp + 0x15]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edi
test ah, ah
jns 0x101a784f
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push dword [esp + 0x48]
movzx eax, word [eax + 0x28]
push eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
push eax
mov eax, dword [esp + 0x3c]
mov ecx, eax
mov edx, dword [eax + 8]
call fcn.101a6cc0
mov edx, dword [esp + 0x7c]
mov ah, al
mov ecx, dword [esp + 0x80]
add esp, 0x14
mov byte [esp + 0x15], ah
mov dword [esp + 0x68], edx
jmp 0x101a785d
mov edx, dword [esp + 0x20]
mov ecx, dword [edx - 8]
mov dword [esp + 0x68], ecx
mov ecx, dword [edx - 4]
mov dword [esp + 0x70], ecx
test ah, ah
js 0x101a79be
movsx ecx, ah
cmp ecx, dword [esp + 0x38]
jge 0x101a79be
mov eax, dword [esp + 0x64]
lea eax, [eax + ecx*2]
mov dword [esp + 0x18], eax
movzx eax, word [eax]
mov edx, eax
test ax, ax
jne 0x101a78ff
mov ebp, dword [esp + 0x38]
mov eax, ebp
sub eax, ecx
movzx edi, word [esp + 0x16]
imul eax, eax, 0x64
cdq
idiv ebp
cdq
push edx
push eax
call fcn.10138470
mov dx, word [esp + 0x1e]
mov ecx, 0x4000
add esp, 8
lea ebp, [edx + eax]
mov eax, dword [esp + 0x28]
test word [eax + 0x28], cx
je 0x101a78cb
movzx ecx, word [eax + 0x2a]
cmp cx, dx
jge 0x101a78cb
mov edi, ecx
movzx eax, di
cmp di, 0xa
jg 0x101a78d9
movzx eax, bp
jmp 0x101a78ee
cwde
cdq
push edx
push eax
call fcn.10138470
lea ecx, [ebp - 0x21]
add esp, 8
add ax, cx
movzx eax, ax
mov ecx, dword [esp + 0x18]
add eax, 0xffffffce
mov ebp, dword [esp + 0x44]
movzx edx, ax
mov word [ecx], ax
movzx edi, dx
movsx ecx, bx
movsx edx, di
cmp bx, di
jl 0x101a7969
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x101a792a
mov edi, dword [esp + 0x48]
movzx eax, bx
add eax, 5
movzx edx, ax
mov ah, byte [esp + 0x15]
jmp 0x101a79cb
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x101a794a
mov edi, dword [esp + 0x48]
lea eax, [esi + 1]
movzx eax, ax
add eax, 5
movzx edx, ax
mov ah, byte [esp + 0x15]
jmp 0x101a79cb
mov edi, dword [esp + 0x48]
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, bx
movzx eax, ax
add eax, 5
movzx edx, ax
mov ah, byte [esp + 0x15]
jmp 0x101a79cb
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x101a7982
mov eax, edi
mov edi, dword [esp + 0x48]
add eax, 5
movzx edx, ax
mov ah, byte [esp + 0x15]
jmp 0x101a79cb
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x101a799f
lea eax, [edi + 1]
mov edi, dword [esp + 0x48]
movzx eax, ax
add eax, 5
movzx edx, ax
mov ah, byte [esp + 0x15]
jmp 0x101a79cb
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, di
mov edi, dword [esp + 0x48]
movzx eax, ax
add eax, 5
movzx edx, ax
mov ah, byte [esp + 0x15]
jmp 0x101a79cb
sub esi, 2
movzx edx, bx
mov dword [esp + 0x18], esi
mov bx, si
mov esi, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
jle 0x101a79f5
cmp dword [esi], ebp
jne 0x101a79eb
cmp dword [esi + 4], edi
jne 0x101a79eb
mov al, byte [esi + 0x16]
xor al, ah
jge 0x101a7b00
inc ecx
add esi, 0x20
cmp ecx, dword [esp + 0x1c]
jl 0x101a79d7
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x4c]
cmp ecx, edi
jl 0x101a7a1b
mov ebp, dword [esp + 0x58]
cmp dx, bp
jg 0x101a7be1
jne 0x101a7a1b
cmp bx, word [esp + 0x54]
jge 0x101a7be1
cmp ecx, edi
lea eax, [ecx + 1]
mov esi, ecx
cmovge esi, dword [esp + 0x50]
shl esi, 5
add esi, dword [esp + 0x3c]
cmp ecx, edi
cmovge eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
or eax, dword [edi - 0xc]
or ecx, dword [edi - 0x10]
mov edi, dword [esp + 0x74]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0xc], eax
mov al, byte [esp + 0x15]
mov byte [esi + 0x16], al
mov eax, dword [esp + 0x40]
mov word [esi + 0x10], di
mov dword [esi], ecx
mov word [esi + 0x12], dx
lea edi, [eax*4]
mov word [esi + 0x14], bx
push edi
push dword [ebp + 8]
push dword [esi + 0x18]
call fcn.101feb30
mov eax, dword [esi + 0x18]
add esp, 0xc
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [edi + eax], ebx
mov edi, dword [esp + 0x4c]
cmp ecx, edi
jl 0x101a7b42
mov eax, dword [esp + 0x3c]
mov ecx, 1
mov dword [esp + 0x50], 0
movzx ebp, word [eax + 0x12]
movzx esi, word [eax + 0x10]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], esi
cmp edi, ecx
jbe 0x101a7b3a
add eax, 0x34
movzx edx, word [eax - 2]
cmp dx, bp
jg 0x101a7ae5
jne 0x101a7aee
cmp word [eax], si
jle 0x101a7aee
movzx esi, word [eax]
mov ebp, edx
mov dword [esp + 0x50], ecx
inc ecx
add eax, 0x20
cmp ecx, edi
jl 0x101a7ad5
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebp
jmp 0x101a7b3a
cmp ecx, dword [esp + 0x1c]
jge 0x101a79f5
movzx eax, word [esi + 0x12]
cmp ax, dx
jl 0x101a7b36
jne 0x101a7a37
movzx eax, word [esi + 0x10]
mov edi, dword [esp + 0x74]
cmp ax, di
jl 0x101a7b36
jne 0x101a7a37
cmp word [esi + 0x14], bx
jg 0x101a7a37
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ebx + 0x34]
mov dword [esp + 0x24], ebx
test ebx, ebx
jne 0x101a76b0
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x28]
add ebp, 0x20
sub eax, 1
mov dword [esp + 0x20], ebp
mov dword [esp + 0x5c], eax
jne 0x101a76a0
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov eax, esi
mov dword [esp + 0x3c], edi
mov esi, edi
inc edx
mov dword [esp + 0x40], edx
mov edi, eax
mov dword [esp + 0x30], edi
mov eax, ecx
mov dword [esp + 0x5c], eax
cmp edx, ebp
jl 0x101a7684
test ecx, ecx
jne 0x101a7c52
push str.no_query_solution
push dword [esp + 0x7c]
call fcn.10137110
mov ecx, dword [esp + 0x8c]
add esp, 8
mov edx, dword [esp + 0x34]
test ecx, ecx
je 0x101a7c3c
cmp dword [ecx + 0x1f8], 0
je 0x101a7bee
call fcn.10133cd0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
jmp 0x101a7b42
cmp edx, dword [ecx + 0x14c]
jae 0x101a7c3c
cmp edx, dword [ecx + 0x144]
jb 0x101a7c19
mov eax, dword [ecx + 0x140]
mov dword [edx], eax
mov eax, 1
mov dword [ecx + 0x140], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
cmp edx, dword [ecx + 0x148]
jb 0x101a7c3c
mov eax, dword [ecx + 0x138]
mov dword [edx], eax
mov eax, 1
mov dword [ecx + 0x138], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
push edx
call fcn.10133c60
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
mov bp, word [esp + 0x16]
cmp eax, 1
jle 0x101a7c7d
lea edx, [edi + 0x20]
lea esi, [eax - 1]
mov ax, word [edi + 0x12]
mov ecx, edx
cmp ax, word [edx + 0x12]
cmovle ecx, edi
add edx, 0x20
mov edi, ecx
sub esi, 1
jne 0x101a7c62
mov dword [esp + 0x30], edi
xor esi, esi
cmp byte [esp + 0x14], 0
jbe 0x101a7cc0
lea edx, [ebx + 0x324]
nop dword [eax]
mov eax, dword [edi + 0x18]
lea edx, [edx + 0x58]
mov eax, dword [eax + esi*4]
inc esi
mov dword [edx - 0x44], eax
mov al, byte [eax + 0x10]
mov byte [edx - 0x58], al
movzx eax, al
lea ecx, [eax + eax*8]
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*8 + 0x34]
mov ecx, dword [esp + 0x2c]
mov dword [edx - 0x88], eax
cmp esi, ecx
jl 0x101a7c90
jmp 0x101a7cc4
mov ecx, dword [esp + 0x2c]
mov ax, word [ebx + 0x28]
mov edx, 0x180
and ax, dx
mov edx, 0x100
cmp ax, dx
jne 0x101a7d1d
cmp byte [ebx + 0x2f], 0
jne 0x101a7d1d
test bp, bp
je 0x101a7d1d
lea eax, [esp + 0x78]
push eax
mov eax, dword [edi + 0x18]
lea edx, [ecx*4]
push dword [eax + edx - 4]
mov edx, dword [ebx + 0xc]
lea eax, [ecx - 1]
push eax
push 0x80
push edi
mov ecx, ebx
call fcn.101a6cc0
movsx ecx, al
add esp, 0x14
mov eax, dword [ebx + 0xc]
cmp ecx, dword [eax]
jne 0x101a7d1d
mov byte [ebx + 0x2f], 2
and dword [ebx + 0x30], 0xfffffffb
mov edi, dword [ebx + 8]
mov ebp, dword [esp + 0x30]
test edi, edi
je 0x101a7e50
test byte [ebx + 0x28], 0x80
mov cl, byte [ebp + 0x16]
je 0x101a7d4b
movsx eax, cl
cmp eax, dword [edi]
jne 0x101a7d44
mov byte [ebx + 0x2f], 2
mov esi, edi
jmp 0x101a7deb
mov byte [ebx + 0x2d], cl
test cl, cl
mov eax, dword [ebp + 8]
mov esi, edi
mov cl, byte [esp + 0x14]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x4c], eax
jg 0x101a7def
mov byte [ebx + 0x2d], 0
test cl, cl
je 0x101a7def
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x60]
mov ebx, dword [eax + ecx - 4]
mov eax, dword [ebx + 0x24]
and eax, 0x104
cmp eax, 0x104
setne cl
bt dword [ebx + 0x24], 0xc
setae al
test al, cl
je 0x101a7de7
lea eax, [esp + 0x78]
xorps xmm0, xmm0
push eax
mov eax, dword [esp + 0x30]
mov edx, edi
push ebx
mov ebx, dword [esp + 0x30]
dec eax
push eax
push 0x800
push ebp
mov ecx, ebx
movlpd qword [esp + 0x8c], xmm0
call fcn.101a6cc0
mov esi, dword [ebx + 8]
add esp, 0x14
movsx eax, al
cmp eax, dword [esi]
jne 0x101a7deb
mov eax, dword [esp + 0x78]
or dword [ebx + 0x30], 4
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x4c], eax
jmp 0x101a7deb
mov ebx, dword [esp + 0x28]
mov cl, byte [esp + 0x14]
mov eax, 0x200
test word [ebx + 0x28], ax
je 0x101a7e50
movsx eax, byte [ebx + 0x2d]
cmp eax, dword [esi]
jne 0x101a7e50
test cl, cl
je 0x101a7e50
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
mov edx, esi
movlpd qword [esp + 0x7c], xmm0
push dword [eax + ecx - 4]
mov eax, dword [esp + 0x34]
mov ecx, ebx
dec eax
push eax
push 0
push ebp
call fcn.101a6cc0
movsx ecx, al
add esp, 0x14
mov eax, dword [ebx + 8]
cmp ecx, dword [eax]
jne 0x101a7e50
mov eax, dword [esp + 0x78]
or dword [ebx + 0x30], 8
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x4c], eax
mov ax, word [ebp + 0x10]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x34]
mov word [ebx + 0x34], ax
test ecx, ecx
je 0x101a7ec7
cmp dword [ecx + 0x1f8], 0
je 0x101a7e7f
call fcn.10133cd0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
cmp edx, dword [ecx + 0x14c]
jae 0x101a7ec7
cmp edx, dword [ecx + 0x144]
jb 0x101a7ea7
mov eax, dword [ecx + 0x140]
mov dword [edx], eax
xor eax, eax
mov dword [ecx + 0x140], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
cmp edx, dword [ecx + 0x148]
jb 0x101a7ec7
mov eax, dword [ecx + 0x138]
mov dword [edx], eax
xor eax, eax
mov dword [ecx + 0x138], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
push edx
call fcn.10133c60
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret