Function at 0x1006c410
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
xor eax, eax
mov dword [ebp - 0xc], 1
push edi
mov edi, ecx
mov dword [ebp - 4], eax
xor esi, esi
mov dword [ebp - 0x38], eax
push esi
push 0xfffffffffffffffb
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 4]
mov dword [ebp - 0x18], eax
mov ebx, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x1a8]
push ecx
push 6
mov dword [ebp - 0x3c], 0
push dword [eax + 0xc]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ODBC32.dll_SQLGetStmtAttrW]
mov ecx, 0xfffe
test cx, ax
jne 0x1006c496
mov ecx, dword [edi + 0x1a8]
lea eax, [ebp - 8]
push eax
push 6
call fcn.100310b0
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, dword [ebp - 8]
mov ecx, dword [edi + 0x1a8]
lea eax, [ebp - 0xc]
push 0
push 0xfffffffffffffffb
push eax
push 7
push dword [ecx + 0xc]
call dword [sym.imp.ODBC32.dll_SQLGetStmtAttrW]
mov ecx, 0xfffe
test cx, ax
jne 0x1006c4d4
mov ecx, dword [edi + 0x1a8]
lea eax, [ebp - 0x14]
push eax
push 7
call fcn.100310b0
test eax, eax
jne 0x1006c4d1
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0xc]
cmp ebx, eax
mov ebx, dword [ebp - 4]
jne 0x1006c4e8
cmp esi, ebx
je 0x1006c74f
jmp 0x1006c4ec
cmp esi, ebx
je 0x1006c500
mov ecx, dword [edi + 0x1a8]
push ebx
push 6
call fcn.10030fc0
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], eax
je 0x1006c516
mov ecx, dword [edi + 0x1a8]
push eax
push 7
call fcn.10030fc0
mov ebx, dword [ebp - 4]
mov eax, dword [edi + 0x1b0]
xor esi, esi
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x1b4]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x1b8]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x1b0]
and eax, 0x1000000
xor edx, edx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1006c553
test dword [edx + 0x10079840], 0x100
je 0x1006c5b8
mov eax, dword [edx + 0x10079840]
test al, 0x10
je 0x1006c561
xor ecx, ecx
jmp 0x1006c580
test al, 0x20
je 0x1006c56c
mov ecx, 3
jmp 0x1006c580
test al, 0x40
je 0x1006c577
mov ecx, 1
jmp 0x1006c580
movzx ecx, al
shr ecx, 6
and ecx, 2
cmp ecx, ebx
jne 0x1006c5b5
test al, 8
je 0x1006c58f
mov eax, 1
jmp 0x1006c5b0
test al, 1
je 0x1006c59a
mov eax, 3
jmp 0x1006c5b0
test al, 2
je 0x1006c5a5
mov eax, 4
jmp 0x1006c5b0
test al, 4
mov eax, 0
setne al
inc eax
cmp eax, dword [ebp - 0xc]
je 0x1006c5d6
mov eax, dword [ebp - 0x14]
add edx, 0xc
inc esi
cmp edx, 0xcc
jb 0x1006c543
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, 0x11
jae 0x1006c5c8
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x14]
movzx ebx, word [eax + 0x1b0]
test bx, bx
jne 0x1006c605
lea eax, [esi + esi*2]
mov eax, dword [eax*4 + 0x10079840]
and eax, dword [edi + 0x1b0]
test al, 0xf
je 0x1006c6c5
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
push esi
call fcn.1006caf0
mov eax, dword [edi + 0x1c]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 0x14]
movzx eax, word [eax + 0x1b0]
mov dword [ebp - 8], eax
test ax, ax
je 0x1006c64c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, ebx
shr eax, 0x10
inc eax
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x3e], ax
mov ax, word [ebp - 0x32]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], eax
cmp word [ebp - 0x26], 0
jbe 0x1006c729
cmp dword [ebp - 0xc], 1
jne 0x1006c6c2
cmp dword [ebp - 0x10], 1
je 0x1006c6c2
mov ebx, dword [ebp - 4]
xor esi, esi
xor edx, edx
lea ebx, [ebx]
mov ecx, dword [edx + 0x10079840]
test ecx, 0x100
je 0x1006c6b6
test cl, 0x10
je 0x1006c687
xor eax, eax
jmp 0x1006c6a8
test cl, 0x20
je 0x1006c693
mov eax, 3
jmp 0x1006c6a8
test cl, 0x40
je 0x1006c69f
mov eax, 1
jmp 0x1006c6a8
movzx eax, cl
shr eax, 6
and eax, 2
cmp eax, ebx
jne 0x1006c6b6
test cl, 8
jne 0x1006c6d0
test cl, 7
je 0x1006c6d0
add edx, 0xc
inc esi
cmp edx, 0xcc
jb 0x1006c670
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
jmp 0x1006c760
cmp esi, 0x11
jae 0x1006c6c2
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
push esi
call fcn.1006caf0
mov eax, dword [edi + 0x1c]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 0x14]
movzx eax, word [eax + 0x1b0]
mov dword [ebp - 8], eax
test ax, ax
je 0x1006c713
mov eax, dword [ebp - 0x2c]
mov edx, ebx
mov dword [ebp - 0x14], eax
mov eax, ecx
or eax, 0x1000000
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
jmp 0x1006c71c
mov eax, dword [ebp - 0x44]
invalid