Function at 0x1006c7f0
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
xor eax, eax
mov dword [ebp - 8], 1
push edi
mov edi, ecx
mov dword [ebp - 4], eax
xor esi, esi
mov dword [ebp - 0x40], eax
push esi
push 0xfffffffffffffffb
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 4]
mov dword [ebp - 0x20], eax
mov ebx, 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x1a8]
push ecx
push 6
mov dword [ebp - 0x1c], edi
push dword [eax + 0xc]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ODBC32.dll_SQLGetStmtAttrW]
mov ecx, 0xfffe
test cx, ax
jne 0x1006c879
mov ecx, dword [edi + 0x1a8]
lea eax, [ebp - 0x14]
push eax
push 6
call fcn.10031ce0
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, dword [ebp - 0x14]
mov ecx, dword [edi + 0x1a8]
lea eax, [ebp - 8]
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 0x1006c8b7
mov ecx, dword [edi + 0x1a8]
lea eax, [ebp - 0x18]
push eax
push 7
call fcn.10031ce0
test eax, eax
jne 0x1006c8b4
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 8]
cmp ebx, eax
mov ebx, dword [ebp - 4]
jne 0x1006c8cb
cmp esi, ebx
je 0x1006cb62
jmp 0x1006c8cf
cmp esi, ebx
je 0x1006c8e3
mov ecx, dword [edi + 0x1a8]
push ebx
push 6
call fcn.10031bf0
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
je 0x1006c8f9
mov ecx, dword [edi + 0x1a8]
push eax
push 7
call fcn.1002c482
mov ebx, dword [ebp - 4]
mov eax, dword [edi + 0x1b0]
xor esi, esi
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x1b4]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x1b8]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x1b0]
mov edi, dword [ebp - 8]
and eax, 0x1000000
mov dword [ebp - 0x18], eax
xor edx, edx
lea esp, [esp]
test eax, eax
je 0x1006c940
test dword [edx + 0x1007b888], 0x100
je 0x1006c9a4
mov eax, dword [edx + 0x1007b888]
test al, 0x10
je 0x1006c94e
xor ecx, ecx
jmp 0x1006c96d
test al, 0x20
je 0x1006c959
mov ecx, 3
jmp 0x1006c96d
test al, 0x40
je 0x1006c964
mov ecx, 1
jmp 0x1006c96d
movzx ecx, al
shr ecx, 6
and ecx, 2
cmp ecx, ebx
jne 0x1006c9a1
test al, 8
je 0x1006c97c
mov eax, 1
jmp 0x1006c99d
test al, 1
je 0x1006c987
mov eax, 3
jmp 0x1006c99d
test al, 2
je 0x1006c992
mov eax, 4
jmp 0x1006c99d
test al, 4
mov eax, 0
setne al
inc eax
cmp eax, edi
je 0x1006c9b0
mov eax, dword [ebp - 0x18]
add edx, 0xc
inc esi
cmp edx, 0xcc
jb 0x1006c930
mov edi, dword [ebp - 0x1c]
cmp esi, 0x11
jb 0x1006c9c6
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x14]
movzx eax, word [eax + 0x1b0]
mov dword [ebp - 0x14], eax
test ax, ax
jne 0x1006c9f3
lea eax, [esi + esi*2]
mov eax, dword [eax*4 + 0x1007b888]
and eax, dword [edi + 0x1b0]
test al, 0xf
je 0x1006cb6d
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
push esi
call fcn.1006cf10
mov eax, dword [edi + 0x1c]
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
movzx edx, word [eax + 0x1b0]
mov dword [ebp - 0x14], edx
test dx, dx
je 0x1006ca37
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, ebx
shr eax, 0x10
inc eax
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x46], ax
mov ax, word [ebp - 0x3a]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x20], eax
movsx eax, dx
neg eax
sbb eax, eax
and eax, esi
cmp word [ebp - 0x2e], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], eax
jbe 0x1006cb3c
cmp dword [ebp - 8], 1
jne 0x1006cb6d
cmp dword [ebp - 0x10], 1
mov dword [ebp - 0xc], eax
je 0x1006cb6d
mov ebx, dword [ebp - 4]
xor esi, esi
xor edx, edx
mov ecx, dword [edx + 0x1007b888]
test ecx, 0x100
je 0x1006cab8
test cl, 0x10
je 0x1006ca89
xor eax, eax
jmp 0x1006caaa
test cl, 0x20
je 0x1006ca95
mov eax, 3
jmp 0x1006caaa
test cl, 0x40
je 0x1006caa1
mov eax, 1
jmp 0x1006caaa
movzx eax, cl
shr eax, 6
and eax, 2
cmp eax, ebx
jne 0x1006cab8
test cl, 8
jne 0x1006cac4
test cl, 7
je 0x1006cac4
add edx, 0xc
inc esi
cmp edx, 0xcc
jb 0x1006ca72
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
cmp esi, 0x11
jae 0x1006cb6d
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
push esi
call fcn.1006cf10
mov eax, dword [edi + 0x1c]
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax + 0x14]
movzx eax, word [eax + 0x1b0]
mov dword [ebp - 0x14], eax
test ax, ax
je 0x1006cb0e
mov eax, dword [ebp - 0x34]
mov edx, ebx
mov dword [ebp - 0x18], eax
mov eax, ecx
or eax, 0x1000000
mov dword [ebp - 0x28], eax
jmp 0x1006cb17
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
movsx edi, ax
neg edi
sbb edi, edi
and edi, esi
cmp word [ebp - 0x2e], 0
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x1c]
ja 0x1006cb78
or ecx, 0x1000000
cmp word [ebp - 0x32], 0
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x1b0], ecx
mov dword [edi + 0x1b4], eax
mov dword [edi + 0x1bc], esi
mov dword [edi + 0x1b8], ebx
ja 0x1006cc09
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
jmp 0x1006cb7b
mov ecx, dword [ebp - 0x18]
test ax, ax
je 0x1006cc17
mov eax, edx
shr eax, 0x10
cmp word [ebp - 0x20], ax
jae 0x1006cbc7
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x44]
push ecx
push eax
mov ecx, edi
mov dword [edi + 0x1bc], eax
call fcn.1006cf10
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x1b0], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x1b4], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x1b8], eax
mov eax, dword [edi + 0x1bc]
jmp 0x1006cbe5
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
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 0x1006cbfb
cmp eax, 0x18
jne 0x1006cc09
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 0x1006cc20
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 8]
test byte [eax + ebx + 4], 4
je 0x1006cc3d
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 0x1006cc20
pop edi
pop esi
mov eax, 0x80040e21
pop ebx
mov esp, ebp
pop ebp
ret 4