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

Disassembly:
sub esp, 0x3c
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x40], ebp
mov dword [eax + 0x18], 0xffffffff
mov dword [eax + 0x28], ebp
cmp dword [esp + 0x54], ebp
je 0x10068762
test byte [edx + 0x1c], 0x14
je 0x10068723
mov dword [esp + 0x54], ebp
jmp 0x10068762
mov ebx, dword [ecx + 0x14]
xor esi, esi
cmp ebx, ebp
jle 0x10068762
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x3c], ecx
mov edi, ecx
mov edx, dword [esp + 0x54]
mov eax, dword [edi]
push edx
push eax
call fcn.10041e60
add esp, 8
test eax, eax
je 0x10068753
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x10068735
jmp 0x10068762
mov ecx, dword [esp + 0x3c]
shl esi, 4
mov edx, dword [esi + ecx + 0xc]
mov dword [esp + 0x20], edx
cmp dword [esp + 0x60], ebp
je 0x10068c9d
lea esp, [esp]
cmp dword [esp + 0x10], 0
jne 0x10068d3c
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x10068a21
cmp byte [eax], 0
lea ecx, [eax + 8]
mov dword [esp + 0x38], 0
mov dword [esp + 0x14], ecx
jbe 0x10068a02
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x2c], edx
test eax, eax
je 0x10068834
mov ecx, 0x200
test word [eax + 6], cx
je 0x10068834
mov edi, dword [eax]
xor esi, esi
xor ebp, ebp
cmp dword [edi], esi
jle 0x10068829
mov dword [esp + 0x24], esi
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ecx, dword [edi + 8]
mov ebx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [ecx + edx + 8]
call fcn.100685f0
add esp, 8
test eax, eax
je 0x10068817
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
mov ebp, 1
add dword [esp + 0x10], ebp
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], eax
mov word [ecx + 0x1c], si
add dword [esp + 0x24], 0x18
inc esi
cmp esi, dword [edi]
jl 0x100687d1
test ebp, ebp
jne 0x100689e5
cmp dword [esp + 0x58], 0
je 0x100689e5
cmp dword [esp + 0x54], 0
mov edi, dword [esp + 0x2c]
je 0x1006884c
mov edx, dword [esp + 0x20]
cmp dword [edi + 0x40], edx
jne 0x100689e5
mov edx, dword [esp + 0x58]
test edx, edx
je 0x100688a9
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x10068861
mov esi, dword [edi]
mov al, byte [esi]
mov ecx, esi
test al, al
je 0x1006888d
lea esp, [esp]
movzx esi, byte [edx]
movzx eax, al
mov al, byte [eax + 0x100f8858]
cmp al, byte [esi + 0x100f8858]
jne 0x1006888d
mov al, byte [ecx + 1]
inc ecx
inc edx
test al, al
jne 0x10068870
movzx edx, byte [edx]
movzx ecx, byte [ecx]
movzx eax, byte [edx + 0x100f8858]
movzx edx, byte [ecx + 0x100f8858]
sub edx, eax
jne 0x100689e5
mov eax, dword [esp + 0x18]
mov ecx, eax
inc eax
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x100688c0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mov eax, dword [edi + 4]
movsx edi, word [edi + 0x26]
xor esi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], edi
test edi, edi
jle 0x100689e5
lea ecx, [ecx]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
mov al, byte [ecx]
mov edx, dword [esp + 0x5c]
test al, al
je 0x1006890d
movzx ebx, byte [edx]
movzx eax, al
mov al, byte [eax + 0x100f8858]
cmp al, byte [ebx + 0x100f8858]
jne 0x1006890d
mov al, byte [ecx + 1]
inc ecx
inc edx
test al, al
jne 0x100688f0
movzx edx, byte [edx]
movzx ecx, byte [ecx]
movzx eax, byte [edx + 0x100f8858]
movzx edx, byte [ecx + 0x100f8858]
sub edx, eax
jne 0x100689c6
cmp dword [esp + 0x10], 1
jne 0x100689a1
mov eax, dword [esp + 0x14]
test byte [eax + 0x20], 4
jne 0x100689c6
mov eax, dword [eax + 0x34]
test eax, eax
je 0x100689a1
mov ebp, dword [eax + 4]
xor edi, edi
test ebp, ebp
jle 0x100689a1
mov esi, dword [eax]
mov ecx, dword [esi]
mov al, byte [ecx]
mov edx, dword [esp + 0x5c]
test al, al
je 0x1006897d
lea esp, [esp]
movzx ebx, byte [edx]
movzx eax, al
mov al, byte [eax + 0x100f8858]
cmp al, byte [ebx + 0x100f8858]
jne 0x1006897d
mov al, byte [ecx + 1]
inc ecx
inc edx
test al, al
jne 0x10068960
movzx edx, byte [edx]
movzx ecx, byte [ecx]
movzx eax, byte [edx + 0x100f8858]
movzx edx, byte [ecx + 0x100f8858]
sub edx, eax
je 0x100689be
inc edi
add esi, 8
cmp edi, ebp
jl 0x10068950
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
movsx edx, word [ecx + 0x24]
inc dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
cmp esi, edx
jne 0x100689da
or eax, 0xffffffff
jmp 0x100689dd
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
add dword [esp + 0x24], 0x18
inc esi
cmp esi, edi
mov dword [esp + 0x28], esi
jl 0x100688e0
jmp 0x100689e5
movsx eax, si
mov ecx, dword [esp + 0x64]
mov word [ecx + 0x1c], ax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
movzx ecx, byte [edx]
add dword [esp + 0x14], 0x48
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jl 0x100687a6
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10068a21
mov edx, dword [eax + 0x2c]
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x28], eax
mov eax, dword [eax + 0x40]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x54], 0
jne 0x10068bbb
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x10068bbb
cmp dword [esp + 0x10], 0
jne 0x10068bed
mov esi, dword [esp + 0x50]
cmp dword [esi + 0x1b8], 0
je 0x10068bc2
movzx edi, byte [esi + 0x1c8]
cmp edi, 0x6a
je 0x10068a7f
push ebx
push 0x10106290
call fcn.10041e60
add esp, 8
test eax, eax
jne 0x10068a7f
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x18], 1
jmp 0x10068aa5
cmp edi, 0x69
je 0x10068bc2
push ebx
push 0x10106294
call fcn.10041e60
add esp, 8
test eax, eax
jne 0x10068bc2
mov edx, dword [esp + 0x64]
mov dword [edx + 0x18], eax
mov ebp, dword [esi + 0x1b8]
test ebp, ebp
je 0x10068bc2
movsx edi, word [ebp + 0x26]
mov eax, dword [ebp + 0x40]
inc dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x20], eax
test edi, edi
jle 0x10068af9
mov esi, dword [ebp + 4]
jmp 0x10068ad0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi]
push ecx
push edx
call fcn.10041e60
add esp, 8
test eax, eax
je 0x10068aee
inc ebx
add esi, 0x18
cmp ebx, edi
jl 0x10068ad0
jmp 0x10068af9
movsx eax, word [ebp + 0x24]
cmp ebx, eax
jne 0x10068af9
or ebx, 0xffffffff
cmp ebx, edi
jl 0x10068b15
mov esi, dword [esp + 0x5c]
call fcn.1006bb90
test eax, eax
je 0x10068b0d
or ebx, 0xffffffff
cmp ebx, edi
jge 0x10068bc2
mov edx, dword [esp + 0x64]
mov dword [esp + 0x10], 1
test ebx, ebx
jge 0x10068b3d
mov byte [edx + 1], 0x64
mov word [edx + 0x1c], bx
mov dword [edx + 0x28], ebp
mov dword [esp + 0x40], 1
jmp 0x10068bed
cmp dword [edx + 0x18], 0
jne 0x10068b8d
cmp ebx, 0x20
jl 0x10068b69
mov ecx, dword [esp + 0x50]
or eax, 0xffffffff
or dword [ecx + 0x1c0], eax
mov word [edx + 0x1c], bx
mov dword [edx + 0x28], ebp
mov dword [esp + 0x40], 1
jmp 0x10068bed
mov ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x40], 1
or dword [ecx + 0x1c0], eax
mov word [edx + 0x1c], bx
mov dword [edx + 0x28], ebp
jmp 0x10068bed
cmp ebx, 0x20
jl 0x10068b97
or eax, 0xffffffff
jmp 0x10068ba0
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x50]
or dword [ecx + 0x1c4], eax
mov word [edx + 0x1c], bx
mov dword [edx + 0x28], ebp
mov dword [esp + 0x40], 1
jmp 0x10068bed
cmp dword [esp + 0x10], 0
jne 0x10068bed
mov edi, 1
cmp dword [esp + 0x18], edi
jne 0x10068bed
mov esi, dword [esp + 0x5c]
call fcn.1006bb90
test eax, eax
je 0x10068bed
mov eax, dword [esp + 0x64]
or ecx, 0xffffffff
mov dword [esp + 0x10], edi
mov word [eax + 0x1c], cx
mov byte [eax + 1], 0x64
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 8]
test eax, eax
je 0x10068c79
cmp dword [esp + 0x58], 0
jne 0x10068c79
cmp dword [esp + 0x10], 0
jne 0x10068c8b
mov ecx, dword [eax]
xor ebp, ebp
mov dword [esp + 0x44], ecx
test ecx, ecx
jle 0x10068c80
mov ebx, dword [eax + 8]
add ebx, 4
mov edi, dword [ebx]
test edi, edi
je 0x10068c6b
mov cl, byte [edi]
mov esi, dword [esp + 0x5c]
mov edx, edi
test cl, cl
je 0x10068c4f
movzx eax, cl
movzx ecx, byte [esi]
mov al, byte [eax + 0x100f8858]
cmp al, byte [ecx + 0x100f8858]
jne 0x10068c4f
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x10068c32
movzx ecx, byte [esi]
movzx eax, byte [ecx + 0x100f8858]
movzx ecx, byte [edx]
movzx edx, byte [ecx + 0x100f8858]
sub edx, eax
je 0x10068ccd
mov ecx, dword [esp + 0x44]
inc ebp
add ebx, 0x18
cmp ebp, ecx
jl 0x10068c20
mov edx, dword [esp + 0x60]
jmp 0x10068c80
cmp dword [esp + 0x10], 0
jne 0x10068c8b
mov edx, dword [edx + 0x10]
inc dword [esp + 0x30]
mov dword [esp + 0x60], edx
test edx, edx
jne 0x10068770
cmp dword [esp + 0x10], edx
jne 0x10068d3c
cmp dword [esp + 0x58], 0
jne 0x10068d4d
mov eax, dword [esp + 0x64]
test byte [eax + 2], 0x40
je 0x10068d4d
mov byte [eax], 0x5e
mov dword [eax + 0x28], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x60]
test byte [eax + 0x1c], 1
jne 0x10068d09
mov eax, dword [eax + 8]
mov edx, dword [eax + 8]
lea ecx, [ebp + ebp*2]
mov eax, dword [edx + ecx*8]
test byte [eax + 2], 2
je 0x10068d09
push edi
mov edi, dword [esp + 0x54]
push str.misuse_of_aliased_aggregate__s
call fcn.10041d70
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 8]
mov edi, dword [esp + 0x50]
push ecx
push 0x10101d23
push edx
push eax
push edi
mov eax, ebp
call fcn.10068420
mov esi, dword [esp + 0x48]
mov ebp, dword [esp + 0x78]
add esp, 0x14
jmp 0x10068e55
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x10068dd4
test eax, eax
jne 0x10068d54
mov eax, str.no_such_column
jmp 0x10068d59
mov eax, str.ambiguous_column_name
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
test ecx, ecx
je 0x10068d8b
mov edx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push edx
push ecx
push eax
push str._s:__s._s._s
call fcn.10041d70
mov esi, dword [esp + 0x48]
add esp, 0x14
mov byte [edi + 0x11], 1
inc dword [esi + 0x18]
jmp 0x10068ddc
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x10068db4
mov edx, dword [esp + 0x5c]
push edx
push ecx
push eax
push str._s:__s._s
call fcn.10041d70
mov esi, dword [esp + 0x44]
add esp, 0x10
mov byte [edi + 0x11], 1
inc dword [esi + 0x18]
jmp 0x10068ddc
mov ecx, dword [esp + 0x5c]
push ecx
push eax
push str._s:__s
call fcn.10041d70
mov esi, dword [esp + 0x40]
add esp, 0xc
mov byte [edi + 0x11], 1
inc dword [esi + 0x18]
jmp 0x10068ddc
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x64]
movzx eax, word [ebp + 0x1c]
test ax, ax
jl 0x10068e10
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x10068e10
movsx ecx, ax
cmp ecx, 0x40
jl 0x10068dfe
mov ecx, 0x3f
mov eax, 1
xor edx, edx
call fcn.100e8f20
or dword [ebx + 0x38], eax
or dword [ebx + 0x3c], edx
mov edx, dword [ebp + 8]
mov ebx, dword [esp + 0x48]
push edx
push ebx
call fcn.1006ab30
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov dword [ebp + 8], 0
call fcn.1006ab30
mov ecx, dword [esp + 0x50]
add esp, 0x10
neg ecx
sbb cl, cl
and cl, 0xa4
add cl, 0x98
cmp dword [esp + 0x10], 1
mov dword [ebp + 0xc], 0
mov byte [ebp], cl
jne 0x10068cfc
cmp byte [ebp], 0x18
mov ebx, dword [esp + 0x60]
je 0x10068e71
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x20]
push edx
push ebp
push edi
call fcn.10072a20
add esp, 0xc
mov eax, 1
add dword [esi + 0x14], eax
cmp esi, ebx
je 0x10068d01
mov esi, dword [esi + 0x10]
add dword [esi + 0x14], eax
cmp esi, ebx
jne 0x10068e81
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret