Function at 0x422c80
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3b23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
add esi, 0x120
push esi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.0045e9e7
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push str.SELECT__FROM_iso_WHERE_v___s
mov bl, 2
push ecx
mov byte [ebp - 4], bl
call fcn.00403140
mov edx, dword [ebp - 0x24]
add esp, 0xc
push 0
push edx
push 0xffffffffffffffff
lea ecx, [ebp - 0xc0]
call fcn.00460384
push 0x4ab610
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc0]
call fcn.0045e49c
mov esi, dword [eax + 8]
test esi, esi
mov byte [ebp - 4], 3
jne 0x422d25
xor eax, eax
jmp 0x422d2e
push esi
call fcn.0046ab7c
add esp, 4
mov ecx, dword [ebp + 0xc]
push eax
push esi
call fcn.004042c0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], bl
call edi
push 0x4ab64c
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0xc0]
call fcn.0045e49c
mov esi, dword [eax + 8]
test esi, esi
mov byte [ebp - 4], 4
jne 0x422d6a
xor eax, eax
jmp 0x422d73
push esi
call fcn.0046ab7c
add esp, 4
mov ecx, dword [ebp + 0x10]
push eax
push esi
call fcn.004042c0
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], bl
call edi
push 0x4ab644
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.0045e49c
mov esi, dword [eax + 8]
test esi, esi
mov byte [ebp - 4], 5
jne 0x422da9
xor eax, eax
jmp 0x422db2
push esi
call fcn.0046ab7c
add esp, 4
mov ecx, dword [ebp + 0x14]
push eax
push esi
call fcn.004042c0
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], bl
call edi
push 0x4ab63c
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc0]
call fcn.0045e49c
mov esi, dword [eax + 8]
test esi, esi
mov byte [ebp - 4], 6
jne 0x422de8
xor eax, eax
jmp 0x422df1
push esi
call fcn.0046ab7c
add esp, 4
mov ecx, dword [ebp + 0x18]
push eax
push esi
call fcn.004042c0
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], bl
call edi
push 0x4ab5ec
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0xc0]
call fcn.0045e49c
mov esi, dword [eax + 8]
test esi, esi
mov byte [ebp - 4], 7
jne 0x422e27
xor eax, eax
jmp 0x422e30
push esi
call fcn.0046ab7c
add esp, 4
mov ecx, dword [ebp + 0x1c]
push eax
push esi
call fcn.004042c0
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], bl
call edi
push 0x4ab620
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.0045e49c
mov esi, dword [eax + 8]
test esi, esi
mov byte [ebp - 4], 8
jne 0x422e66
xor eax, eax
jmp 0x422e6f
push esi
call fcn.0046ab7c
add esp, 4
mov ecx, dword [ebp + 0x20]
push eax
push esi
call fcn.004042c0
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], bl
call edi
push 0x4ab634
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc0]
call fcn.0045e49c
mov esi, dword [eax + 8]
test esi, esi
mov byte [ebp - 4], 9
jne 0x422ea5
xor eax, eax
jmp 0x422eae
push esi
call fcn.0046ab7c
add esp, 4
mov ecx, dword [ebp + 0x24]
push eax
push esi
call fcn.004042c0
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], bl
call edi
push 0x4ab62c
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0xc0]
call fcn.0045e49c
mov esi, dword [eax + 8]
test esi, esi
mov byte [ebp - 4], 0xa
jne 0x422ee4
xor eax, eax
jmp 0x422eed
push esi
call fcn.0046ab7c
add esp, 4
mov ecx, dword [ebp + 0x28]
push eax
push esi
call fcn.004042c0
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], bl
call edi
lea ecx, [ebp - 0xc0]
call fcn.0045e2da
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.0045ea79
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422f3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24