Function at 0x435320
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, 0xa8
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x4016b8
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor eax, eax
mov edx, 0x40c210
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x98], eax
call esi
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x2c]
push eax
push ecx
call fcn.0042ce90
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov edx, 0x40be24
lea ecx, [ebp - 0x1c]
call esi
call fcn.0042bab0
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, 0x403a58
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, dword [ebp + 8]
mov ebx, 1
mov esi, ebx
mov ax, word [edx]
mov word [ebp - 0xb0], ax
cmp si, word [ebp - 0xb0]
jg 0x4354b2
lea ecx, [ebp - 0x9c]
lea edx, [ebp - 0x98]
push ecx
push edx
mov dword [ebp - 0x9c], 0x24
mov dword [ebp - 0x98], 1
call fcn.0043ca70
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x8c], ecx
movsx edx, ax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x74]
push ecx
push edx
lea ecx, [ebp - 0x54]
push eax
push ecx
mov dword [ebp - 0x94], 8
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x74], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea edx, [ebp - 0x94]
lea eax, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x64]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call edi
lea edx, [ebp - 0x64]
lea eax, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x44]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov dx, bx
add esp, 0x10
add dx, si
jo 0x435692
mov esi, edx
jmp 0x4353ed
mov esi, dword [0x461098]
mov edx, 0x80020004
mov eax, edx
mov ecx, 0xa
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x74], ecx
mov ebx, dword [esi]
lea esi, [ebp - 0x34]
push esi
sub esp, 0x10
mov esi, esp
sub esp, 0x10
mov dword [esi], ecx
mov ecx, dword [ebp - 0x90]
mov dword [esi + 4], ecx
mov ecx, esp
sub esp, 0x10
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x88]
mov dword [esi + 0xc], eax
mov eax, 0xa
mov dword [ecx], eax
mov eax, dword [ebp - 0x80]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ecx + 4], eax
mov eax, esp
push 0x40b1ac
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x78]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x70]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x68]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x24]
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x2c]
call edi
push eax
push 0x403bfc
call esi
mov edx, eax
lea ecx, [ebp - 0x30]
call edi
mov ecx, dword [0x461098]
push eax
push ecx
call dword [ebx + 0xbc]
test eax, eax
fnclex
jge 0x435582
mov edx, dword [0x461098]
push 0xbc
push 0x403a14
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x2c]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov eax, dword [ebp - 0x18]
add esp, 0xc
lea edx, [ebp - 0xa4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x70]
test eax, eax
fnclex
jge 0x4355d2
mov ecx, dword [ebp - 0x18]
push 0x70
push 0x403a24
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x43560c
mov eax, dword [ebp - 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 0xc4]
test eax, eax
fnclex
jge 0x4353cb
mov ecx, dword [ebp - 0x18]
push 0xc4
push 0x403a24
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
jmp 0x4353cb
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x43567c
jmp 0x435662
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x24]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop