Function at 0x48c8a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x4027b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x4014d0
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 - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], esi
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov eax, dword [0x4bb03c]
mov ecx, dword [eax]
lea edx, [ebp - 0x90]
push edx
push eax
call dword [ecx + 0x68]
fnclex
cmp eax, esi
jge 0x48c93c
push 0x68
push 0x409420
mov ecx, dword [0x4bb03c]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x40a540
mov edx, dword [ebp - 0x90]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x2c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x20]
call edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
push 0x409d68
call dword [sym.imp.MSVBVM60.DLL___vbaNew]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push 3
push eax
call dword [ecx + 0xf0]
fnclex
cmp eax, esi
jge 0x48c9b1
push 0xf0
push 0x409d7c
mov edx, dword [ebp - 0x24]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x4bb034]
mov ecx, 9
mov edx, dword [ebp - 0x20]
mov esi, 8
mov edi, dword [ebp - 0x24]
mov edi, dword [edi]
push 0xffffffffffffffff
push 3
push 1
sub esp, 0x10
mov ebx, esp
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x74]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], esi
mov eax, dword [ebp - 0x64]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x24]
push eax
call dword [edi + 0xa0]
fnclex
test eax, eax
jge 0x48ca1f
push 0xa0
push 0x409d7c
mov ecx, dword [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
lea ecx, [ebp - 0x8c]
push ecx
push eax
call dword [edx + 0x50]
fnclex
test eax, eax
jge 0x48ca47
push 0x50
push 0x409d7c
mov edx, dword [ebp - 0x24]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp word [ebp - 0x8c], 0
jne 0x48cdb5
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, 3
mov edx, 0x40a5a4
mov esi, 8
mov edi, dword [ebp - 0x24]
mov edi, dword [edi]
sub esp, 0x10
mov ebx, esp
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x74]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], esi
mov eax, dword [ebp - 0x64]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x24]
push eax
call dword [edi + 0x100]
fnclex
test eax, eax
jge 0x48cac3
push 0x100
push 0x409d7c
mov ecx, dword [ebp - 0x24]
push ecx
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call edi
jmp 0x48cac9
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp + 8]
cmp dword [edx], 2
jne 0x48cc39
mov dword [ebp - 0x40], 0x80020004
mov dword [ebp - 0x48], 0xa
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarg]
mov eax, dword [0x4bb034]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push edx
push 0x40a5dc
push eax
call dword [ecx + 0x40]
fnclex
test eax, eax
jge 0x48cb1d
push 0x40
push 0x4098c8
mov ecx, dword [0x4bb034]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x30]
mov esi, eax
mov edx, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [edx + 0x54]
fnclex
test eax, eax
jge 0x48cb3d
push 0x54
push 0x409d7c
push esi
push eax
call edi
mov eax, dword [ebp - 0x34]
mov esi, eax
xor ecx, ecx
mov edx, 2
mov edi, dword [eax]
lea ebx, [ebp - 0x38]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x74]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x6c]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x28]
fnclex
test eax, eax
jge 0x48cb7e
push 0x28
push 0x409e74
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x38]
mov esi, eax
mov edx, dword [eax]
lea ecx, [ebp - 0x58]
push ecx
push eax
call dword [edx + 0x34]
fnclex
test eax, eax
jge 0x48cba2
push 0x34
push 0x409c50
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, 0x40a604
mov ecx, 8
mov edx, dword [ebp - 0x24]
mov esi, dword [edx]
sub esp, 0x10
mov edi, esp
mov ebx, dword [ebp - 0x58]
mov dword [edi], ebx
mov ebx, dword [ebp - 0x54]
mov dword [edi + 4], ebx
mov ebx, dword [ebp - 0x50]
mov dword [edi + 8], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [edi + 0xc], ebx
sub esp, 0x10
mov edi, esp
mov dword [edi], ecx
mov ecx, dword [ebp - 0x84]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [edi + 0xc], eax
push edx
call dword [esi + 0x100]
fnclex
test eax, eax
jge 0x48cc0c
push 0x100
push 0x409d7c
mov ecx, dword [ebp - 0x24]
push ecx
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call edi
jmp 0x48cc12
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x1c
mov eax, dword [0x4bb03c]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x3c]
fnclex
test eax, eax
jge 0x48cc5f
push 0x3c
push 0x409420
mov ecx, dword [0x4bb03c]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x40], eax
mov ecx, 8
mov dword [ebp - 0x48], ecx
mov edx, 0x40a628
mov esi, ecx
mov edi, dword [ebp - 0x24]
mov edi, dword [edi]
sub esp, 0x10
mov ebx, esp
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], esi
mov eax, dword [ebp - 0x64]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x24]
push eax
call dword [edi + 0x100]
fnclex
test eax, eax
jge 0x48ccd1
push 0x100
push 0x409d7c
mov ecx, dword [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [ebp - 0x48]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
call esi
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcGetPresentDate]
mov eax, 0x40a644
mov ecx, 8
mov edx, dword [ebp - 0x24]
mov edx, dword [edx]
sub esp, 0x10
mov edi, esp
mov ebx, dword [ebp - 0x48]
mov dword [edi], ebx
mov ebx, dword [ebp - 0x44]
mov dword [edi + 4], ebx
mov ebx, dword [ebp - 0x40]
mov dword [edi + 8], ebx
mov ebx, dword [ebp - 0x3c]
mov dword [edi + 0xc], ebx
sub esp, 0x10
mov edi, esp
mov dword [edi], ecx
mov ecx, dword [ebp - 0x64]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [edi + 0xc], eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [edx + 0x100]
fnclex
test eax, eax
jge 0x48cd4c
push 0x100
push 0x409d7c
mov edx, dword [ebp - 0x24]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [ebp - 0x48]
call esi
mov eax, 0x80020004
mov ecx, 0xa
mov edx, eax
mov esi, ecx
mov edi, dword [ebp - 0x24]
mov edi, dword [edi]
sub esp, 0x10
mov ebx, esp
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x74]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], esi
mov eax, dword [ebp - 0x64]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x24]
push eax
call dword [edi + 0xac]
fnclex
test eax, eax
jge 0x48cdb5
push 0xac
push 0x409d7c
mov ecx, dword [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x409d58
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0x28], 0xffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x48ce6a
jmp 0x48ce57
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret