Function at 0x100276c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c1ff1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x100fe0ec]
cmp byte [ecx + 8], 0
jne 0x1002771b
sub esp, 8
push 0x100f9b68
call fcn.1002f3c0
mov ecx, dword [0x100fe0ec]
cmp byte [ecx + 8], 0
jne 0x1002771b
push str.Cannot_connect_to_SQL_Server__Please_check_your_configuration__n
call fcn.1000eb40
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
mov eax, dword [ebp + 0x18]
add eax, 0x4d
mov dword [ebp - 0x24], 0
push eax
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x14], 1
call fcn.1000b440
push str.SELECT_COUNT___as_TableCount_FROM_sys.objects_WHERE_object_id__OBJECT_ID_N
lea ecx, [ebp - 0x34]
call fcn.10009f50
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.10009fc0
push str.__AND_type_in__NU_
lea ecx, [ebp - 0x34]
call fcn.10009f50
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [ebp - 0x6c], xmm0
mov byte [eax], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x100277c7
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100277bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100279b0
push edx
push ecx
call fcn.1006cd71
add esp, 8
cmp dword [ebp - 0x68], 0x10
lea edx, [ebp - 0x7c]
push esi
cmovae edx, dword [ebp - 0x7c]
mov ecx, edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
lea esi, [ecx + 1]
mov byte [ebp - 0x4c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10027800
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.1000a420
sub esp, 8
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4c]
mov edx, 0x100fe0ec
lea ecx, [ebp - 0x1c]
push eax
call fcn.10030e20
add esp, 0xc
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x10027866
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002785c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100279b5
push edx
push ecx
call fcn.1006cd71
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp dword [ecx + 0xc], 0
je 0x1002788c
inc dword [ecx + 0x18]
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 8]
jl 0x1002789b
sub esp, 0xc
mov dword [ecx + 0x18], 0
call fcn.100305b0
push 0xa
push str.TableCount
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
call fcn.1000a420
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.100367b0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x10027908
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100278fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100279ba
push edx
push ecx
call fcn.1006cd71
add esp, 8
mov byte [ebp - 4], 9
cmp dword [ebp - 0x14], 0
mov esi, dword [ebp - 0x18]
setg byte [ebp - 0xd]
test esi, esi
je 0x1002793e
push edi
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1002793d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1002793d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
mov edx, dword [ebp - 0x68]
pop esi
cmp edx, 0x10
jb 0x1002796f
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10027965
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100279bf
push edx
push ecx
call fcn.1006cd71
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1002799f
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10027995
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100279c4
push edx
push ecx
call fcn.1006cd71
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.10087f1c
call fcn.10087f1c
call fcn.10087f1c
call fcn.10087f1c
call fcn.10087f1c
int3