Function at 0x4240b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401aa6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401988
xor edi, edi
mov edx, 0x410974
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push edi
push 1
push 1
lea eax, [ebp - 0x4c]
push edi
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x4c]
mov ebx, 0x4008
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x5c], ebx
mov ecx, dword [eax + 0x14]
shl ecx, 4
mov esi, ecx
mov ecx, dword [eax + 0xc]
sub ecx, esi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
add esp, 0x1c
lea edx, [ebp - 0x5c]
call esi
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x6c], ebx
mov ecx, dword [eax + 0x14]
lea edx, [ebp - 0x6c]
shl ecx, 4
mov ebx, ecx
mov ecx, dword [eax + 0xc]
sub ecx, ebx
add ecx, 0x10
call esi
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x4c]
push edx
push eax
call fcn.0041b4d0
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x4c]
push ecx
push edi
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], edi
call esi
mov edx, dword [ebp + 8]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x74], 3
mov esi, dword [edx]
lea ecx, [ebp - 0x7c]
mov eax, dword [esi]
lea edx, [ebp - 0x70]
push ecx
push edx
lea ecx, [ebp - 0x78]
lea edx, [ebp - 0x74]
push ecx
push edx
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push esi
call dword [eax + 0x48]
cmp eax, edi
fnclex
jge 0x4241fa
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x48
push 0x404060
push esi
push eax
call ebx
jmp 0x424200
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x70]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp eax, edi
fnclex
jge 0x424221
mov ecx, dword [ebp - 0x14]
push 0x50
push 0x404f68
push ecx
push eax
call ebx
cmp word [ebp - 0x70], di
jne 0x4244d1
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x64], 0x410a20
mov dword [ebp - 0x6c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x54]
cmp eax, edi
fnclex
jge 0x42425a
mov edx, dword [ebp - 0x14]
push 0x54
push 0x404f68
push edx
push eax
call ebx
lea esi, [ebp - 0x28]
mov eax, dword [ebp - 0x24]
push esi
mov ecx, 2
sub esp, 0x10
mov dword [ebp - 0x5c], ecx
mov esi, esp
mov dword [ebp - 0x54], edi
mov edx, dword [eax]
push eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x84], eax
mov dword [esi + 4], ecx
mov ecx, edi
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x50]
mov dword [esi + 0xc], ecx
call dword [edx + 0x28]
cmp eax, edi
fnclex
jge 0x4242a7
mov edx, dword [ebp - 0x84]
push 0x28
push 0x404f78
push edx
push eax
call ebx
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x38]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x34]
cmp eax, edi
fnclex
jge 0x4242c7
push 0x34
push 0x404fb0
push esi
push eax
call ebx
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x38]
push eax
lea edx, [ebp - 0x48]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x24]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x38]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
push edi
push 1
push 1
lea ecx, [ebp - 0x4c]
push edi
push ecx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x5c], 0x4008
mov ecx, dword [eax + 0x14]
add esp, 0x34
shl ecx, 4
mov dword [ebp - 0xa0], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x5c]
sub ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x6c], 0x4008
mov ecx, dword [eax + 0x14]
lea edx, [ebp - 0x6c]
shl ecx, 4
mov dword [ebp - 0xa4], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0xa4]
sub ecx, eax
add ecx, 0x10
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x4c]
push ecx
push edx
call fcn.0041b4d0
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], edi
call esi
mov ecx, dword [ebp + 8]
mov eax, 1
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x78], eax
mov esi, dword [ecx]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x7c]
mov edx, dword [esi]
lea ecx, [ebp - 0x70]
push eax
push ecx
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x74]
push eax
push ecx
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push eax
push ecx
push esi
call dword [edx + 0x48]
cmp eax, edi
fnclex
jge 0x4243f6
push 0x48
push 0x404060
push esi
push eax
call ebx
mov eax, dword [ebp - 0x1c]
push eax
mov edx, dword [eax]
call dword [edx + 0x90]
cmp eax, edi
fnclex
jge 0x424419
mov ecx, dword [ebp - 0x1c]
push 0x90
push 0x404f68
push ecx
push eax
call ebx
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x70]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
cmp eax, edi
fnclex
jge 0x42443a
mov edx, dword [ebp - 0x1c]
push 0x50
push 0x404f68
push edx
push eax
call ebx
mov eax, dword [ebp - 0x1c]
cmp word [ebp - 0x70], di
mov ecx, dword [eax]
jne 0x424487
push 1
push eax
call dword [ecx + 0x84]
cmp eax, edi
fnclex
jge 0x424465
mov edx, dword [ebp - 0x1c]
push 0x84
push 0x404f68
push edx
push eax
call ebx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
cmp eax, edi
fnclex
jge 0x424419
mov edx, dword [ebp - 0x1c]
push 0x90
push 0x404f68
push edx
jmp 0x424416
push eax
call dword [ecx + 0x80]
cmp eax, edi
fnclex
jge 0x4244a5
mov edx, dword [ebp - 0x1c]
push 0x80
push 0x404f68
push edx
push eax
call ebx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
cmp eax, edi
fnclex
jge 0x424200
mov edx, dword [ebp - 0x14]
push 0x90
push 0x404f68
push edx
push eax
call ebx
jmp 0x424200
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
cmp eax, edi
fnclex
jge 0x4244f4
mov edx, dword [ebp - 0x14]
push 0x80
push 0x404f68
push edx
push eax
call ebx
push 0x4041d4
push edi
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0x424565
jmp 0x42454b
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x1c]
call esi
ret