Function at 0x101e9d0
Capabilities:
Reference sql statements

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x104c68c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, 8
mov esi, 0x1004ba0
lea edi, [ebp - 0x42c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x40c], 0
mov ax, word [0x10015d4]
mov word [ebp - 0x408], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x406]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x101ea32
cmp dword [ebp + 0x10], 0
jne 0x101ea39
xor eax, eax
jmp 0x101ece3
push 0x3a0
push 0
mov edx, dword [ebp + 0x10]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0101a630
add esp, 0xc
test eax, eax
je 0x101ecc8
mov edx, dword [ebp + 0xc]
push edx
push 0x1004950
push 0x200
lea eax, [ebp - 0x408]
push eax
call fcn.01011d00
add esp, 0x10
lea ecx, [ebp - 0x408]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC90.dll_QSQLExecDirect]
add esp, 8
cmp eax, 1
jne 0x101ecc6
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 4
push 0xfffffffffffffff0
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC90.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 4
push ecx
push 0x108
push 0xfffffffffffffff8
push 2
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC90.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x10c
push ecx
push 4
push 0xfffffffffffffff0
push 3
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC90.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x114
push ecx
push 0xd0
push 0xfffffffffffffff8
push 4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC90.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x1e4
push ecx
push 0xd0
push 0xfffffffffffffff8
push 5
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC90.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x2b4
push ecx
push 0xd0
push 0xfffffffffffffff8
push 6
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC90.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x384
push ecx
push 4
push 0xfffffffffffffff0
push 7
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC90.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x388
push ecx
push 4
push 0xfffffffffffffff0
push 8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC90.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x38c
push ecx
push 4
push 0xfffffffffffffff0
push 9
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC90.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x390
push ecx
push 4
push 0xfffffffffffffff0
push 0xa
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC90.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x394
push ecx
push 4
push 0xfffffffffffffff0
push 0xb
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC90.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x398
push ecx
push 4
push 0xfffffffffffffff0
push 0xc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC90.dll_QSQLBind]
add esp, 0x18
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x39c
push ecx
push 1
push 0xfffffffffffffff0
push 0xd
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLSVC90.dll_QSQLBind]
add esp, 0x18
push 0x3a0
push 0
mov eax, dword [ebp + 0x10]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SQLSVC90.dll_QSQLNextRow]
add esp, 4
cmp eax, 0xffffffff
jne 0x101ecb0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x10c]
mov dword [ebp - 0x40c], eax
jmp 0x101ec8d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SQLSVC90.dll_QSQLResults]
add esp, 4
cmp eax, 1
je 0x101eaa3
jmp 0x101ecdd
mov edx, dword [ebp + 0xc]
push edx
push 0xfc
push 0
push 1
call fcn.01028fb0
add esp, 0x10
mov eax, dword [ebp - 0x40c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010471ba
mov esp, ebp
pop ebp
ret