Function at 0x10068900
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 0x10068992
test byte [edx + 0x1c], 0x14
je 0x10068953
mov dword [esp + 0x54], ebp
jmp 0x10068992
mov ebx, dword [ecx + 0x14]
xor esi, esi
cmp ebx, ebp
jle 0x10068992
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.10042070
add esp, 8
test eax, eax
je 0x10068983
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x10068965
jmp 0x10068992
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 0x10068ecd
lea esp, [esp]
cmp dword [esp + 0x10], 0
jne 0x10068f6c
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x10068c51
cmp byte [eax], 0
lea ecx, [eax + 8]
mov dword [esp + 0x38], 0
mov dword [esp + 0x14], ecx
jbe 0x10068c32
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x2c], edx
test eax, eax
je 0x10068a64
mov ecx, 0x200
test word [eax + 6], cx
je 0x10068a64
mov edi, dword [eax]
xor esi, esi
xor ebp, ebp
cmp dword [edi], esi
jle 0x10068a59
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.10068820
add esp, 8
test eax, eax
je 0x10068a47
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 0x10068a01
test ebp, ebp
jne 0x10068c15
cmp dword [esp + 0x58], 0
je 0x10068c15
cmp dword [esp + 0x54], 0
mov edi, dword [esp + 0x2c]
je 0x10068a7c
mov edx, dword [esp + 0x20]
cmp dword [edi + 0x40], edx
jne 0x10068c15
mov edx, dword [esp + 0x58]
test edx, edx
je 0x10068ad9
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x10068a91
mov esi, dword [edi]
mov al, byte [esi]
mov ecx, esi
test al, al
je 0x10068abd
lea esp, [esp]
movzx esi, byte [edx]
movzx eax, al
mov al, byte [eax + 0x100f9858]
cmp al, byte [esi + 0x100f9858]
jne 0x10068abd
mov al, byte [ecx + 1]
inc ecx
inc edx
test al, al
jne 0x10068aa0
movzx edx, byte [edx]
movzx ecx, byte [ecx]
movzx eax, byte [edx + 0x100f9858]
movzx edx, byte [ecx + 0x100f9858]
sub edx, eax
jne 0x10068c15
mov eax, dword [esp + 0x18]
mov ecx, eax
inc eax
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x10068af0
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 0x10068c15
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 0x10068b3d
movzx ebx, byte [edx]
movzx eax, al
mov al, byte [eax + 0x100f9858]
cmp al, byte [ebx + 0x100f9858]
jne 0x10068b3d
mov al, byte [ecx + 1]
inc ecx
inc edx
test al, al
jne 0x10068b20
movzx edx, byte [edx]
movzx ecx, byte [ecx]
movzx eax, byte [edx + 0x100f9858]
movzx edx, byte [ecx + 0x100f9858]
sub edx, eax
jne 0x10068bf6
cmp dword [esp + 0x10], 1
jne 0x10068bd1
mov eax, dword [esp + 0x14]
test byte [eax + 0x20], 4
jne 0x10068bf6
mov eax, dword [eax + 0x34]
test eax, eax
je 0x10068bd1
mov ebp, dword [eax + 4]
xor edi, edi
test ebp, ebp
jle 0x10068bd1
mov esi, dword [eax]
mov ecx, dword [esi]
mov al, byte [ecx]
mov edx, dword [esp + 0x5c]
test al, al
je 0x10068bad
lea esp, [esp]
movzx ebx, byte [edx]
movzx eax, al
mov al, byte [eax + 0x100f9858]
cmp al, byte [ebx + 0x100f9858]
jne 0x10068bad
mov al, byte [ecx + 1]
inc ecx
inc edx
test al, al
jne 0x10068b90
movzx edx, byte [edx]
movzx ecx, byte [ecx]
movzx eax, byte [edx + 0x100f9858]
movzx edx, byte [ecx + 0x100f9858]
sub edx, eax
je 0x10068bee
inc edi
add esi, 8
cmp edi, ebp
jl 0x10068b80
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 0x10068c0a
or eax, 0xffffffff
jmp 0x10068c0d
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 0x10068b10
jmp 0x10068c15
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 0x100689d6
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10068c51
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 0x10068deb
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x10068deb
cmp dword [esp + 0x10], 0
jne 0x10068e1d
mov esi, dword [esp + 0x50]
cmp dword [esi + 0x1b8], 0
je 0x10068df2
movzx edi, byte [esi + 0x1c8]
cmp edi, 0x6a
je 0x10068caf
push ebx
push 0x10107290
call fcn.10042070
add esp, 8
test eax, eax
jne 0x10068caf
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x18], 1
jmp 0x10068cd5
cmp edi, 0x69
je 0x10068df2
push ebx
push 0x10107294
call fcn.10042070
add esp, 8
test eax, eax
jne 0x10068df2
mov edx, dword [esp + 0x64]
mov dword [edx + 0x18], eax
mov ebp, dword [esi + 0x1b8]
test ebp, ebp
je 0x10068df2
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 0x10068d29
mov esi, dword [ebp + 4]
jmp 0x10068d00
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi]
push ecx
push edx
call fcn.10042070
add esp, 8
test eax, eax
je 0x10068d1e
inc ebx
add esi, 0x18
cmp ebx, edi
jl 0x10068d00
jmp 0x10068d29
movsx eax, word [ebp + 0x24]
cmp ebx, eax
jne 0x10068d29
or ebx, 0xffffffff
cmp ebx, edi
jl 0x10068d45
mov esi, dword [esp + 0x5c]
call fcn.1006bdc0
test eax, eax
je 0x10068d3d
or ebx, 0xffffffff
cmp ebx, edi
jge 0x10068df2
mov edx, dword [esp + 0x64]
mov dword [esp + 0x10], 1
test ebx, ebx
jge 0x10068d6d
mov byte [edx + 1], 0x64
mov word [edx + 0x1c], bx
mov dword [edx + 0x28], ebp
mov dword [esp + 0x40], 1
jmp 0x10068e1d
cmp dword [edx + 0x18], 0
jne 0x10068dbd
cmp ebx, 0x20
jl 0x10068d99
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 0x10068e1d
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 0x10068e1d
cmp ebx, 0x20
jl 0x10068dc7
or eax, 0xffffffff
jmp 0x10068dd0
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 0x10068e1d
cmp dword [esp + 0x10], 0
jne 0x10068e1d
mov edi, 1
cmp dword [esp + 0x18], edi
jne 0x10068e1d
mov esi, dword [esp + 0x5c]
call fcn.1006bdc0
test eax, eax
je 0x10068e1d
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 0x10068ea9
cmp dword [esp + 0x58], 0
jne 0x10068ea9
cmp dword [esp + 0x10], 0
jne 0x10068ebb
mov ecx, dword [eax]
xor ebp, ebp
mov dword [esp + 0x44], ecx
test ecx, ecx
jle 0x10068eb0
mov ebx, dword [eax + 8]
add ebx, 4
mov edi, dword [ebx]
test edi, edi
je 0x10068e9b
mov cl, byte [edi]
mov esi, dword [esp + 0x5c]
mov edx, edi
test cl, cl
je 0x10068e7f
movzx eax, cl
movzx ecx, byte [esi]
mov al, byte [eax + 0x100f9858]
cmp al, byte [ecx + 0x100f9858]
jne 0x10068e7f
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x10068e62
movzx ecx, byte [esi]
movzx eax, byte [ecx + 0x100f9858]
movzx ecx, byte [edx]
movzx edx, byte [ecx + 0x100f9858]
sub edx, eax
je 0x10068efd
mov ecx, dword [esp + 0x44]
inc ebp
add ebx, 0x18
cmp ebp, ecx
jl 0x10068e50
mov edx, dword [esp + 0x60]
jmp 0x10068eb0
cmp dword [esp + 0x10], 0
jne 0x10068ebb
mov edx, dword [edx + 0x10]
inc dword [esp + 0x30]
mov dword [esp + 0x60], edx
test edx, edx
jne 0x100689a0
cmp dword [esp + 0x10], edx
jne 0x10068f6c
cmp dword [esp + 0x58], 0
jne 0x10068f7d
mov eax, dword [esp + 0x64]
test byte [eax + 2], 0x40
je 0x10068f7d
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 0x10068f39
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 0x10068f39
push edi
mov edi, dword [esp + 0x54]
push str.misuse_of_aliased_aggregate__s
call fcn.10041f80
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 0x10102d23
push edx
push eax
push edi
mov eax, ebp
call fcn.10068650
mov esi, dword [esp + 0x48]
mov ebp, dword [esp + 0x78]
add esp, 0x14
jmp 0x10069085
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x10069004
test eax, eax
jne 0x10068f84
mov eax, str.no_such_column
jmp 0x10068f89
mov eax, str.ambiguous_column_name
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
test ecx, ecx
je 0x10068fbb
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.10041f80
mov esi, dword [esp + 0x48]
add esp, 0x14
mov byte [edi + 0x11], 1
inc dword [esi + 0x18]
jmp 0x1006900c
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x10068fe4
mov edx, dword [esp + 0x5c]
push edx
push ecx
push eax
push str._s:__s._s
call fcn.10041f80
mov esi, dword [esp + 0x44]
add esp, 0x10
mov byte [edi + 0x11], 1
inc dword [esi + 0x18]
jmp 0x1006900c
mov ecx, dword [esp + 0x5c]
push ecx
push eax
push str._s:__s
call fcn.10041f80
mov esi, dword [esp + 0x40]
add esp, 0xc
mov byte [edi + 0x11], 1
inc dword [esi + 0x18]
jmp 0x1006900c
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x64]
movzx eax, word [ebp + 0x1c]
test ax, ax
jl 0x10069040
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x10069040
movsx ecx, ax
cmp ecx, 0x40
jl 0x1006902e
mov ecx, 0x3f
mov eax, 1
xor edx, edx
call fcn.100e9410
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.1006ad60
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov dword [ebp + 8], 0
call fcn.1006ad60
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 0x10068f2c
cmp byte [ebp], 0x18
mov ebx, dword [esp + 0x60]
je 0x100690a1
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x20]
push edx
push ebp
push edi
call fcn.10072c50
add esp, 0xc
mov eax, 1
add dword [esi + 0x14], eax
cmp esi, ebx
je 0x10068f31
mov esi, dword [esi + 0x10]
add dword [esi + 0x14], eax
cmp esi, ebx
jne 0x100690b1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret