Function at 0x1006c330
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 0x1006c3b6
mov ecx, dword [edi + 0x1a8]
lea eax, [ebp - 8]
push eax
push 6
call fcn.10031850
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 0x1006c3f4
mov ecx, dword [edi + 0x1a8]
lea eax, [ebp - 0x14]
push eax
push 7
call fcn.10031850
test eax, eax
jne 0x1006c3f1
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0xc]
cmp ebx, eax
mov ebx, dword [ebp - 4]
jne 0x1006c40d
cmp esi, ebx
jne 0x1006c411
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, ebx
je 0x1006c425
mov ecx, dword [edi + 0x1a8]
push ebx
push 6
call fcn.10031760
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], eax
je 0x1006c43b
mov ecx, dword [edi + 0x1a8]
push eax
push 7
call fcn.10031760
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 0x1006c478
test dword [edx + 0x1007b888], 0x100
je 0x1006c4dd
mov eax, dword [edx + 0x1007b888]
test al, 0x10
je 0x1006c486
xor ecx, ecx
jmp 0x1006c4a5
test al, 0x20
je 0x1006c491
mov ecx, 3
jmp 0x1006c4a5
test al, 0x40
je 0x1006c49c
mov ecx, 1
jmp 0x1006c4a5
movzx ecx, al
shr ecx, 6
and ecx, 2
cmp ecx, ebx
jne 0x1006c4da
test al, 8
je 0x1006c4b4
mov eax, 1
jmp 0x1006c4d5
test al, 1
je 0x1006c4bf
mov eax, 3
jmp 0x1006c4d5
test al, 2
je 0x1006c4ca
mov eax, 4
jmp 0x1006c4d5
test al, 4
mov eax, 0
setne al
inc eax
cmp eax, dword [ebp - 0xc]
je 0x1006c4fb
mov eax, dword [ebp - 0x14]
add edx, 0xc
inc esi
cmp edx, 0xcc
jb 0x1006c468
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, 0x11
jae 0x1006c4ed
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x14]
movzx ebx, word [eax + 0x1b0]
test bx, bx
jne 0x1006c52a
lea eax, [esi + esi*2]
mov eax, dword [eax*4 + 0x1007b888]
and eax, dword [edi + 0x1b0]
test al, 0xf
je 0x1006c5e5
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
push esi
call fcn.1006ca00
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 0x1006c571
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 0x1006c649
cmp dword [ebp - 0xc], 1
jne 0x1006c5e2
cmp dword [ebp - 0x10], 1
je 0x1006c5e2
mov ebx, dword [ebp - 4]
xor esi, esi
xor edx, edx
nop
mov ecx, dword [edx + 0x1007b888]
test ecx, 0x100
je 0x1006c5d6
test cl, 0x10
je 0x1006c5a7
xor eax, eax
jmp 0x1006c5c8
test cl, 0x20
je 0x1006c5b3
mov eax, 3
jmp 0x1006c5c8
test cl, 0x40
je 0x1006c5bf
mov eax, 1
jmp 0x1006c5c8
movzx eax, cl
shr eax, 6
and eax, 2
cmp eax, ebx
jne 0x1006c5d6
test cl, 8
jne 0x1006c5f0
test cl, 7
je 0x1006c5f0
add edx, 0xc
inc esi
cmp edx, 0xcc
jb 0x1006c590
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
jmp 0x1006c683
cmp esi, 0x11
jae 0x1006c5e2
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
push esi
call fcn.1006ca00
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 0x1006c633
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 0x1006c63c
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
cmp word [ebp - 0x26], 0
ja 0x1006c67d
or ecx, 0x1000000
cmp word [ebp - 0x2a], 0
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x1b0], ecx
mov dword [edi + 0x1b4], eax
mov dword [edi + 0x1bc], esi
mov dword [edi + 0x1b8], ebx
jbe 0x1006c402
pop edi
pop esi
mov eax, 0x40eda
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 8]
test bx, bx
je 0x1006c723
mov eax, edx
shr eax, 0x10
cmp word [ebp - 0x18], ax
jae 0x1006c6cf
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov ecx, edi
mov dword [edi + 0x1bc], eax
call fcn.1006ca00
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x1b0], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x1b4], eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x1b8], eax
mov eax, dword [edi + 0x1bc]
jmp 0x1006c6ed
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x1b0], esi
mov dword [edi + 0x1b4], ecx
mov dword [edi + 0x1bc], eax
mov dword [edi + 0x1b8], edx
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x1007b888]
cmp eax, 0x118
je 0x1006c707
cmp eax, 0x18
jne 0x1006c66f
push 0
push 2
push 0
mov ecx, edi
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CUtlProps2::SetValBool_unsigned_long_int__unsigned_long_int__short_int_]
pop edi
pop esi
mov eax, 0x40eda
pop ebx
mov esp, ebp
pop ebp
ret 4
xor ebx, ebx
xor esi, esi
jmp 0x1006c730
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 8]
test byte [eax + ebx + 4], 4
je 0x1006c74d
push dword [esi + 0x10015dd0]
mov ecx, edi
push 0
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CUtlProps2::SetPropertyInError_unsigned_long_int__unsigned_long_int_]
add esi, 4
add ebx, 0x28
cmp esi, 0x80
jb 0x1006c730
pop edi
pop esi
mov eax, 0x80040e21
pop ebx
mov esp, ebp
pop ebp
ret 4