Function at 0x4223c8
Capabilities:
Parse pe header
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4037c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x138
call sub.MSVBVM50.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4021d8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
mov dword [ebp - 0x8c], 0x80020004
mov dword [ebp - 0x94], 0xa
lea eax, [ebp - 0x94]
push eax
call sub.MSVBVM50.DLL_rtcFreeFile
mov word [ebp - 0x60], ax
lea ecx, [ebp - 0x94]
call sub.MSVBVM50.DLL___vbaFreeVar
mov dword [ebp - 4], 3
mov edx, 0x406a8c
lea ecx, [ebp - 0x30]
call sub.MSVBVM50.DLL___vbaStrCopy
mov dword [ebp - 4], 4
mov edx, 0x406a8c
lea ecx, [ebp - 0x38]
call sub.MSVBVM50.DLL___vbaStrCopy
mov dword [ebp - 4], 5
lea eax, [ebp - 0x94]
push eax
call sub.MSVBVM50.DLL_rtcGetPresentDate
lea eax, [ebp - 0x94]
push eax
call sub.MSVBVM50.DLL___vbaDateVar
fstp qword [ebp - 0x54]
lea ecx, [ebp - 0x94]
call sub.MSVBVM50.DLL___vbaFreeVar
mov dword [ebp - 4], 6
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 0x60]
push 0xffffffffffffffff
push 1
call sub.MSVBVM50.DLL___vbaFileOpen
mov dword [ebp - 4], 7
and dword [ebp - 0x3c], 0
mov dword [ebp - 4], 8
push dword [ebp - 0x60]
call sub.MSVBVM50.DLL_rtcFileLength
mov dword [ebp - 0x130], eax
fild dword [ebp - 0x130]
fstp qword [ebp - 0x4c]
mov dword [ebp - 4], 9
push 1
push 1
push 1
push 0x405ff4
push 0x441068
push 0x14
push 0
call sub.MSVBVM50.DLL___vbaRedim
add esp, 0x1c
mov dword [ebp - 4], 0xa
mov word [ebp - 0x108], 0x64
push dword [ebp + 0x10]
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0xc]
call fcn.0042b285
mov dword [ebp - 4], 0xb
and word [ebp - 0x28], 0
mov dword [ebp - 4], 0xc
push dword [ebp - 0x60]
call sub.MSVBVM50.DLL_rtcEndOfFile
movsx eax, ax
test eax, eax
jne 0x4234d2
mov dword [ebp - 4], 0xd
push dword [ebp - 0x60]
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM50.DLL___vbaLineInputStr
mov dword [ebp - 4], 0xe
push dword [ebp - 0x60]
call sub.MSVBVM50.DLL_rtcEndOfFile
movsx eax, ax
test eax, eax
jne 0x42263d
mov dword [ebp - 4], 0xf
push 0xffffffffffffffff
call sub.MSVBVM50.DLL___vbaOnError
mov dword [ebp - 4], 0x10
push dword [ebp - 0x60]
call sub.MSVBVM50.DLL_rtcFileSeek
imul eax, eax, 0x64
jo 0x4236a2
mov dword [ebp - 0x134], eax
fild dword [ebp - 0x134]
fstp qword [ebp - 0x13c]
fld qword [ebp - 0x13c]
cmp dword [section..data], 0
jne 0x4225bd
fdiv qword [ebp - 0x4c]
jmp 0x4225c8
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call sub.MSVBVM50.DLL__adj_fdiv_m64
fstp qword [ebp - 0xcc]
fnstsw ax
test al, 0xd
jne 0x42369d
mov dword [ebp - 0xd4], 5
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0xd4]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x4085b8
push 0
push 0x4085a0
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0xa4]
push eax
call sub.MSVBVM50.DLL___vbaLateMemCallLd
add esp, 0x10
push eax
call sub.MSVBVM50.DLL___vbaObjVar
push eax
call sub.MSVBVM50.DLL___vbaLateMemSt
lea ecx, [ebp - 0xa4]
call sub.MSVBVM50.DLL___vbaFreeVar
mov dword [ebp - 4], 0x11
push 0
call sub.MSVBVM50.DLL___vbaOnError
jmp 0x4226a3
mov dword [ebp - 4], 0x13
mov dword [ebp - 0xcc], 0x64
mov dword [ebp - 0xd4], 2
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0xd4]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x4085b8
push 0
push 0x4085a0
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0xa4]
push eax
call sub.MSVBVM50.DLL___vbaLateMemCallLd
add esp, 0x10
push eax
call sub.MSVBVM50.DLL___vbaObjVar
push eax
call sub.MSVBVM50.DLL___vbaLateMemSt
lea ecx, [ebp - 0xa4]
call sub.MSVBVM50.DLL___vbaFreeVar
mov dword [ebp - 4], 0x15
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL___vbaLenBstr
mov ecx, eax
call sub.MSVBVM50.DLL___vbaI2I4
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 0x16
movsx eax, word [ebp - 0x28]
test eax, eax
jne 0x42270b
mov dword [ebp - 4], 0x17
cmp word [ebp - 0x2c], 0x11
jl 0x4226f0
cmp word [ebp - 0x2c], 0x50
jge 0x4226f0
mov dword [ebp - 4], 0x18
mov word [ebp - 0x28], 1
jmp 0x42270b
mov dword [ebp - 4], 0x1a
cmp word [ebp - 0x2c], 0x7d
jl 0x42270b
mov dword [ebp - 4], 0x1b
mov word [ebp - 0x28], 2
mov dword [ebp - 4], 0x1f
mov word [ebp - 0x108], 0xc8
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00410ca0
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM50.DLL___vbaStrMove
mov dword [ebp - 4], 0x20
mov ax, word [ebp - 0x28]
mov word [ebp - 0x118], ax
movsx eax, word [ebp - 0x118]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 1
je 0x422774
cmp dword [ebp - 0x140], 2
je 0x422e23
jmp 0x4234cd
mov dword [ebp - 4], 0x22
mov dword [ebp - 0xbc], 2
mov dword [ebp - 0xc4], 2
lea eax, [ebp - 0xc4]
push eax
push 3
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x84]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcR8ValFromBstr
fstp qword [ebp - 0x110]
mov dword [ebp - 0x8c], 0xc
mov dword [ebp - 0x94], 2
mov dword [ebp - 0x9c], 0xc
mov dword [ebp - 0xa4], 2
mov dword [ebp - 0xac], 2
mov dword [ebp - 0xb4], 2
lea eax, [ebp - 0xb4]
push eax
push 3
push dword [ebp - 0x38]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcR8ValFromBstr
call sub.MSVBVM50.DLL___vbaFpR8
fstp qword [ebp - 0x148]
fld qword [ebp - 0x110]
call sub.MSVBVM50.DLL___vbaFpR8
fcomp qword [ebp - 0x148]
fnstsw ax
sahf
jae 0x422843
mov dword [ebp - 0x14c], 1
jmp 0x42284a
and dword [ebp - 0x14c], 0
push 1
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcLeftCharBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 1
push dword [ebp - 0x38]
call sub.MSVBVM50.DLL_rtcLeftCharBstr
mov edx, eax
lea ecx, [ebp - 0x74]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL___vbaStrCmp
mov esi, eax
neg esi
sbb esi, esi
neg esi
neg esi
lea eax, [ebp - 0x94]
push eax
push 6
push dword [ebp - 0x38]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x78]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
lea eax, [ebp - 0xa4]
push eax
push 6
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x7c]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL___vbaStrCmp
neg eax
sbb eax, eax
neg eax
neg eax
or si, ax
mov eax, dword [ebp - 0x14c]
neg eax
or si, ax
push dword [ebp - 0x38]
push 0x406a8c
call sub.MSVBVM50.DLL___vbaStrCmp
neg eax
sbb eax, eax
neg eax
neg eax
and si, ax
mov word [ebp - 0x114], si
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push 6
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0x1c
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
push eax
push 4
call sub.MSVBVM50.DLL___vbaFreeVarList
add esp, 0x14
movsx eax, word [ebp - 0x114]
test eax, eax
je 0x422a04
mov dword [ebp - 4], 0x23
mov eax, dword [ebp - 0x3c]
add eax, 1
jo 0x4236a2
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x24
push 1
push dword [ebp - 0x38]
call sub.MSVBVM50.DLL_rtcLeftCharBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x40906c
call sub.MSVBVM50.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x114], ax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaFreeStr
movsx eax, word [ebp - 0x114]
test eax, eax
je 0x4229c0
mov dword [ebp - 4], 0x25
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.00426bad
jmp 0x4229d2
mov dword [ebp - 4], 0x27
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.00427e97
mov dword [ebp - 4], 0x29
and word [0x441058], 0
mov dword [ebp - 4], 0x2a
push 1
push 1
push 1
push 0x405ff4
push 0x441068
push 0x14
push 0
call sub.MSVBVM50.DLL___vbaRedim
add esp, 0x1c
mov dword [ebp - 4], 0x2c
mov dword [ebp - 0x8c], 0xc
mov dword [ebp - 0x94], 2
lea eax, [ebp - 0x94]
push eax
push 6
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcTrimBstr
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 8
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb4]
push eax
call sub.MSVBVM50.DLL_rtcUpperCaseVar
lea eax, [ebp - 0xb4]
push eax
call sub.MSVBVM50.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x74]
call sub.MSVBVM50.DLL___vbaStrMove
mov edx, eax
mov ecx, 0x441048
call sub.MSVBVM50.DLL___vbaStrCopy
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
push eax
push 3
call sub.MSVBVM50.DLL___vbaFreeVarList
add esp, 0x10
mov dword [ebp - 4], 0x2d
mov edx, 0x406a8c
mov ecx, 0x441050
call sub.MSVBVM50.DLL___vbaStrCopy
mov dword [ebp - 4], 0x2e
mov edx, 0x406a8c
mov ecx, 0x441054
call sub.MSVBVM50.DLL___vbaStrCopy
mov dword [ebp - 4], 0x2f
mov dword [ebp - 0x8c], 0x14
mov dword [ebp - 0x94], 2
lea eax, [ebp - 0x94]
push eax
push 0x13
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcTrimBstr
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 8
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb4]
push eax
call sub.MSVBVM50.DLL_rtcUpperCaseVar
lea eax, [ebp - 0xb4]
push eax
call sub.MSVBVM50.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x74]
call sub.MSVBVM50.DLL___vbaStrMove
mov edx, eax
mov ecx, 0x44104c
call sub.MSVBVM50.DLL___vbaStrCopy
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
push eax
push 3
call sub.MSVBVM50.DLL___vbaFreeVarList
add esp, 0x10
mov dword [ebp - 4], 0x30
mov dword [ebp - 0x8c], 0xa
mov dword [ebp - 0x94], 2
lea eax, [ebp - 0x94]
push eax
push 0x39
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcTrimBstr
mov edx, eax
lea ecx, [ebp - 0x74]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcR8ValFromBstr
fstp qword [0x44105c]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea ecx, [ebp - 0x94]
call sub.MSVBVM50.DLL___vbaFreeVar
mov dword [ebp - 4], 0x31
and word [0x441058], 0
mov dword [ebp - 4], 0x32
push dword [0x441068]
push 1
call sub.MSVBVM50.DLL___vbaUbound
mov ecx, eax
call sub.MSVBVM50.DLL___vbaI2I4
mov word [ebp - 0x24], ax
mov dword [ebp - 4], 0x33
movsx eax, word [ebp - 0x24]
push eax
push dword [0x441068]
call sub.MSVBVM50.DLL___vbaDerefAry1
mov cx, word [ebp - 0x24]
mov word [eax], cx
mov dword [ebp - 4], 0x34
mov dword [ebp - 0x8c], 0x10
mov dword [ebp - 0x94], 2
lea eax, [ebp - 0x94]
push eax
push 0x28
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcTrimBstr
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 8
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb4]
push eax
call sub.MSVBVM50.DLL_rtcUpperCaseVar
lea eax, [ebp - 0xb4]
push eax
call sub.MSVBVM50.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x74]
call sub.MSVBVM50.DLL___vbaStrMove
mov esi, eax
movsx eax, word [ebp - 0x24]
push eax
push dword [0x441068]
call sub.MSVBVM50.DLL___vbaDerefAry1
mov ecx, eax
add ecx, 4
mov edx, esi
call sub.MSVBVM50.DLL___vbaStrCopy
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
push eax
push 3
call sub.MSVBVM50.DLL___vbaFreeVarList
add esp, 0x10
mov dword [ebp - 4], 0x35
mov esi, 0x407114
movsx eax, word [ebp - 0x24]
push eax
push dword [0x441068]
call sub.MSVBVM50.DLL___vbaDerefAry1
mov ecx, eax
add ecx, 8
mov edx, esi
call sub.MSVBVM50.DLL___vbaStrCopy
mov dword [ebp - 4], 0x36
mov dword [ebp - 0x8c], 0xa
mov dword [ebp - 0x94], 2
lea eax, [ebp - 0x94]
push eax
push 0x44
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcTrimBstr
mov edx, eax
lea ecx, [ebp - 0x74]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcR8ValFromBstr
movsx eax, word [ebp - 0x24]
push eax
push dword [0x441068]
call sub.MSVBVM50.DLL___vbaDerefAry1
fstp qword [eax + 0xc]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea ecx, [ebp - 0x94]
call sub.MSVBVM50.DLL___vbaFreeVar
mov dword [ebp - 4], 0x37
mov ax, word [ebp - 0x24]
mov word [0x441058], ax
mov dword [ebp - 4], 0x38
push dword [0x441068]
push 1
call sub.MSVBVM50.DLL___vbaLbound
push eax
push dword [0x441068]
push 1
call sub.MSVBVM50.DLL___vbaUbound
add eax, 1
jo 0x4236a2
push eax
push 1
push 0x405ff4
push 0x441068
push 0x14
push 0
call sub.MSVBVM50.DLL___vbaRedimPreserve
add esp, 0x1c
mov dword [ebp - 4], 0x39
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x38]
call sub.MSVBVM50.DLL___vbaStrCopy
jmp 0x4234cd
mov dword [ebp - 4], 0x3b
mov dword [ebp - 0xbc], 2
mov dword [ebp - 0xc4], 2
lea eax, [ebp - 0xc4]
push eax
push 3
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x84]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcR8ValFromBstr
fstp qword [ebp - 0x110]
mov dword [ebp - 0x8c], 0x14
mov dword [ebp - 0x94], 2
mov dword [ebp - 0x9c], 0x14
mov dword [ebp - 0xa4], 2
mov dword [ebp - 0xac], 2
mov dword [ebp - 0xb4], 2
lea eax, [ebp - 0xb4]
push eax
push 3
push dword [ebp - 0x38]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcR8ValFromBstr
call sub.MSVBVM50.DLL___vbaFpR8
fstp qword [ebp - 0x154]
fld qword [ebp - 0x110]
call sub.MSVBVM50.DLL___vbaFpR8
fcomp qword [ebp - 0x154]
fnstsw ax
sahf
jae 0x422ef2
mov dword [ebp - 0x158], 1
jmp 0x422ef9
and dword [ebp - 0x158], 0
push 1
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcLeftCharBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 1
push dword [ebp - 0x38]
call sub.MSVBVM50.DLL_rtcLeftCharBstr
mov edx, eax
lea ecx, [ebp - 0x74]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL___vbaStrCmp
mov esi, eax
neg esi
sbb esi, esi
neg esi
neg esi
lea eax, [ebp - 0x94]
push eax
push 6
push dword [ebp - 0x38]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x78]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
lea eax, [ebp - 0xa4]
push eax
push 6
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x7c]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL___vbaStrCmp
neg eax
sbb eax, eax
neg eax
neg eax
or si, ax
mov eax, dword [ebp - 0x158]
neg eax
or si, ax
push dword [ebp - 0x38]
push 0x406a8c
call sub.MSVBVM50.DLL___vbaStrCmp
neg eax
sbb eax, eax
neg eax
neg eax
and si, ax
mov word [ebp - 0x114], si
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push 6
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0x1c
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
push eax
push 4
call sub.MSVBVM50.DLL___vbaFreeVarList
add esp, 0x14
movsx eax, word [ebp - 0x114]
test eax, eax
je 0x4230b3
mov dword [ebp - 4], 0x3c
mov eax, dword [ebp - 0x3c]
add eax, 1
jo 0x4236a2
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x3d
push 1
push dword [ebp - 0x38]
call sub.MSVBVM50.DLL_rtcLeftCharBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x40906c
call sub.MSVBVM50.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x114], ax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaFreeStr
movsx eax, word [ebp - 0x114]
test eax, eax
je 0x42306f
mov dword [ebp - 4], 0x3e
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.00426bad
jmp 0x423081
mov dword [ebp - 4], 0x40
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.00427e97
mov dword [ebp - 4], 0x42
and word [0x441058], 0
mov dword [ebp - 4], 0x43
push 1
push 1
push 1
push 0x405ff4
push 0x441068
push 0x14
push 0
call sub.MSVBVM50.DLL___vbaRedim
add esp, 0x1c
mov dword [ebp - 4], 0x45
mov dword [ebp - 0x8c], 0x14
mov dword [ebp - 0x94], 2
lea eax, [ebp - 0x94]
push eax
push 6
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcTrimBstr
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 8
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb4]
push eax
call sub.MSVBVM50.DLL_rtcUpperCaseVar
lea eax, [ebp - 0xb4]
push eax
call sub.MSVBVM50.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x74]
call sub.MSVBVM50.DLL___vbaStrMove
mov edx, eax
mov ecx, 0x441048
call sub.MSVBVM50.DLL___vbaStrCopy
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
push eax
push 3
call sub.MSVBVM50.DLL___vbaFreeVarList
add esp, 0x10
mov dword [ebp - 4], 0x46
mov edx, 0x406a8c
mov ecx, 0x441050
call sub.MSVBVM50.DLL___vbaStrCopy
mov dword [ebp - 4], 0x47
mov edx, 0x406a8c
mov ecx, 0x441054
call sub.MSVBVM50.DLL___vbaStrCopy
mov dword [ebp - 4], 0x48
mov dword [ebp - 0x8c], 0x14
mov dword [ebp - 0x94], 2
lea eax, [ebp - 0x94]
push eax
push 0x2f
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcTrimBstr
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 8
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb4]
push eax
call sub.MSVBVM50.DLL_rtcUpperCaseVar
lea eax, [ebp - 0xb4]
push eax
call sub.MSVBVM50.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x74]
call sub.MSVBVM50.DLL___vbaStrMove
mov edx, eax
mov ecx, 0x44104c
call sub.MSVBVM50.DLL___vbaStrCopy
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
push eax
push 3
call sub.MSVBVM50.DLL___vbaFreeVarList
add esp, 0x10
mov dword [ebp - 4], 0x49
mov dword [ebp - 0x8c], 0xa
mov dword [ebp - 0x94], 2
lea eax, [ebp - 0x94]
push eax
push 0x69
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcTrimBstr
mov edx, eax
lea ecx, [ebp - 0x74]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcR8ValFromBstr
fstp qword [0x44105c]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea ecx, [ebp - 0x94]
call sub.MSVBVM50.DLL___vbaFreeVar
mov dword [ebp - 4], 0x4a
and word [0x441058], 0
mov dword [ebp - 4], 0x4b
push dword [0x441068]
push 1
call sub.MSVBVM50.DLL___vbaUbound
mov ecx, eax
call sub.MSVBVM50.DLL___vbaI2I4
mov word [ebp - 0x24], ax
mov dword [ebp - 4], 0x4c
movsx eax, word [ebp - 0x24]
push eax
push dword [0x441068]
call sub.MSVBVM50.DLL___vbaDerefAry1
mov cx, word [ebp - 0x24]
mov word [eax], cx
mov dword [ebp - 4], 0x4d
mov dword [ebp - 0x8c], 0x10
mov dword [ebp - 0x94], 2
lea eax, [ebp - 0x94]
push eax
push 0x58
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcTrimBstr
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 8
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb4]
push eax
call sub.MSVBVM50.DLL_rtcUpperCaseVar
lea eax, [ebp - 0xb4]
push eax
call sub.MSVBVM50.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x74]
call sub.MSVBVM50.DLL___vbaStrMove
mov esi, eax
movsx eax, word [ebp - 0x24]
push eax
push dword [0x441068]
call sub.MSVBVM50.DLL___vbaDerefAry1
mov ecx, eax
add ecx, 4
mov edx, esi
call sub.MSVBVM50.DLL___vbaStrCopy
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
push eax
push 3
call sub.MSVBVM50.DLL___vbaFreeVarList
add esp, 0x10
mov dword [ebp - 4], 0x4e
mov esi, 0x407114
movsx eax, word [ebp - 0x24]
push eax
push dword [0x441068]
call sub.MSVBVM50.DLL___vbaDerefAry1
mov ecx, eax
add ecx, 8
mov edx, esi
call sub.MSVBVM50.DLL___vbaStrCopy
mov dword [ebp - 4], 0x4f
mov dword [ebp - 0x8c], 0xa
mov dword [ebp - 0x94], 2
lea eax, [ebp - 0x94]
push eax
push 0x74
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL_rtcMidCharBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcTrimBstr
mov edx, eax
lea ecx, [ebp - 0x74]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL_rtcR8ValFromBstr
movsx eax, word [ebp - 0x24]
push eax
push dword [0x441068]
call sub.MSVBVM50.DLL___vbaDerefAry1
fstp qword [eax + 0xc]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea ecx, [ebp - 0x94]
call sub.MSVBVM50.DLL___vbaFreeVar
mov dword [ebp - 4], 0x50
mov ax, word [ebp - 0x24]
mov word [0x441058], ax
mov dword [ebp - 4], 0x51
push dword [0x441068]
push 1
call sub.MSVBVM50.DLL___vbaLbound
push eax
push dword [0x441068]
push 1
call sub.MSVBVM50.DLL___vbaUbound
add eax, 1
jo 0x4236a2
push eax
push 1
push 0x405ff4
push 0x441068
push 0x14
push 0
call sub.MSVBVM50.DLL___vbaRedimPreserve
add esp, 0x1c
mov dword [ebp - 4], 0x52
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x38]
call sub.MSVBVM50.DLL___vbaStrCopy
jmp 0x42252a
mov dword [ebp - 4], 0x55
push dword [ebp - 0x38]
call sub.MSVBVM50.DLL_rtcTrimBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x406a8c
call sub.MSVBVM50.DLL___vbaStrCmp
neg eax
sbb eax, eax
neg eax
neg eax
mov word [ebp - 0x114], ax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaFreeStr
movsx eax, word [ebp - 0x114]
test eax, eax
je 0x42359f
mov dword [ebp - 4], 0x56
mov eax, dword [ebp - 0x3c]
add eax, 1
jo 0x4236a2
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x57
push 1
push dword [ebp - 0x38]
call sub.MSVBVM50.DLL_rtcLeftCharBstr
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x40906c
call sub.MSVBVM50.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x114], ax
lea ecx, [ebp - 0x70]
call sub.MSVBVM50.DLL___vbaFreeStr
movsx eax, word [ebp - 0x114]
test eax, eax
je 0x42358d
mov dword [ebp - 4], 0x58
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.00426bad
jmp 0x42359f
mov dword [ebp - 4], 0x5a
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.00427e97
mov dword [ebp - 4], 0x5d
push dword [ebp - 0x60]
call sub.MSVBVM50.DLL___vbaFileClose
mov dword [ebp - 4], 0x5e
mov eax, dword [ebp + 8]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xd4], 0x4008
lea eax, [ebp - 0xd4]
push eax
call sub.MSVBVM50.DLL_rtcKillFiles
mov dword [ebp - 4], 0x5f
lea eax, [ebp - 0x94]
push eax
call sub.MSVBVM50.DLL_rtcGetPresentDate
lea eax, [ebp - 0x94]
push eax
call sub.MSVBVM50.DLL___vbaDateVar
fstp qword [ebp - 0x44]
lea ecx, [ebp - 0x94]
call sub.MSVBVM50.DLL___vbaFreeVar
mov dword [ebp - 4], 0x60
push dword [ebp + 0x10]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0xc]
call fcn.0042ad13
wait
push 0x42368c
jmp 0x423673
lea ecx, [ebp - 0x30]
call sub.MSVBVM50.DLL___vbaFreeStr
lea ecx, [ebp - 0x38]
call sub.MSVBVM50.DLL___vbaFreeStr
lea ecx, [ebp - 0x6c]
call sub.MSVBVM50.DLL___vbaFreeStr
ret
jmp 0x4037cc
call sub.MSVBVM50.DLL___vbaErrorOverflow