Function at 0x631ff0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x402216
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x402170
xor esi, esi
mov ebx, 8
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 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 - 0x78], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x60], 0x42b010
mov dword [ebp - 0x68], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
mov eax, dword [0x6342bc]
mov ecx, dword [0x6342cc]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x1c]
call edi
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x78]
push edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x60], 0x43b2c4
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x80], 0x43a2ec
mov dword [ebp - 0x88], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0x48]
push eax
call ebx
lea ecx, [ebp - 0x88]
push eax
lea edx, [ebp - 0x58]
push ecx
push edx
call ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x18]
call edi
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x48]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
push 0x42ab88
call dword [sym.imp.MSVBVM60.DLL___vbaNew]
lea edx, [ebp - 0x30]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
mov ecx, 8
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x68], ecx
mov edi, dword [edi]
push 1
push 3
push 3
sub esp, 0x10
mov ebx, esp
sub esp, 0x10
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x74]
mov dword [ebx + 4], ecx
mov ecx, esp
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x68]
mov dword [ecx], eax
mov eax, dword [ebp - 0x64]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x30]
push eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 0xc], edx
call dword [edi + 0xa0]
cmp eax, esi
fnclex
jge 0x632173
mov ecx, dword [ebp - 0x30]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xa0
push 0x42af94
push ecx
push eax
call edi
jmp 0x632179
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x8c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
cmp eax, esi
fnclex
jge 0x63219d
mov edx, dword [ebp - 0x30]
push 0x50
push 0x42af94
push edx
push eax
call edi
cmp word [ebp - 0x8c], si
je 0x6321ca
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x60], 0x42b010
mov dword [ebp - 0x68], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
push 0x6322b8
jmp 0x63229e
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp eax, esi
fnclex
jge 0x6321eb
mov ecx, dword [ebp - 0x30]
push 0x54
push 0x42af94
push ecx
push eax
call edi
lea ebx, [ebp - 0x38]
mov eax, dword [ebp - 0x34]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x68], edx
mov ebx, esp
mov ecx, 0x42ceb4
mov dword [ebp - 0x60], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x64]
push eax
mov dword [ebp - 0x94], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
cmp eax, esi
fnclex
jge 0x63223f
mov edx, dword [ebp - 0x94]
push 0x28
push 0x42b068
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], 9
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
push 0x6322b8
jmp 0x63229e
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret