Function at 0x10004350
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x518
mov eax, dword [esp + 0x51c]
push ebx
push ebp
push esi
push edi
xor edi, edi
push str.exec
mov esi, ecx
mov dword [esp + 0x14], edi
xor ebp, ebp
xor bl, bl
mov dword [eax], edi
call fcn.10068100
mov ecx, dword [esi + 0x28]
lea edx, [ecx + eax*2]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.10068259
lea ecx, [esp + 0x34]
push 0x3f
push ecx
call fcn.100682e5
add esp, 0x14
cmp eax, edi
je 0x100043a0
mov word [eax], di
mov ecx, dword [esi + 0x34]
call fcn.10009150
lea edx, [esp + 0x10]
push edx
mov esi, eax
push esi
push 3
call fcn.10019490
cmp ax, di
je 0x100043ee
cmp ax, 1
je 0x100043ee
push 0x80004005
lea eax, [esp + 0x1c]
push eax
push str.SQLAllocHandle
push esi
push 2
call fcn.1000d2a0
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
add esp, 0x518
ret 4
lea ecx, [esp + 0x28]
push ecx
push str.SELECT_sysprocparm.parm_type_FROM_sysprocedure_join_sysprocparm_on_sysprocedure.proc_id__sysprocparm.proc_id_WHERE_sysprocedure.proc_nametrim__s_
lea edx, [esp + 0x130]
push 0x400
push edx
call fcn.10068275
mov ecx, dword [esp + 0x20]
add esp, 0x10
push 0xfffffffffffffffd
lea eax, [esp + 0x12c]
push eax
push ecx
call fcn.10019f10
cmp ax, di
je 0x10004468
cmp ax, 1
je 0x10004468
mov eax, dword [esp + 0x10]
push 0x80004005
lea edx, [esp + 0x1c]
push edx
push str.SQLExecDirectW
push eax
push 3
call fcn.1000d2a0
mov ecx, dword [esp + 0x24]
add esp, 0x14
push ecx
push 3
call fcn.100195a0
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
add esp, 0x518
ret 4
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
push edi
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffee
push 1
push ecx
call fcn.1001e7e0
cmp ax, di
je 0x100044d2
cmp ax, 1
je 0x100044d2
mov eax, dword [esp + 0x10]
push 0x80004005
lea edx, [esp + 0x1c]
push edx
push str.SQLBindCol
push eax
push 3
call fcn.1000d2a0
mov ecx, dword [esp + 0x24]
add esp, 0x14
push ecx
call fcn.1001b8d0
mov edx, dword [esp + 0x10]
push edx
push 3
call fcn.100195a0
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
add esp, 0x518
ret 4
mov eax, dword [esp + 0x10]
push edi
push 1
push eax
call fcn.1001ccb0
cmp ax, di
je 0x100044ea
cmp ax, 1
jne 0x10004501
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x100044f7
cmp eax, 4
jne 0x100044d2
inc ebp
cmp eax, 4
jne 0x100044d2
mov bl, 1
jmp 0x100044d2
mov ecx, dword [esp + 0x10]
push ecx
call fcn.1001b8d0
mov edx, dword [esp + 0x10]
push edx
push 3
call fcn.100195a0
cmp ebp, edi
mov dword [esp + 0x10], edi
jne 0x1000458a
push 0x10077190
call fcn.10068100
push str.call
mov esi, eax
call fcn.10068100
add esi, eax
lea eax, [esp + 0x30]
push eax
call fcn.10068100
add esi, eax
shl esi, 1
push esi
call fcn.10067c37
mov esi, eax
push str.call
push esi
call fcn.10068259
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.1006822f
mov edx, dword [esp + 0x30]
add esp, 0x20
push edx
push 3
call fcn.100195a0
mov eax, dword [esp + 0x52c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x518
ret 4
push 0x1007717c
call fcn.10068100
mov esi, eax
push 0x10077174
imul esi, ebp
call fcn.10068100
push 0x1007716c
lea esi, [eax + esi*2]
call fcn.10068100
push 0x10077190
add esi, eax
call fcn.10068100
push str.call
add esi, eax
call fcn.10068100
lea ecx, [esp + 0x3c]
push ecx
add esi, eax
call fcn.10068100
add esi, eax
shl esi, 1
push esi
call fcn.10067c37
add esp, 0x1c
test bl, bl
mov esi, eax
je 0x10004648
push 0x1007716c
push esi
call fcn.10068259
push str.call
push esi
call fcn.1006822f
lea edx, [esp + 0x38]
push edx
push esi
call fcn.1006822f
push 0x10077168
push esi
call fcn.1006822f
mov edi, 1
add esp, 0x20
cmp ebp, edi
jle 0x10004695
nop
cmp edi, 1
jle 0x10004633
push 0x10077164
push esi
call fcn.1006822f
add esp, 8
push 0x10077160
push esi
call fcn.1006822f
add esp, 8
inc edi
cmp edi, ebp
jl 0x10004620
jmp 0x10004695
push str.call
push esi
call fcn.10068259
lea eax, [esp + 0x30]
push eax
push esi
call fcn.1006822f
push 0x10077168
push esi
call fcn.1006822f
add esp, 0x18
test ebp, ebp
jle 0x10004695
test edi, edi
jle 0x10004682
push 0x10077164
push esi
call fcn.1006822f
add esp, 8
push 0x10077160
push esi
call fcn.1006822f
add esp, 8
inc edi
cmp edi, ebp
jl 0x10004670
push str.____
push esi
call fcn.1006822f
mov ecx, dword [esp + 0x534]
add esp, 8
pop edi
mov dword [ecx], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x518
ret 4