Function at 0x621400
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x405e06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x4048b8
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 - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x28], 0xffffffff
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov edx, 0x42b4c0
mov ecx, 0x653108
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push esi
push 0x4220e4
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcCreateObject2]
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
push eax
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, 0x6530ac
mov dword [ebp - 0x78], eax
mov ecx, 0x4008
mov dword [ebp - 0x80], ecx
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 0x7c]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x74]
mov dword [edx + 0xc], eax
push 1
push 0x421f4c
mov ecx, dword [ebp - 0x24]
push ecx
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
call ebx
add esp, 0x1c
push 0x42b4fc
mov edx, dword [0x65303c]
push edx
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
call edi
mov edx, eax
lea ecx, [ebp - 0x2c]
mov esi, dword [reloc.MSVBVM60.DLL___vbaStrMove]
call esi
push eax
push 0x42b568
call edi
mov dword [ebp - 0x38], eax
mov ecx, 8
mov dword [ebp - 0x40], ecx
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [edx + 0xc], eax
push 1
push 0x423644
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x40]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
push 0
push 0x422200
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x10
push eax
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarNot]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
mov word [ebp - 0x94], ax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp word [ebp - 0x94], 0
je 0x621658
mov eax, dword [0x653108]
push eax
push 0x422860
call edi
mov dword [ebp - 0x58], eax
mov ecx, 8
mov dword [ebp - 0x60], ecx
mov eax, 0x423bc4
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x80], ecx
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 0x7c]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x74]
mov dword [edx + 0xc], eax
push 1
push 0
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x20
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, 0x653108
call esi
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
push ecx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
push 0
push 0x423ae4
mov edx, dword [ebp - 0x20]
push edx
call ebx
add esp, 0x20
jmp 0x621568
cmp word [0x653104], 0
je 0x621714
push 0
push 0xffffffffffffffff
push 1
push 0x4218c4
push 0x421ecc
mov eax, dword [0x653108]
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL_rtcReplace]
call edi
mov edx, eax
mov ecx, 0x653108
call esi
push 0
push 0xffffffffffffffff
push 1
push 0x425958
push 0x421ee4
mov ecx, dword [0x653108]
push ecx
call edi
mov edx, eax
mov ecx, 0x653108
call esi
push 0
push 0xffffffffffffffff
push 1
push 0x425940
push 0x42594c
mov edx, dword [0x653108]
push edx
call edi
mov edx, eax
mov ecx, 0x653108
call esi
push 0
push 0xffffffffffffffff
push 1
push 0x42b5d4
push 0x42b5c8
mov eax, dword [0x653108]
push eax
call edi
mov edx, eax
mov ecx, 0x653108
call esi
push 0
push 0xffffffffffffffff
push 1
push 0x425854
push 0x425834
mov ecx, dword [0x653108]
push ecx
call edi
mov edx, eax
mov ecx, 0x653108
call esi
push 0
push 0x422248
mov edx, dword [ebp - 0x20]
push edx
call ebx
add esp, 0xc
push 0
lea eax, [ebp - 0x20]
push eax
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
call esi
push 0
push 0x422248
mov ecx, dword [ebp - 0x24]
push ecx
call ebx
add esp, 0xc
push 0
lea edx, [ebp - 0x24]
push edx
call esi
jmp 0x6217d5
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x621829
jmp 0x621818
lea ecx, [ebp - 0x20]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
call esi
lea ecx, [ebp - 0x24]
call esi
ret