Function at 0x101141b0
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 0x101141e3
mov edi, ebx
jmp 0x101141f2
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.100b4bf0
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
jne 0x1011421c
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 0x10114264
lea edi, [ebx*4]
add esi, 0x18
mov dword [esi], ecx
dec eax
add esi, 0x20
add ecx, edi
test eax, eax
jg 0x10114258
mov eax, dword [ebp + 0x1c8]
cmp eax, 0x2e
jb 0x10114274
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 0x101142c8
mov edi, dword [esp + 0x7c]
cmp di, bp
je 0x101142c8
movsx eax, di
cdq
push edx
push eax
call fcn.100b7ad0
movzx eax, ax
add esp, 8
cmp ax, 0x21
jle 0x101142bb
cwde
sub eax, 0x21
add eax, edi
movzx ecx, ax
mov dword [esp + 0x44], ecx
jmp 0x101142cc
xor eax, eax
mov eax, edi
movzx ecx, ax
mov dword [esp + 0x44], ecx
jmp 0x101142cc
mov byte [edx + 0x15], 1
cmp ebx, ebp
mov dword [esp + 0x2c], ebp
jle 0x101147f5
jmp 0x101142e0
mov dword [esp + 0x30], 0
test esi, esi
jle 0x1011470a
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 0x101146fa
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 0x101146e7
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 0x101146e7
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 0x101143c6
movsx edx, ax
movsx eax, cx
lea esi, [edx + 0x31]
cmp eax, esi
jle 0x1011439f
movzx eax, cx
mov dword [esp + 0x18], eax
jmp 0x101143fd
lea esi, [edx + 0x1f]
cmp eax, esi
jle 0x101143b0
inc ecx
movzx ecx, cx
mov dword [esp + 0x18], ecx
jmp 0x101143fd
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 0x101143fd
movsx edx, cx
movsx ecx, ax
lea esi, [edx + 0x31]
cmp ecx, esi
jle 0x101143dc
movzx ecx, ax
mov dword [esp + 0x18], ecx
jmp 0x101143fd
lea esi, [edx + 0x1f]
cmp ecx, esi
jle 0x101143e9
inc eax
movzx edx, ax
jmp 0x101143f9
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 0x1011443d
movsx ecx, cx
movsx eax, si
lea edx, [ecx + 0x31]
cmp eax, edx
jg 0x10114479
lea edx, [ecx + 0x1f]
cmp eax, edx
jle 0x10114429
inc dword [esp + 0x18]
jmp 0x10114474
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 0x10114479
movsx edx, si
movsx eax, cx
lea esi, [edx + 0x31]
cmp eax, esi
jle 0x1011444f
movzx ecx, cx
jmp 0x10114470
lea esi, [edx + 0x1f]
cmp eax, esi
jle 0x10114460
inc ecx
movzx edx, cx
mov dword [esp + 0x18], edx
jmp 0x10114474
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 0x10114580
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.10113c00
add esp, 0x1c
sub eax, 0
je 0x101144f9
sub eax, 1
jne 0x1011458e
mov byte [esp + 0x17], 1
mov byte [esp + 0x16], 1
jmp 0x1011458e
mov edx, dword [esp + 0x44]
cmp si, dx
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], 1
jl 0x1011453a
movsx ecx, dx
movsx eax, si
lea edx, [ecx + 0x31]
cmp eax, edx
jg 0x1011458e
lea edx, [ecx + 0x1f]
cmp eax, edx
jle 0x1011452b
inc dword [esp + 0x18]
mov si, word [esp + 0x18]
jmp 0x1011458e
sub eax, ecx
movzx ax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add si, ax
jmp 0x1011458e
movsx ecx, si
movsx eax, dx
lea esi, [ecx + 0x31]
cmp eax, esi
jle 0x10114553
movzx ecx, dx
mov dword [esp + 0x18], ecx
mov si, cx
jmp 0x1011458e
lea esi, [ecx + 0x1f]
cmp eax, esi
jle 0x10114567
inc edx
movzx edx, dx
mov dword [esp + 0x18], edx
mov si, dx
jmp 0x1011458e
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 0x1011458e
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 0x101145e3
mov edx, dword [esp + 0x48]
mov eax, dword [ebp]
cmp eax, dword [esp + 0x64]
jne 0x101145d5
mov eax, dword [ebp + 4]
cmp eax, dword [esp + 0x68]
jne 0x101145d5
mov al, byte [esp + 0x16]
cmp byte [ebp + 0x15], al
jne 0x101145d5
movzx eax, word [ebp + 0x12]
cmp ax, si
jg 0x101145cf
cmp word [ebp + 0x10], dx
jle 0x101145df
cmp ax, si
jl 0x101145d5
cmp word [ebp + 0x10], dx
jge 0x101145df
inc ecx
add ebp, 0x20
cmp ecx, edi
jl 0x101145a0
jmp 0x101145e3
cmp ecx, edi
jl 0x10114613
mov ebx, dword [esp + 0x38]
cmp edi, ebx
jl 0x10114603
cmp si, word [esp + 0x40]
jge 0x101146e7
mov ebp, dword [esp + 0x3c]
shl ebp, 5
add ebp, dword [esp + 0x28]
jmp 0x10114627
mov ebp, edi
inc edi
shl ebp, 5
add ebp, dword [esp + 0x28]
mov dword [esp + 0x30], edi
jmp 0x10114627
cmp word [ebp + 0x12], si
jg 0x10114623
cmp word [ebp + 0x10], dx
jle 0x101146e7
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.10130710
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x28]
add esp, 0xc
cmp edi, ebx
mov dword [esi + ecx], edx
jl 0x101146e7
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 0x101146e7
add ecx, 0x32
lea esp, [esp]
movzx edx, word [ecx]
cmp dx, di
jg 0x101146d0
jne 0x101146db
cmp word [ecx - 2], si
jle 0x101146db
movzx esi, word [ecx - 2]
movzx edi, dx
mov dword [esp + 0x3c], eax
inc eax
add ecx, 0x20
cmp eax, ebx
jl 0x101146c0
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x10114313
add dword [esp + 0x20], 0x20
sub dword [esp + 0x4c], 1
jne 0x10114300
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 0x101142e0
test esi, esi
jne 0x101147f5
mov edi, dword [esp + 0x58]
push str.no_query_solution
call fcn.100b69f0
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x28]
add esp, 4
test esi, esi
je 0x101147df
cmp dword [esi + 0x200], 0
je 0x101147ae
cmp eax, dword [esi + 0x10c]
jb 0x1011478f
cmp eax, dword [esi + 0x110]
jae 0x1011478f
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 [0x1018e8c0]
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 0x101147df
cmp eax, dword [esi + 0x110]
jae 0x101147df
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.100b4950
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 0x10114816
lea eax, [ebx + 0x20]
dec esi
mov cx, word [ebx + 0x12]
cmp cx, word [eax + 0x12]
jle 0x1011480e
mov ebx, eax
add eax, 0x20
sub esi, 1
jne 0x10114802
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x78]
xor ecx, ecx
test ebp, ebp
jle 0x10114856
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 0x10114830
movzx eax, word [edi + 0x22]
test eax, 0x400
je 0x101148a1
test eax, 0x200
jne 0x101148a1
cmp byte [edi + 0x27], 0
jne 0x101148a1
cmp word [esp + 0x7c], 0
je 0x101148a1
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.10113c00
add esp, 0x1c
cmp eax, 1
jne 0x101148a1
mov byte [edi + 0x27], 2
cmp byte [ebx + 0x14], 0
je 0x101148c8
mov ecx, 0x200
test word [edi + 0x22], cx
je 0x101148b8
mov byte [edi + 0x27], 2
jmp 0x101148c8
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 0x1011495c
cmp dword [esi + 0x200], 0
je 0x1011492e
cmp eax, dword [esi + 0x10c]
jb 0x10114912
cmp eax, dword [esi + 0x110]
jae 0x10114912
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 [0x1018e8c0]
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 0x1011495c
cmp eax, dword [esi + 0x110]
jae 0x1011495c
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.100b4950
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret