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

Disassembly:
sub esp, 0x6c
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
push ebx
movzx ebx, byte [eax + 0x2b]
push ebp
xor ebp, ebp
cmp ebx, 1
mov dword [esp + 0x50], ecx
mov ecx, dword [ecx]
push esi
push edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], ebx
jg 0x100fd7eb
lea esi, [ebp + 1]
jmp 0x100fd7fa
mov esi, ebx
sub esi, 2
neg esi
sbb esi, esi
and esi, 5
add esi, 5
mov eax, dword [eax + 8]
cmp eax, ebp
mov dword [esp + 0x3c], esi
je 0x100fd813
cmp word [esp + 0x84], bp
je 0x100fd813
mov edi, dword [eax]
jmp 0x100fd815
xor edi, edi
lea eax, [ebx + 8]
imul eax, esi
lea eax, [edi + eax*4]
add eax, eax
cdq
push edx
push eax
mov eax, ecx
mov dword [esp + 0x54], edi
call fcn.10099a10
mov edx, eax
add esp, 8
cmp edx, ebp
mov dword [esp + 0x2c], edx
jne 0x100fd848
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov ecx, esi
shl ecx, 5
lea eax, [ecx + edx]
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x30]
xor eax, eax
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], eax
lea eax, [esi + esi]
add ecx, ebp
test eax, eax
mov dword [esp + 0x24], edx
jle 0x100fd89e
lea esi, [ebx*4]
add edx, 0x18
lea esp, [esp]
mov dword [edx], ecx
sub eax, 1
add edx, 0x20
add ecx, esi
test eax, eax
jg 0x100fd890
test edi, edi
je 0x100fd8b5
lea edx, [edi + edi]
push edx
push 0
push ecx
mov dword [esp + 0x40], ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x1ac]
cmp eax, 0x30
jb 0x100fd8c9
mov eax, 0x30
test edi, edi
mov word [ebp + 0x10], ax
mov eax, 1
je 0x100fd8e4
test ebx, ebx
jle 0x100fd8df
or ecx, 0xffffffff
jmp 0x100fd8e1
mov ecx, edi
mov byte [ebp + 0x16], cl
test ebx, ebx
mov dword [esp + 0x38], 0
jle 0x100fde62
test eax, eax
mov dword [esp + 0x28], 0
jle 0x100fddb1
mov ecx, dword [esp + 0x30]
add ecx, 0x10
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x10]
test eax, eax
mov dword [esp + 0x20], eax
je 0x100fdda1
lea esp, [esp]
mov eax, dword [esp + 0x1c]
mov cl, byte [eax + 6]
mov edx, dword [eax - 0xc]
mov esi, dword [eax - 0x10]
mov edi, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x17], cl
xor ecx, ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov eax, esi
mov ecx, edx
not eax
and eax, dword [edi]
not ecx
and ecx, dword [edi + 4]
mov dword [esp + 0x78], edx
or eax, ecx
jne 0x100fdd8e
mov eax, edi
mov ebp, dword [eax + 0xc]
mov edi, dword [eax + 8]
mov eax, edi
mov ecx, ebp
and eax, esi
and ecx, edx
or eax, ecx
jne 0x100fdd8e
mov ecx, dword [esp + 0x20]
test dword [ecx + 0x24], 0x4000
je 0x100fd99e
mov edx, dword [esp + 0x1c]
cmp word [edx], 0xa
jl 0x100fdd8e
mov eax, dword [esp + 0x1c]
movzx eax, word [eax]
mov dx, word [ecx + 0x14]
movzx ecx, word [ecx + 0x12]
add dx, ax
movzx eax, dx
cmp cx, ax
jl 0x100fd9f7
movsx edx, ax
movsx eax, cx
lea ebx, [edx + 0x31]
cmp eax, ebx
jle 0x100fd9ce
movzx eax, cx
mov dword [esp + 0x18], eax
jmp 0x100fda30
lea ebx, [edx + 0x1f]
cmp eax, ebx
jle 0x100fd9e1
add ecx, 1
movzx ecx, cx
mov dword [esp + 0x18], ecx
jmp 0x100fda30
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 0x100fda30
movsx edx, cx
movsx ecx, ax
lea ebx, [edx + 0x31]
cmp ecx, ebx
jle 0x100fda0d
movzx ecx, ax
mov dword [esp + 0x18], ecx
jmp 0x100fda30
lea ebx, [edx + 0x1f]
cmp ecx, ebx
jle 0x100fda1c
add eax, 1
movzx edx, ax
jmp 0x100fda2c
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 edx, dword [esp + 0x1c]
movzx ecx, word [edx + 4]
mov ax, word [esp + 0x18]
cmp ax, cx
jl 0x100fda6e
movsx ecx, cx
movsx eax, ax
lea ebx, [ecx + 0x31]
cmp eax, ebx
jg 0x100fdaab
lea ebx, [ecx + 0x1f]
cmp eax, ebx
jle 0x100fda5d
add dword [esp + 0x18], 1
jmp 0x100fdaab
sub eax, ecx
movzx ax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add word [esp + 0x18], ax
jmp 0x100fdaab
movsx edx, ax
movsx eax, cx
lea ebx, [edx + 0x31]
cmp eax, ebx
jle 0x100fda80
movzx ecx, cx
jmp 0x100fdaa3
lea ebx, [edx + 0x1f]
cmp eax, ebx
jle 0x100fda93
add ecx, 1
movzx edx, cx
mov dword [esp + 0x18], edx
jmp 0x100fdaa7
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 edx, dword [esp + 0x1c]
movzx eax, word [edx]
mov ecx, dword [esp + 0x20]
mov bx, word [ecx + 0x16]
or ebp, dword [esp + 0x78]
add bx, ax
movzx eax, bx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x50], eax
mov al, byte [esp + 0x17]
or edi, esi
test al, al
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], ebp
jge 0x100fdb04
lea eax, [esp + 0x64]
push eax
movzx eax, word [ebx + 0x24]
push ecx
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [ebx + 8]
push eax
lea eax, [edx - 0x10]
push eax
push ecx
push ebx
call fcn.100fd090
add esp, 0x1c
mov byte [esp + 0x17], al
jmp 0x100fdb12
mov ecx, dword [edx - 8]
mov edx, dword [edx - 4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
test al, al
jl 0x100fdc16
mov ecx, dword [esp + 0x4c]
movsx edi, al
cmp edi, ecx
jge 0x100fdc16
mov eax, dword [esp + 0x34]
cmp word [eax + edi*2], 0
jne 0x100fdb9d
mov eax, ecx
sub eax, edi
imul eax, eax, 0x64
cdq
idiv ecx
mov esi, dword [esp + 0x84]
movzx ebp, si
cdq
push edx
push eax
call fcn.1009d3d0
add esi, 0xffffffce
add ax, si
add esp, 8
test word [ebx + 0x24], 0x4000
movzx esi, ax
je 0x100fdb75
movzx eax, word [ebx + 0x22]
cmp ax, word [esp + 0x84]
jge 0x100fdb75
movzx ebp, ax
cmp bp, 0xa
jg 0x100fdb7f
xor eax, eax
jmp 0x100fdb93
movsx eax, bp
cdq
push edx
push eax
call fcn.1009d3d0
movsx eax, ax
add esp, 8
sub eax, 0x21
mov ecx, dword [esp + 0x34]
add eax, esi
mov word [ecx + edi*2], ax
mov edx, dword [esp + 0x34]
movzx eax, word [edx + edi*2]
mov dx, word [esp + 0x18]
cmp dx, ax
movsx ecx, ax
jl 0x100fdbe6
movsx eax, dx
lea esi, [ecx + 0x31]
cmp eax, esi
jle 0x100fdbc1
movzx ebp, dx
jmp 0x100fdc1b
lea esi, [ecx + 0x1f]
cmp eax, esi
jle 0x100fdbd4
mov eax, dword [esp + 0x18]
add eax, 1
movzx ebp, ax
jmp 0x100fdc1b
sub eax, ecx
movzx cx, byte [eax + str._n_n_t_t_b_b_a_a_a]
add cx, dx
movzx ebp, cx
jmp 0x100fdc1b
movsx edx, dx
lea esi, [edx + 0x31]
cmp ecx, esi
jle 0x100fdbf5
movzx ebp, ax
jmp 0x100fdc1b
lea esi, [edx + 0x1f]
cmp ecx, esi
jle 0x100fdc04
add eax, 1
movzx ebp, ax
jmp 0x100fdc1b
sub ecx, edx
movzx dx, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add dx, ax
movzx ebp, dx
jmp 0x100fdc1b
movzx ebp, word [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
xor eax, eax
test ecx, ecx
jle 0x100fdc59
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov ebx, dword [edi]
cmp ebx, esi
jne 0x100fdc49
mov ebx, dword [edi + 4]
cmp ebx, edx
jne 0x100fdc49
mov bl, byte [edi + 0x16]
xor bl, byte [esp + 0x17]
test bl, bl
jns 0x100fdc55
add eax, 1
add edi, 0x20
cmp eax, ecx
jl 0x100fdc31
jmp 0x100fdc59
cmp eax, ecx
jl 0x100fdca3
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
cmp eax, ebx
jl 0x100fdc91
mov eax, dword [esp + 0x48]
cmp bp, ax
jg 0x100fdd8e
jne 0x100fdc84
mov ax, word [esp + 0x18]
cmp ax, word [esp + 0x44]
jge 0x100fdd8e
mov edi, dword [esp + 0x40]
shl edi, 5
add edi, dword [esp + 0x24]
jmp 0x100fdcc5
mov edi, eax
add eax, 1
shl edi, 5
add edi, dword [esp + 0x24]
mov dword [esp + 0x28], eax
jmp 0x100fdcc5
movzx eax, word [edi + 0x12]
cmp ax, bp
jl 0x100fdd8e
jne 0x100fdcc1
mov cx, word [esp + 0x50]
cmp word [edi + 0x10], cx
jle 0x100fdd8e
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x1c]
or edx, dword [eax - 0x10]
or ecx, dword [eax - 0xc]
add eax, 0xfffffff0
mov eax, dword [esp + 0x68]
mov word [edi + 0x12], bp
mov ebp, dword [esp + 0x38]
mov dword [edi], edx
mov edx, dword [esp + 0x64]
mov dword [edi + 4], ecx
mov cx, word [esp + 0x50]
mov dword [edi + 0xc], eax
mov al, byte [esp + 0x17]
mov dword [edi + 8], edx
mov dx, word [esp + 0x18]
mov word [edi + 0x10], cx
mov ecx, dword [esp + 0x1c]
add ebp, ebp
mov byte [edi + 0x16], al
mov eax, dword [edi + 0x18]
mov word [edi + 0x14], dx
mov edx, dword [ecx + 8]
add ebp, ebp
push ebp
push edx
push eax
call sub.MSVCR80.dll_memcpy
mov ecx, dword [edi + 0x18]
add esp, 0xc
cmp dword [esp + 0x28], ebx
mov dword [ecx + ebp], esi
jl 0x100fdd8e
mov eax, dword [esp + 0x24]
movzx esi, word [eax + 0x12]
movzx edi, word [eax + 0x10]
mov eax, 1
cmp ebx, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edi
jle 0x100fdd8e
mov ecx, dword [esp + 0x24]
add ecx, 0x32
movzx edx, word [ecx]
cmp dx, si
jg 0x100fdd71
jne 0x100fdd7c
cmp word [ecx + 2], di
jle 0x100fdd7c
movzx edi, word [ecx + 2]
movzx esi, dx
mov dword [esp + 0x40], eax
add eax, 1
add ecx, 0x20
cmp eax, ebx
jl 0x100fdd61
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x34]
test eax, eax
mov dword [esp + 0x20], eax
jne 0x100fd930
add dword [esp + 0x1c], 0x20
sub dword [esp + 0x54], 1
jne 0x100fd913
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x38]
add ecx, 1
cmp ecx, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
jl 0x100fd8f4
test eax, eax
jne 0x100fde62
mov esi, dword [esp + 0x58]
push str.no_query_solution
call fcn.1009c190
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
add esp, 4
test ecx, ecx
je 0x100fde4c
cmp dword [ecx + 0x1c8], 0
je 0x100fde1a
call fcn.100996f0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
cmp eax, dword [ecx + 0x120]
jb 0x100fde4c
cmp eax, dword [ecx + 0x124]
jae 0x100fde4c
mov edx, dword [ecx + 0x11c]
mov dword [eax], edx
add dword [ecx + 0x108], 0xffffffff
mov dword [ecx + 0x11c], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
push eax
call fcn.10099680
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
cmp eax, 1
mov ecx, dword [esp + 0x30]
mov edi, ecx
jle 0x100fde87
add ecx, 0x20
add eax, 0xffffffff
mov dx, word [edi + 0x12]
cmp dx, word [ecx + 0x12]
jle 0x100fde7f
mov edi, ecx
add ecx, 0x20
sub eax, 1
jne 0x100fde73
mov ebp, dword [esp + 0x5c]
xor ecx, ecx
test ebp, ebp
jle 0x100fdecf
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x80]
add eax, 0x30c
mov edx, dword [edi + 0x18]
mov esi, dword [edx + ecx*4]
mov dword [eax + 0x14], esi
mov dl, byte [esi + 0x10]
mov byte [eax], dl
mov esi, dword [ebx + 4]
movzx edx, dl
lea edx, [edx + edx*4]
shl edx, 4
mov edx, dword [edx + esi + 0x38]
mov dword [eax - 0x28], edx
add ecx, 1
add eax, 0x50
cmp ecx, ebp
jl 0x100fdea4
mov esi, dword [esp + 0x80]
movzx eax, word [esi + 0x24]
test eax, 0x400
je 0x100fdf2b
test eax, 0x200
jne 0x100fdf2b
cmp byte [esi + 0x2a], 0
jne 0x100fdf2b
cmp word [esp + 0x84], 0
je 0x100fdf2b
mov ecx, dword [edi + 0x18]
mov edx, dword [ecx + ebp*4 - 4]
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x74]
push eax
push edx
lea eax, [ebp - 1]
push eax
push 0x200
push edi
push ecx
push esi
call fcn.100fd090
mov edx, dword [esi + 0xc]
movsx eax, al
add esp, 0x1c
cmp eax, dword [edx]
jne 0x100fdf2b
mov byte [esi + 0x2a], 2
mov ecx, dword [esi + 8]
xor ebx, ebx
cmp ecx, ebx
je 0x100fdfc7
movzx edx, word [esi + 0x24]
test edx, 0x200
je 0x100fdf52
movsx eax, byte [edi + 0x16]
cmp eax, dword [ecx]
jne 0x100fdf6c
mov byte [esi + 0x2a], 2
jmp 0x100fdf6c
mov al, byte [edi + 0x16]
test al, al
mov byte [esi + 0x26], al
jge 0x100fdf60
mov byte [esi + 0x26], 0
mov eax, dword [edi + 8]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x1c], eax
test edx, 0x800
je 0x100fdfc7
movsx edx, byte [esi + 0x26]
cmp edx, dword [ecx]
jne 0x100fdfc7
cmp ebp, ebx
jle 0x100fdfc7
mov edx, dword [edi + 0x18]
lea eax, [esp + 0x64]
push eax
mov eax, dword [edx + ebp*4 - 4]
push eax
add ebp, 0xffffffff
push ebp
push ebx
push edi
push ecx
push esi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
call fcn.100fd090
mov ecx, dword [esi + 8]
movsx eax, al
add esp, 0x1c
cmp eax, dword [ecx]
jne 0x100fdfc7
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov byte [esi + 0x27], 1
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov cx, word [edi + 0x10]
mov word [esi + 0x20], cx
mov ecx, dword [esp + 0x60]
cmp ecx, ebx
je 0x100fe025
cmp dword [ecx + 0x1c8], ebx
je 0x100fdff2
mov eax, dword [esp + 0x2c]
call fcn.100996f0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov esi, dword [esp + 0x2c]
cmp esi, dword [ecx + 0x120]
jb 0x100fe029
cmp esi, dword [ecx + 0x124]
jae 0x100fe029
mov edx, dword [ecx + 0x11c]
mov dword [esi], edx
add dword [ecx + 0x108], 0xffffffff
mov dword [ecx + 0x11c], esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov esi, dword [esp + 0x2c]
cmp dword [0x1013b0d8], ebx
je 0x100fe082
mov eax, dword [0x10151798]
cmp eax, ebx
je 0x100fe044
push eax
call dword [0x1013b130]
add esp, 4
push esi
call dword [0x1013b10c]
sub dword [0x101515e8], eax
sub dword [0x1015160c], 1
add esp, 4
push esi
call dword [0x1013b104]
mov eax, dword [0x10151798]
add esp, 4
cmp eax, ebx
je 0x100fe08c
push eax
call dword [0x1013b138]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
push esi
call dword [0x1013b104]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c
ret