Function at 0x447100
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x401e76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401858
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xb4], ebx
call esi
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x34]
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x44]
call edi
mov edx, dword [ebp + 0x20]
lea ecx, [ebp - 0x28]
call esi
mov edx, dword [ebp + 0x24]
lea ecx, [ebp - 0x30]
call esi
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x84], 0x40a924
mov dword [ebp - 0x8c], 8
call edi
mov ecx, dword [ebp - 0x34]
push ebx
lea eax, [ebp - 0x5c]
push 0xffffffffffffffff
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcSplit]
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaRefVarAry]
mov ecx, dword [eax]
push ecx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov ecx, eax
add ecx, 1
jo 0x4479c5
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x5c]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov eax, 1
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp ax, word [ebp - 0x1c]
jg 0x447337
sub ax, 1
lea edx, [ebp - 0x8c]
jo 0x4479c5
lea ecx, [ebp - 0x5c]
mov word [ebp - 0x94], ax
mov dword [ebp - 0x9c], 2
mov dword [ebp - 0x84], 0x40a924
mov dword [ebp - 0x8c], 8
call edi
mov edx, dword [ebp - 0x34]
push ebx
lea ecx, [ebp - 0x5c]
push 0xffffffffffffffff
push ecx
lea eax, [ebp - 0x6c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcSplit]
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x98]
sub esp, 0x10
mov ecx, esp
push 1
mov dword [ecx], edx
mov edx, dword [ebp - 0x94]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x90]
mov dword [ecx + 8], edx
lea edx, [ebp - 0x7c]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoad]
add esp, 0x1c
mov edx, 0x4099e4
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrErrVarCopy]
mov edx, eax
lea ecx, [ebp - 0x48]
call esi
lea ecx, [ebp - 0x4c]
push ebx
lea edx, [ebp - 0x48]
push ecx
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.00445180
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x48]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x5c]
push ecx
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
add esp, 0x1c
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
mov eax, 1
add ax, word [ebp - 0x18]
jo 0x4479c5
mov dword [ebp - 0x18], eax
jmp 0x44721f
mov eax, dword [ebp - 0x2c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
lea edx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x8c], 0x4008
call edi
mov ecx, dword [ebp - 0x28]
mov edx, eax
push ecx
mov dword [ebp - 0xe0], edx
call edi
mov edx, dword [ebp - 0xe0]
lea ecx, [ebp - 0x5c]
sub edx, eax
lea eax, [ebp - 0x8c]
jo 0x4479c5
push edx
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edi, dword [ebp + 0x28]
mov eax, dword [edi]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov ecx, eax
add ecx, 1
jo 0x4479c5
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov dword [ebp - 0xcc], eax
mov eax, 1
cmp ax, word [ebp - 0xcc]
mov dword [ebp - 0x18], eax
jg 0x447552
mov ecx, dword [edi]
cmp ecx, ebx
je 0x44740a
cmp word [ecx], 1
jne 0x44740a
mov edx, dword [ecx + 0x14]
movsx eax, ax
sub eax, edx
mov edx, dword [ecx + 0x10]
cmp eax, edx
mov dword [ebp - 0xbc], eax
jb 0x447405
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0xbc]
shl eax, 4
jmp 0x447410
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [edi]
mov edx, dword [ecx + 0xc]
lea ecx, [ebp - 0x9c]
add edx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrErrVarCopy]
mov edx, eax
lea ecx, [ebp - 0x4c]
call esi
mov eax, dword [edi]
cmp eax, ebx
je 0x447473
cmp word [eax], 1
jne 0x447473
mov dx, word [ebp - 0x18]
sub dx, 1
jo 0x4479c5
movsx ecx, dx
mov edx, dword [eax + 0x14]
sub ecx, edx
mov edx, dword [eax + 0x10]
cmp ecx, edx
mov dword [ebp - 0xb8], ecx
jb 0x44746c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0xb8]
shl ecx, 4
mov eax, ecx
jmp 0x447479
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [edi]
mov edx, dword [ecx + 0xc]
lea ecx, [ebp - 0x8c]
add edx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrErrVarCopy]
mov edx, eax
lea ecx, [ebp - 0x48]
call esi
mov eax, dword [ebp - 0x18]
movsx edx, ax
sub ax, 1
mov dword [ebp - 0xe4], edx
fild dword [ebp - 0xe4]
jo 0x4479c5
movsx eax, ax
fstp qword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
fild dword [ebp - 0xf0]
fstp qword [ebp - 0xf8]
fld qword [ebp - 0xf8]
cmp dword [section..data], 0
jne 0x4474e8
fdiv qword [0x401850]
jmp 0x4474f9
push dword [0x401854]
push dword [0x401850]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fsubr qword [ebp - 0xec]
fnstsw ax
test al, 0xd
jne 0x4479c0
call dword [sym.imp.MSVBVM60.DLL___vbaFpI2]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0xb0], eax
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
push ecx
lea eax, [ebp - 0xb0]
push edx
push eax
call fcn.00445180
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x48]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov eax, 2
add esp, 0xc
add ax, word [ebp - 0x18]
jo 0x4479c5
jmp 0x4473c8
mov eax, dword [edi]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
add eax, 1
jo 0x4479c5
mov dword [ebp - 0xfc], eax
fild dword [ebp - 0xfc]
fstp qword [ebp - 0x104]
fld qword [ebp - 0x104]
cmp dword [section..data], 0
jne 0x44758f
fdiv qword [0x401850]
jmp 0x4475a0
push dword [0x401854]
push dword [0x401850]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x4479c0
call dword [sym.imp.MSVBVM60.DLL___vbaFpI2]
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
mov ecx, 4
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov edx, dword [ebp - 0x20]
push eax
push edx
call fcn.00445220
mov edx, eax
mov ecx, 0x460120
call esi
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x8c]
mov edi, 0x4099e4
push eax
push ecx
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x8c], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
test ax, ax
je 0x44764f
mov edx, dword [0x460120]
push edx
push 0x40e7d8
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
mov dword [ebp - 0x5c], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, 0x460120
call esi
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x5c]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov eax, dword [0x460118]
mov dword [ebp - 0x84], edi
cmp eax, ebx
mov dword [ebp - 0x8c], 8
jne 0x44767c
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0x460118
push 0x40a468
call edi
jmp 0x447682
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
cmp dword [0x46010c], ebx
jne 0x447696
push 0x46010c
push 0x40a434
call edi
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
sub esp, 0x10
mov edx, esp
push 0x460118
push 0x46010c
mov dword [edx], eax
mov eax, dword [ebp - 0x84]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x80]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
call fcn.00444a80
cmp dword [0x460118], ebx
jne 0x4476de
push 0x460118
push 0x40a468
call edi
mov edi, dword [0x460118]
lea eax, [ebp - 0xb4]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0x68]
cmp eax, ebx
fnclex
jge 0x447706
push 0x68
push 0x40a47c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp dword [ebp - 0xb4], ebx
jne 0x44771f
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
jmp 0x447920
mov ecx, dword [ebp - 0x30]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
push ecx
push 0x4099e4
call edi
mov edx, eax
mov eax, dword [ebp - 0x28]
neg edx
sbb edx, edx
push eax
neg edx
push 0x4099e4
mov dword [ebp - 0x108], edx
call edi
mov ecx, dword [ebp - 0x108]
neg eax
sbb eax, eax
neg eax
or ecx, eax
jne 0x447869
cmp dword [0x460118], ebx
jne 0x447775
push 0x460118
push 0x40a468
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x460118]
lea eax, [ebp - 0x48]
push eax
push ebx
mov edx, dword [edi]
push ebx
push ebx
push 0xffffffffffffffff
push 2
push edi
call dword [edx + 0x12c]
cmp eax, ebx
fnclex
jge 0x4477a7
push 0x12c
push 0x40e7f0
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x48], ebx
call esi
lea edx, [ebp - 0x8c]
push 1
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x24]
push edx
push eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x8c], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcRightCharVar]
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x9c]
push ecx
push edx
mov dword [ebp - 0x94], 0x40e804
mov dword [ebp - 0x9c], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
lea ecx, [ebp - 0x5c]
mov di, ax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp di, bx
je 0x447920
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x24]
push ecx
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x8c], 0x4008
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
sub eax, 1
lea edx, [ebp - 0x8c]
jo 0x4479c5
push eax
lea eax, [ebp - 0x5c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
jmp 0x447920
mov edx, dword [ebp - 0x30]
push edx
push 0x4099e4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
jne 0x44788a
mov edx, 0x40aeb4
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
cmp dword [0x460118], ebx
jne 0x4478a2
push 0x460118
push 0x40a468
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edx, dword [ebp - 0x30]
mov edi, dword [0x460118]
lea ecx, [ebp - 0x48]
mov eax, dword [edi]
push ecx
mov ecx, dword [ebp - 0x28]
push 0x4099e4
push edx
push ecx
push 0xffffffffffffffff
push 2
push edi
call dword [eax + 0x12c]
cmp eax, ebx
fnclex
jge 0x4478de
push 0x12c
push 0x40e7f0
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x6c]
push edx
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x5c], 8
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x5c]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
cmp dword [0x460118], ebx
jne 0x447938
push 0x460118
push 0x40a468
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0x460118
call fcn.00444d90
wait
push 0x4479aa
jmp 0x447981
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x30]
call esi
lea ecx, [ebp - 0x34]
call esi
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
ret
jmp fcn.00401e7c
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop