Function at 0x6322f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x402216
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402180
xor esi, esi
push 0x42ab88
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x5c], esi
call dword [sym.imp.MSVBVM60.DLL___vbaNew]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov ecx, dword [0x634230]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push 0x43b32c
push ecx
call edi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call ebx
push eax
push 0x42adf0
call edi
mov edx, eax
lea ecx, [ebp - 0x14]
call ebx
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov edx, dword [0x6342bc]
mov eax, dword [0x6342cc]
push edx
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call ebx
push 1
push 3
push 3
mov eax, dword [ebp - 0x18]
sub esp, 0x10
mov ecx, 8
mov ebx, esp
sub esp, 0x10
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x54]
mov edi, dword [edi]
mov dword [ebx + 4], ecx
mov ecx, esp
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0xc], eax
mov eax, 8
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0xc], edx
call dword [edi + 0xa0]
cmp eax, esi
fnclex
jge 0x632408
mov ecx, dword [ebp - 0x1c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xa0
push 0x42af94
push ecx
push eax
call edi
jmp 0x63240e
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x5c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
cmp eax, esi
fnclex
jge 0x63242f
mov edx, dword [ebp - 0x1c]
push 0x50
push 0x42af94
push edx
push eax
call edi
cmp word [ebp - 0x5c], si
jne 0x6324d5
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x24]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp eax, esi
fnclex
jge 0x63245a
mov ecx, dword [ebp - 0x1c]
push 0x54
push 0x42af94
push ecx
push eax
call edi
lea ebx, [ebp - 0x28]
mov eax, dword [ebp - 0x24]
push ebx
mov edx, 8
sub esp, 0x10
mov edi, dword [eax]
mov ebx, esp
mov ecx, 0x43b390
push eax
mov dword [ebp - 0x64], eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x44]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
cmp eax, esi
fnclex
jge 0x6324a2
mov edx, dword [ebp - 0x64]
push 0x28
push 0x42b068
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 9
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
lea ecx, [ebp - 0x24]
mov esi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
neg si
sbb esi, esi
mov word [0x634440], si
push 0x632523
jmp 0x632509
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret