Function at 0x532b50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x402cc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402918
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov dword [ebp - 4], 4
mov dword [ebp - 0x3c], 0x80020004
mov dword [ebp - 0x44], 0xa
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarg]
mov eax, dword [0x536064]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x44]
push edx
push 0x410f98
push eax
call dword [ecx + 0x40]
fnclex
cmp eax, esi
jge 0x532c13
push 0x40
push 0x409744
mov ecx, dword [0x536064]
push ecx
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call edi
jmp 0x532c19
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x409474
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x58]
push edx
push eax
call dword [ecx + 0x50]
fnclex
cmp eax, esi
jge 0x532c6d
push 0x50
push 0x409664
mov ecx, dword [ebp - 0x24]
push ecx
push eax
call edi
cmp word [ebp - 0x58], si
jne 0x532d45
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [edx + 0x54]
fnclex
cmp eax, esi
jge 0x532c9f
push 0x54
push 0x409664
mov edx, dword [ebp - 0x24]
push edx
push eax
call edi
mov eax, dword [ebp - 0x30]
mov esi, eax
mov ecx, 0x41103c
mov edx, 8
mov edi, dword [eax]
lea ebx, [ebp - 0x34]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x50]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x28]
fnclex
test eax, eax
jge 0x532ce3
push 0x28
push 0x409724
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x34]
mov esi, eax
mov edx, dword [eax]
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [edx + 0x34]
fnclex
test eax, eax
jge 0x532d07
push 0x34
push 0x409734
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x532dad
jmp 0x532d9c
mov dword [ebp - 4], 7
jmp 0x532d55
mov edx, 0x409260
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x532dad
jmp 0x532d9c
lea ecx, [ebp - 0x24]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
call esi
lea ecx, [ebp - 0x28]
call esi
ret