Function at 0x421970
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401b16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401ae8
mov edx, dword [ebp + 8]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor esi, esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], 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 - 0x7c], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xac], esi
call edi
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call edi
mov eax, dword [ebp - 0x20]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push 0x40ac60
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x7c]
call dword [fcn.0040123c]
push eax
push 0x407f04
call edi
push 0x407f08
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0x8c], ecx
mov edx, esp
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
mov dword [ebp - 0x84], eax
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0x88]
push 3
mov dword [edx + 4], ecx
mov ecx, dword [0x423028]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x80]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x9c]
push edx
call ebx
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
add esp, 0x20
push eax
call edi
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x9c]
lea edx, [ebp - 0x8c]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, dword [ebp - 0x18]
push esi
push 1
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
add esp, 0x18
push 0x407f18
mov ecx, dword [ebp - 0x18]
push esi
push 2
lea edx, [ebp - 0x8c]
push ecx
push edx
call ebx
add esp, 0x10
push eax
call edi
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov esi, dword [ebp - 0xb8]
sub esp, 0x10
mov edx, esp
mov ecx, 3
mov edi, dword [ebp - 0xb0]
mov eax, 2
mov dword [edx], ecx
push 1
push 5
lea ecx, [ebp - 0x8c]
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x14]
push eax
push ecx
mov dword [edx + 0xc], edi
call ebx
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
sub esp, 0x10
mov ecx, 3
mov edx, esp
mov eax, 2
push 1
push 5
mov dword [edx], ecx
lea ecx, [ebp - 0x8c]
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x14]
push eax
push ecx
mov dword [edx + 0xc], edi
call ebx
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
sub esp, 0x10
mov ecx, 3
mov edx, esp
sub esp, 0x10
mov dword [edx], ecx
mov ecx, dword [ebp - 0xd8]
mov dword [edx + 4], ecx
mov ecx, 2
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0xd0]
mov dword [edx + 0xc], ecx
mov edx, esp
mov ecx, 3
sub esp, 0x10
mov dword [edx], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [edx + 4], ecx
mov ecx, esp
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xf0]
mov dword [edx + 0xc], eax
mov eax, 3
mov dword [ecx], eax
mov edx, dword [ebp - 0x118]
mov eax, 2
mov dword [ecx + 4], edx
push 3
push 4
lea edx, [ebp - 0x9c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x110]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x14]
push ecx
push edx
call ebx
add esp, 0x40
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xac], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x8c]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov edx, dword [ebp - 0x18]
push 0
push 4
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
add esp, 0x18
call fcn.00421880
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x8c], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
push 0
lea eax, [ebp - 0x8c]
push 0x40916c
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcCreateObject2]
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x30]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarSetVar]
sub esp, 0x10
mov ecx, 0x400c
mov edx, esp
lea eax, [ebp - 0x68]
sub esp, 0x10
mov dword [edx], ecx
mov ecx, esp
push 2
push 0x40acc4
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov eax, 0xb
mov dword [edx + 0xc], edi
mov edx, dword [ebp - 0xc8]
mov dword [ecx], eax
or eax, 0xffffffff
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x1c
mov ecx, 0x400c
mov edx, esp
lea eax, [ebp - 0x68]
mov dword [edx], ecx
mov dword [edx + 4], esi
mov dword [edx + 8], eax
push 1
lea eax, [ebp - 0x30]
push 0x40ace4
lea ecx, [ebp - 0x8c]
push eax
push ecx
mov dword [edx + 0xc], edi
call dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemCallLd]
add esp, 0x20
lea edx, [ebp - 0x58]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarSetVar]
sub esp, 0x10
mov eax, 2
mov edx, esp
mov ecx, eax
sub esp, 0x10
mov dword [edx], ecx
mov ecx, esp
push 2
push 0x40acf4
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov dword [edx + 0xc], edi
mov edx, dword [ebp - 0xd8]
mov dword [ecx], eax
mov eax, 0xfffffffe
mov dword [ecx + 4], edx
lea edx, [ebp - 0x8c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xd0]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x58]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemCallLd]
add esp, 0x30
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarSetVar]
sub esp, 0x10
mov ecx, 0x400c
mov edx, esp
lea eax, [ebp - 0x78]
push 1
push 0x40ad18
mov dword [edx], ecx
mov dword [edx + 4], esi
mov dword [edx + 8], eax
lea eax, [ebp - 0x48]
push eax
mov dword [edx + 0xc], edi
call dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x1c
lea ecx, [ebp - 0x48]
push 0
push 0x40ad24
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0xc
mov ecx, 3
mov eax, 1
push 0x407f18
sub esp, 0x10
mov edx, esp
push eax
push eax
mov dword [edx], ecx
lea ecx, [ebp - 0x8c]
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov eax, dword [0x423024]
push eax
push ecx
mov dword [edx + 0xc], edi
call ebx
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
lea edx, [ebp - 0x38]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarCopy]
sub esp, 0x10
mov ecx, 3
mov edx, esp
sub esp, 0x10
mov dword [ebp - 0x8c], 8
mov dword [ebp - 0x84], eax
mov dword [edx], ecx
mov ecx, 1
mov dword [edx + 4], esi
mov dword [edx + 8], ecx
mov ecx, esp
push 2
push 3
mov dword [edx + 0xc], edi
mov edx, dword [ebp - 0x8c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x88]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x80]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
add esp, 0x2c
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edx, dword [ebp - 0x1c]
push 0x40aa6c
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x7c]
call dword [fcn.0040123c]
push eax
push 0x408c8c
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push 0x407f08
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0x8c], ecx
mov edx, esp
mov dword [ebp - 0x84], eax
push 1
push 3
mov dword [edx], ecx
mov ecx, dword [ebp - 0x88]
mov dword [edx + 4], ecx
mov ecx, dword [0x423028]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x80]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x9c]
push edx
call ebx
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x9c]
lea edx, [ebp - 0x8c]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov ecx, 9
mov eax, dword [ebp - 0x38]
push ecx
mov edx, esp
push 1
push 1
mov dword [edx], ecx
mov dword [edx + 4], esi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x18]
push eax
mov dword [edx + 0xc], edi
call esi
mov ecx, dword [ebp - 0x18]
push 0
push 4
push ecx
call esi
add esp, 0x28
push 0x421fb2
jmp 0x421f6d
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x14]
call edi
lea ecx, [ebp - 0x18]
call edi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x20]
call esi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x30]
call esi
lea ecx, [ebp - 0x38]
call edi
lea ecx, [ebp - 0x48]
call esi
lea ecx, [ebp - 0x58]
call esi
lea ecx, [ebp - 0x68]
call esi
lea ecx, [ebp - 0x78]
call esi
ret