Function at 0x532920
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x402cc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x4028f0
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x50], esi
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x34], 0x80020004
mov dword [ebp - 0x3c], 0xa
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarg]
mov eax, dword [0x536064]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x3c]
push edx
push 0x410e58
push eax
call dword [ecx + 0x40]
fnclex
cmp eax, esi
jge 0x5329be
push 0x40
push 0x409744
mov ecx, dword [0x536064]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x409474
mov edx, dword [ebp - 0x2c]
push edx
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
call esi
push eax
lea eax, [ebp - 0x20]
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
call edi
lea ecx, [ebp - 0x2c]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
call ebx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x50]
push edx
push eax
call dword [ecx + 0x50]
fnclex
test eax, eax
jge 0x532a15
push 0x50
push 0x409664
mov ecx, dword [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp word [ebp - 0x50], 0
je 0x532a25
mov dword [ebp - 0x24], 0
jmp 0x532a35
push 0x409474
push 0
call esi
push eax
lea edx, [ebp - 0x20]
push edx
call edi
mov dword [ebp - 0x34], 0x80020004
mov dword [ebp - 0x3c], 0xa
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarg]
mov eax, dword [0x536064]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x3c]
push edx
push 0x410ef4
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x532a81
push 0x40
push 0x409744
mov ecx, dword [0x536064]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x409474
mov edx, dword [ebp - 0x2c]
push edx
call esi
push eax
lea eax, [ebp - 0x28]
push eax
call edi
lea ecx, [ebp - 0x2c]
call ebx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x50]
push edx
push eax
call dword [ecx + 0x50]
fnclex
test eax, eax
jge 0x532ac6
push 0x50
push 0x409664
mov ecx, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp word [ebp - 0x50], 0
je 0x532ae1
mov dword [ebp - 0x24], 0
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x532b2f
jmp 0x532b1e
push 0x409474
push 0
call esi
push eax
lea edx, [ebp - 0x20]
push edx
call edi
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x532b2f
jmp 0x532b1e
lea ecx, [ebp - 0x20]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
call esi
lea ecx, [ebp - 0x28]
call esi
ret