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

Disassembly:
sub esp, 0x8c
push ebx
mov ebx, ecx
mov word [esp + 0x2a], dx
xor ecx, ecx
mov dword [esp + 0x7c], ebx
mov eax, ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x48], eax
mov eax, dword [ebx]
push ebp
push esi
mov dword [esp + 0x88], eax
mov esi, dword [eax]
mov al, byte [ebx + 0x2e]
movzx ebp, al
mov byte [esp + 0xe], al
xor eax, eax
inc eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x94], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x90], eax
push edi
cmp ebp, eax
ja 0x10073c35
mov ecx, eax
jmp 0x10073c44
xor ecx, ecx
cmp ebp, 2
setne cl
dec ecx
and ecx, 0xfffffffb
add ecx, 0xa
mov eax, dword [ebx + 8]
mov dword [esp + 0x30], ecx
test eax, eax
je 0x10073c58
test dx, dx
je 0x10073c58
mov edx, dword [eax]
jmp 0x10073c5a
xor edx, edx
mov eax, ebp
mov dword [esp + 0x44], edx
shl eax, 2
mov dword [esp + 0x5c], eax
add eax, 0x20
imul eax, ecx
mov ecx, esi
add eax, edx
add eax, eax
cdq
push edx
push eax
call fcn.10023fa8
mov dword [esp + 0x98], eax
pop ecx
pop ecx
test eax, eax
jne 0x10073c90
push 7
pop eax
jmp 0x1007437f
mov esi, dword [esp + 0x30]
mov edx, esi
shl edx, 5
add esi, esi
mov dword [esp + 0x14], eax
push 8
pop ecx
lea ebp, [edx + eax]
xor eax, eax
mov edi, ebp
mov dword [esp + 0x1c], ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x90]
lea ecx, [edx + ebp]
mov edx, dword [esp + 0x5c]
add eax, 0x18
mov dword [eax], ecx
dec esi
add ecx, edx
lea eax, [eax + 0x20]
test esi, esi
jg 0x10073cc0
mov edx, dword [esp + 0x44]
test edx, edx
je 0x10073ceb
lea eax, [edx + edx]
mov dword [esp + 0x6c], ecx
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x50]
add esp, 0xc
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 0x7c]
cmp eax, 0x30
jb 0x10073cfd
push 0x30
pop eax
mov cl, byte [esp + 0x12]
mov word [ebp + 0x10], ax
xor eax, eax
inc eax
mov dword [esp + 0x38], eax
test edx, edx
je 0x10073d21
test cl, cl
je 0x10073d19
or eax, 0xffffffff
jmp 0x10073d1b
mov eax, edx
mov byte [ebp + 0x16], al
xor eax, eax
inc eax
xor esi, esi
mov dword [esp + 0x64], esi
test cl, cl
je 0x10074127
mov ecx, dword [esp + 0x40]
xor edx, edx
mov dword [esp + 0x58], edx
test eax, eax
jle 0x100740ea
lea esi, [ebp + 0x10]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x18], esi
mov edi, dword [ebx + 0x3c]
mov dword [esp + 0x20], edi
test edi, edi
je 0x100740ca
mov al, byte [esi + 6]
and dword [esp + 0x24], 0
and dword [esp + 0x28], 0
mov byte [esp + 0x13], al
lea eax, [esi - 0x10]
mov ecx, dword [eax]
mov dword [esp + 0x80], eax
not ecx
mov eax, dword [eax + 4]
and ecx, dword [edi]
not eax
and eax, dword [edi + 4]
or ecx, eax
jne 0x100740b7
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x48], ecx
mov ecx, eax
and ecx, dword [esi - 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
and eax, dword [esi - 0xc]
or ecx, eax
jne 0x100740b7
mov eax, 0x4000
test dword [edi + 0x24], eax
je 0x10073dc2
cmp word [esi], 3
jl 0x100740b7
movzx esi, word [esi]
movzx edx, word [edi + 0x14]
mov cx, word [edi + 0x12]
add dx, si
call fcn.100272e0
mov ecx, dword [esp + 0x18]
mov dx, word [ecx + 4]
mov ecx, eax
call fcn.100272e0
mov ecx, dword [esp + 0x80]
movzx eax, ax
mov dword [esp + 0x3c], eax
mov ax, word [edi + 0x16]
add ax, si
movzx eax, ax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x4c]
or eax, dword [ecx]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
or eax, dword [ecx + 4]
cmp byte [esp + 0x13], 0
mov dword [esp + 0x48], eax
jge 0x10073e64
lea edx, [esp + 0x24]
push edx
mov edx, dword [ebx + 8]
lea eax, [ebx + 0x2c]
push edi
push dword [esp + 0x6c]
mov dword [esp + 0x6c], eax
movzx eax, word [eax]
push eax
push ecx
mov ecx, ebx
call fcn.10073486
mov edx, dword [esp + 0x3c]
add esp, 0x14
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x24]
mov byte [esp + 0x13], al
mov dword [esp + 0x70], edx
test al, al
js 0x10073f06
mov edi, dword [esp + 0x60]
jmp 0x10073e7d
mov eax, dword [esp + 0x18]
lea edi, [ebx + 0x2c]
mov ecx, dword [eax - 8]
mov eax, dword [eax - 4]
mov dword [esp + 0x74], eax
mov al, byte [esp + 0x13]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x44]
movzx esi, al
cmp esi, ecx
jge 0x10073f06
mov eax, dword [esp + 0x6c]
movzx eax, word [eax + esi*2]
mov edx, eax
test ax, ax
jne 0x10073ef4
movzx eax, word [esp + 0x36]
mov dword [esp + 0x60], eax
mov eax, ecx
sub eax, esi
imul eax, eax, 0x64
cdq
idiv ecx
cdq
push edx
push eax
call fcn.1002733e
mov dx, word [esp + 0x3e]
add ax, dx
mov dword [esp + 0x84], eax
mov eax, 0x4000
pop ecx
pop ecx
test word [edi], ax
je 0x10073ed6
movzx ecx, word [ebx + 0x14]
cmp cx, dx
jl 0x10073eda
mov ecx, dword [esp + 0x60]
call fcn.10070913
mov ecx, dword [esp + 0x7c]
add ecx, 0xffffffce
add ax, cx
mov ecx, dword [esp + 0x6c]
movzx edx, ax
mov word [ecx + esi*2], ax
mov ecx, dword [esp + 0x3c]
call fcn.100272e0
add ax, 5
movzx esi, ax
jmp 0x10073f14
mov eax, dword [esp + 0x3c]
movzx esi, ax
sub eax, 2
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x58]
xor ecx, ecx
mov edi, dword [esp + 0x14]
test edx, edx
jle 0x10074074
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov bl, byte [esp + 0x13]
cmp dword [edi], eax
jne 0x10073f46
cmp dword [edi + 4], ebp
jne 0x10073f46
mov al, byte [edi + 0x16]
xor al, bl
jge 0x10073f4e
mov eax, dword [esp + 0x4c]
inc ecx
add edi, 0x20
cmp ecx, edx
jl 0x10073f32
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x30]
cmp ecx, edx
jge 0x10074074
movzx eax, word [edi + 0x12]
cmp ax, si
jl 0x100740af
jne 0x10073f94
movzx eax, word [edi + 0x10]
mov ecx, dword [esp + 0x84]
cmp ax, cx
jl 0x100740af
jne 0x10073f94
mov eax, dword [esp + 0x3c]
cmp word [edi + 0x14], ax
jle 0x100740af
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
or eax, dword [edx + 0xc]
or ecx, dword [edx + 8]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x70]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x74]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x84]
mov word [edi + 0x10], ax
mov eax, dword [esp + 0x3c]
mov word [edi + 0x14], ax
mov al, byte [esp + 0x13]
mov word [edi + 0x12], si
mov esi, dword [esp + 0x64]
mov byte [edi + 0x16], al
mov eax, dword [esp + 0x18]
shl esi, 2
push esi
mov dword [edi], ecx
push dword [eax + 8]
push dword [edi + 0x18]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [edi + 0x18]
add esp, 0xc
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
mov dword [esi + eax], edi
mov esi, dword [esp + 0x30]
cmp edx, esi
jl 0x100740a9
movzx eax, word [ebp + 0x12]
xor ecx, ecx
and dword [esp + 0x78], 0
inc ecx
mov dword [esp + 0x54], eax
movzx eax, word [ebp + 0x10]
mov dword [esp + 0x50], eax
cmp esi, ecx
jbe 0x100740a9
mov ebx, dword [esp + 0x50]
lea eax, [ebp + 0x34]
mov ebp, dword [esp + 0x54]
movzx edx, word [eax - 2]
cmp dx, bp
jg 0x1007404a
jne 0x10074053
cmp word [eax], bx
jle 0x10074053
movzx ebx, word [eax]
mov ebp, edx
mov dword [esp + 0x78], ecx
inc ecx
add eax, 0x20
cmp ecx, esi
jl 0x1007403a
mov edx, dword [esp + 0x58]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x30]
jmp 0x100740b3
cmp edx, ebp
jl 0x10074094
mov eax, dword [esp + 0x54]
cmp si, ax
jg 0x100740af
jne 0x1007408e
mov eax, dword [esp + 0x50]
cmp word [esp + 0x3c], ax
jge 0x100740af
mov edi, dword [esp + 0x78]
jmp 0x1007409b
mov edi, edx
inc edx
mov dword [esp + 0x58], edx
mov ebp, dword [esp + 0x14]
shl edi, 5
add edi, ebp
jmp 0x10073f98
mov ebp, dword [esp + 0x30]
jmp 0x100740b3
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov edi, dword [edi + 0x34]
mov dword [esp + 0x20], edi
test edi, edi
jne 0x10073d5b
mov eax, dword [esp + 0x38]
add esi, 0x20
sub eax, 1
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], eax
jne 0x10073d4c
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x14]
inc esi
mov dword [esp + 0x14], ebp
mov ebp, eax
mov dword [esp + 0x1c], ebp
mov eax, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], esi
cmp esi, ecx
jl 0x10073d33
test edx, edx
jne 0x10074127
push str.no_query_solution
push dword [esp + 0x90]
call fcn.100261f3
pop ecx
pop ecx
jmp 0x10074365
cmp eax, 1
jle 0x1007414a
lea ecx, [ebp + 0x20]
lea edx, [eax - 1]
mov ax, word [ebp + 0x12]
cmp ax, word [ecx + 0x12]
jle 0x1007413e
mov ebp, ecx
add ecx, 0x20
sub edx, 1
jne 0x10074132
mov dword [esp + 0x1c], ebp
xor esi, esi
lea edi, [ebp + 0x18]
cmp byte [esp + 0x12], 0
mov dword [esp + 0x14], edi
jbe 0x1007418f
mov ebp, dword [esp + 0x40]
lea edx, [ebx + 0x314]
mov eax, dword [edi]
mov eax, dword [eax + esi*4]
mov dword [edx + 0x14], eax
mov al, byte [eax + 0x10]
mov byte [edx], al
lea edx, [edx + 0x48]
movzx eax, al
imul ecx, eax, 0x48
inc esi
mov eax, dword [ebx + 4]
mov eax, dword [ecx + eax + 0x34]
mov dword [edx - 0x68], eax
cmp esi, ebp
jl 0x10074164
mov ebp, dword [esp + 0x1c]
jmp 0x10074193
mov dword [esp + 0x14], edi
mov ax, word [ebx + 0x2c]
mov ecx, 0x180
and ax, cx
add ecx, 0xffffff80
cmp ax, cx
jne 0x100741eb
cmp byte [ebx + 0x33], 0
jne 0x100741eb
cmp word [esp + 0x36], 0
je 0x100741eb
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x24]
mov edx, dword [ebx + 0xc]
push eax
mov eax, dword [edi]
push dword [ecx + eax - 4]
mov eax, dword [esp + 0x48]
mov ecx, ebx
dec eax
push eax
push 0x80
push ebp
call fcn.10073486
movsx ecx, al
add esp, 0x14
mov eax, dword [ebx + 0xc]
cmp ecx, dword [eax]
jne 0x100741eb
mov byte [ebx + 0x33], 2
mov edx, dword [ebx + 8]
mov byte [ebx + 0x34], 0
test edx, edx
je 0x10074355
test byte [ebx + 0x2c], 0x80
mov cl, byte [ebp + 0x16]
mov byte [esp + 0x13], cl
je 0x10074223
movsx eax, cl
cmp eax, dword [edx]
jne 0x10074212
mov byte [ebx + 0x33], 2
mov esi, edx
lea eax, [ebx + 0x2f]
mov dl, byte [esp + 0x12]
lea ebp, [ebx + 0x40]
jmp 0x100742ef
cmp byte [esp + 0x13], 0
lea edi, [ebx + 0x40]
mov byte [ebx + 0x2f], cl
mov esi, edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ebp, edi
mov dword [edi + 4], ecx
lea ecx, [ebx + 0x2f]
mov dword [edi], eax
mov eax, ecx
jg 0x100742e7
mov dl, byte [esp + 0x12]
mov byte [ecx], 0
test dl, dl
je 0x100742eb
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
mov esi, dword [ebx + 8]
mov dword [esp + 0x38], ecx
mov ecx, 0x104
mov eax, dword [eax]
mov eax, dword [edx + eax - 4]
mov dword [esp + 0x7c], 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 0x100742e3
and dword [esp + 0x24], 0
lea eax, [esp + 0x24]
and dword [esp + 0x28], 0
mov edx, esi
push eax
push dword [esp + 0x80]
mov eax, dword [esp + 0x48]
mov ecx, ebx
dec eax
push eax
push 0x800
push dword [esp + 0x2c]
call fcn.10073486
mov esi, dword [ebx + 8]
lea edx, [ebx + 0x2f]
movsx eax, al
add esp, 0x14
mov dword [esp + 0x38], edx
cmp eax, dword [esi]
jne 0x100742e3
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [edi], eax
mov eax, edx
mov byte [ebx + 0x34], 1
mov dword [edi + 4], ecx
jmp 0x100742e7
mov eax, dword [esp + 0x38]
mov dl, byte [esp + 0x12]
mov edi, dword [esp + 0x14]
mov ecx, 0x200
test word [ebx + 0x2c], cx
je 0x10074351
movsx eax, byte [eax]
cmp eax, dword [esi]
jne 0x10074351
test dl, dl
je 0x10074351
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x24]
push eax
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
push dword [ecx + eax - 4]
mov eax, dword [esp + 0x48]
mov ecx, ebx
dec eax
push eax
push edx
push dword [esp + 0x2c]
mov edx, esi
call fcn.10073486
movsx ecx, al
add esp, 0x14
mov eax, dword [ebx + 8]
cmp ecx, dword [eax]
jne 0x10074351
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov byte [ebx + 0x30], 1
mov dword [ebp], eax
mov dword [ebp + 4], edx
mov ebp, dword [esp + 0x1c]
mov ax, word [ebp + 0x10]
and dword [esp + 0x94], 0
mov word [ebx + 0x48], ax
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x98]
call fcn.10023dc7
mov eax, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret