Function at 0x435050
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x401e36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x4016a8
xor esi, esi
mov edx, 0x40c36c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 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 - 0x80], esi
mov dword [ebp - 0x7c], esi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x2c]
push eax
push ecx
call fcn.0042ce90
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov edi, dword [0x461098]
mov edx, 0x80020004
mov ecx, 0xa
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x58], ecx
mov ebx, dword [edi]
lea edi, [ebp - 0x34]
mov eax, edx
push edi
sub esp, 0x10
mov edi, esp
sub esp, 0x10
mov dword [edi], ecx
mov ecx, dword [ebp - 0x74]
mov dword [edi + 4], ecx
mov ecx, esp
sub esp, 0x10
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [edi + 0xc], eax
mov eax, 0xa
mov dword [ecx], eax
mov eax, dword [ebp - 0x64]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ecx + 4], eax
mov eax, esp
push 0x40c3ac
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x4c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x403bfc
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, dword [0x461098]
push eax
push edx
call dword [ebx + 0xbc]
cmp eax, esi
fnclex
jge 0x43518c
mov ecx, dword [0x461098]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x403a14
push ecx
push eax
call edi
jmp 0x435192
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x18]
push eax
push edx
mov dword [ebp - 0x34], esi
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x2c]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov eax, dword [ebp - 0x18]
add esp, 0xc
lea ecx, [ebp - 0x80]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x70]
cmp eax, esi
fnclex
jge 0x4351d7
mov edx, dword [ebp - 0x18]
push 0x70
push 0x403a24
push edx
push eax
call edi
cmp dword [ebp - 0x80], esi
jne 0x435200
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x50], 0x403a60
mov dword [ebp - 0x58], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
push 0x4352ed
jmp 0x4352e3
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
cmp eax, esi
fnclex
jge 0x435227
mov ecx, dword [ebp - 0x18]
push 0xb4
push 0x403a24
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 - 0x58], edx
mov ebx, esp
mov ecx, 0x403b20
mov dword [ebp - 0x50], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x54]
push eax
mov dword [ebp - 0x88], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x30]
cmp eax, esi
fnclex
jge 0x43527b
mov edx, dword [ebp - 0x88]
push 0x30
push 0x40427c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x28]
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 0x4352ed
jmp 0x4352e3
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret