Function at 0x506e20
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4044f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x424
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401b80
xor ebx, ebx
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
push 5
push 0x416c4c
lea eax, [ebp - 0xb0]
xor edi, edi
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x1c0], ebx
mov dword [ebp - 0x1bc], ebx
mov dword [ebp - 0x1c8], ebx
mov dword [ebp - 0x1c4], ebx
mov dword [ebp - 0x1d0], ebx
mov dword [ebp - 0x1cc], ebx
mov dword [ebp - 0x1e0], ebx
mov dword [ebp - 0x1e8], ebx
mov dword [ebp - 0x1e4], ebx
mov dword [ebp - 0x1ec], ebx
mov dword [ebp - 0x1f0], ebx
mov dword [ebp - 0x1f4], ebx
mov dword [ebp - 0x1f8], ebx
mov dword [ebp - 0x1fc], ebx
mov dword [ebp - 0x200], ebx
mov dword [ebp - 0x204], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x2a4], ebx
mov dword [ebp - 0x2b4], ebx
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0x2d4], ebx
mov dword [ebp - 0x2e4], ebx
mov dword [ebp - 0x2f4], ebx
mov dword [ebp - 0x304], ebx
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x354], ebx
mov dword [ebp - 0x364], ebx
mov dword [ebp - 0x374], ebx
mov dword [ebp - 0x378], ebx
mov dword [ebp - 0x37c], ebx
mov dword [ebp - 0x380], ebx
mov dword [ebp - 0x384], ebx
mov dword [ebp - 0x388], ebx
call esi
push 5
push 0x416c4c
lea ecx, [ebp - 0x100]
push ecx
call esi
push 5
push 0x416c4c
lea edx, [ebp - 0x174]
push edx
call esi
push 5
push 0x416c4c
lea eax, [ebp - 0x190]
push eax
call esi
push 5
push 0x416c4c
lea ecx, [ebp - 0x1b4]
push ecx
call esi
push 0x5c18ac
lea edx, [ebp - 0x304]
push edx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], 0x40590000
mov dword [ebp - 0x19c], ebx
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x2fc], ebx
mov dword [ebp - 0x304], 0x8002
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
test ax, ax
je 0x505b60
cmp dword [0x5c09d4], 2
je 0x50696c
mov eax, dword [0x5c0984]
mov dword [ebp - 0x3e0], eax
mov esi, 1
mov ebx, 0x4005
cmp esi, dword [ebp - 0x3e0]
jg 0x505058
cmp esi, 0x3e9
jb 0x5040aa
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [0x5c00bc]
lea ecx, [esi*8]
sub ecx, esi
lea edi, [esi + ecx*4]
fld dword [edx + edi*4 + 0x18]
cmp dword [section..data], 0
jne 0x5040d1
fdiv qword [0x5c0f94]
jmp 0x5040e2
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fadd qword [0x5bff98]
fstp qword [ebp - 0x1d0]
fnstsw ax
test al, 0xd
jne 0x506e0b
cmp esi, 0x3e9
jb 0x504106
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [0x5c00bc]
fld dword [eax + edi*4 + 0x30]
cmp dword [section..data], 0
jne 0x504120
fdiv qword [0x5c0f94]
jmp 0x504131
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fadd qword [0x5bffa0]
fstp qword [ebp - 0x84]
fnstsw ax
test al, 0xd
jne 0x506e0b
cmp esi, 0x3e9
jb 0x504155
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x5c00bc]
fld dword [ecx + edi*4 + 0x1c]
cmp dword [section..data], 0
jne 0x504170
fdiv qword [0x5c0f94]
jmp 0x504181
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fadd qword [0x5bff98]
fstp qword [ebp - 0x1e8]
fnstsw ax
test al, 0xd
jne 0x506e0b
cmp esi, 0x3e9
jb 0x5041a5
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [0x5c00bc]
fld dword [edx + edi*4 + 0x34]
cmp dword [section..data], 0
jne 0x5041c0
fdiv qword [0x5c0f94]
jmp 0x5041d1
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fadd qword [0x5bffa0]
fstp qword [ebp - 0xc4]
fnstsw ax
test al, 0xd
jne 0x506e0b
cmp esi, 0x3e9
jb 0x5041f5
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [0x5c00bc]
fld dword [eax + edi*4 + 0x20]
lea edx, [ebp - 0x304]
cmp dword [section..data], 0
jne 0x504215
fdiv qword [0x5c0f94]
jmp 0x504226
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x304], 5
fadd qword [0x5bff98]
fstp qword [ebp - 0x2fc]
fnstsw ax
test al, 0xd
jne 0x506e0b
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
cmp esi, 0x3e9
jb 0x50425d
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x5c00bc]
fld dword [ecx + edi*4 + 0x38]
lea edx, [ebp - 0x304]
cmp dword [section..data], 0
jne 0x50427e
fdiv qword [0x5c0f94]
jmp 0x50428f
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x304], 5
fadd qword [0x5bffa0]
fstp qword [ebp - 0x2fc]
fnstsw ax
test al, 0xd
jne 0x506e0b
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
cmp esi, 0x3e9
jb 0x5042c9
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [0x5c00bc]
fld dword [edx + edi*4 + 0x24]
lea edx, [ebp - 0x304]
cmp dword [section..data], 0
jne 0x5042ea
fdiv qword [0x5c0f94]
jmp 0x5042fb
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x304], 5
fadd qword [0x5bff98]
fstp qword [ebp - 0x2fc]
fnstsw ax
test al, 0xd
jne 0x506e0b
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
cmp esi, 0x3e9
jb 0x504332
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [0x5c00bc]
fld dword [eax + edi*4 + 0x3c]
lea edx, [ebp - 0x304]
cmp dword [section..data], 0
jne 0x504352
fdiv qword [0x5c0f94]
jmp 0x504363
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x304], 5
fadd qword [0x5bffa0]
fstp qword [ebp - 0x2fc]
fnstsw ax
test al, 0xd
jne 0x506e0b
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
fld qword [ebp - 0x1d0]
fcomp qword [ebp - 0x7c]
fnstsw ax
test ah, 1
je 0x5043b1
mov ecx, dword [ebp - 0x1d0]
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], edx
fld qword [ebp - 0x84]
fcomp qword [ebp - 0x19c]
fnstsw ax
test ah, 0x41
jne 0x5043d9
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x198]
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x2fc], edx
push ecx
lea edx, [ebp - 0x304]
mov edi, 0x8005
push edx
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x304], edi
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
test ax, ax
je 0x504428
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR8Var]
fstp qword [ebp - 0x19c]
mov edx, dword [ebp - 0x1cc]
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x2f8], edx
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x31c], edx
mov edx, dword [ebp - 0x1e4]
mov dword [ebp - 0x318], edx
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x33c], edx
mov edx, dword [ebp - 0x80]
mov eax, 5
mov dword [ebp - 0x338], edx
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0x2fc], ecx
mov ecx, 0x3f847ae1
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x35c], edx
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x364], eax
lea eax, [ebp - 0x304]
mov dword [ebp - 0x308], ecx
mov dword [ebp - 0x328], ecx
mov dword [ebp - 0x348], ecx
mov dword [ebp - 0x368], ecx
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x358], edx
push ecx
lea edx, [ebp - 0x214]
push edx
mov dword [ebp - 0x30c], 0x47ae147b
mov dword [ebp - 0x314], edi
mov dword [ebp - 0x32c], 0x47ae147b
mov dword [ebp - 0x334], edi
mov dword [ebp - 0x34c], 0x47ae147b
mov dword [ebp - 0x354], edi
mov dword [ebp - 0x36c], 0x47ae147b
mov dword [ebp - 0x374], edi
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarAbs]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCmpLt]
push eax
lea ecx, [ebp - 0x314]
push ecx
lea edx, [ebp - 0x234]
push edx
call edi
push eax
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x244]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
push eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarAbs]
push eax
lea ecx, [ebp - 0x334]
push ecx
lea edx, [ebp - 0x264]
push edx
call edi
push eax
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarAnd]
push eax
lea ecx, [ebp - 0x344]
push ecx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
push eax
lea ecx, [ebp - 0x294]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAbs]
push eax
lea edx, [ebp - 0x354]
push edx
lea eax, [ebp - 0x2a4]
push eax
call edi
push eax
lea ecx, [ebp - 0x2b4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAnd]
push eax
lea edx, [ebp - 0x364]
push edx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
push eax
lea edx, [ebp - 0x2d4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAbs]
push eax
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x2e4]
push ecx
call edi
push eax
lea edx, [ebp - 0x2f4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAnd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
test ax, ax
je 0x504849
xor ecx, ecx
mov eax, 2
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x214], eax
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x31c], ecx
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x32c], eax
lea edx, [ebp - 0x84]
mov dword [ebp - 0x30c], edx
lea ecx, [ebp - 0x234]
push ecx
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x2fc], eax
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x334]
push ecx
lea edx, [ebp - 0x324]
push edx
lea eax, [ebp - 0x314]
push eax
lea ecx, [ebp - 0x304]
push ecx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x304], ebx
call fcn.004fd8b0
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
cmp esi, 0x3e9
jb 0x5046fb
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x5c00bc]
lea edx, [esi*8]
sub edx, esi
lea eax, [esi + edx*4]
fld dword [ecx + eax*4 + 8]
mov edi, dword [ebp - 0x124]
cmp dword [section..data], 0
jne 0x504728
fdiv dword [0x401b78]
jmp 0x504733
push dword [0x401b78]
call sub.MSVBVM60.DLL__adj_fdiv_m32
fnstsw ax
test al, 0xd
jne 0x506e0b
cmp dword [section..data], 0
jne 0x50474e
fdiv qword [0x5c0f94]
jmp 0x50475f
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [ebp - 0x4c]
fnstsw ax
test al, 0xd
jne 0x506e0b
add edi, 1
jo 0x506e10
cmp edi, 0x65
mov dword [ebp - 0x124], edi
jb 0x504786
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
cmp edi, 0x65
mov edx, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x168]
mov dword [eax + edi*8], edx
mov ecx, dword [ebp - 0x1cc]
mov edx, dword [ebp - 0x168]
mov dword [edx + edi*8 + 4], ecx
jb 0x5047b0
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
cmp edi, 0x65
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + edi*8], eax
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0xa4]
mov dword [eax + edi*8 + 4], edx
jb 0x5047d7
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
cmp edi, 0x65
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x184]
mov dword [edx + edi*8], ecx
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [ebp - 0x184]
mov dword [ecx + edi*8 + 4], eax
jb 0x504801
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
cmp edi, 0x65
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xf4]
mov dword [eax + edi*8], edx
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xf4]
mov dword [edx + edi*8 + 4], ecx
jb 0x50482b
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1a8]
mov edx, dword [ebp - 0x48]
mov dword [ecx + edi*8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [eax + edi*8 + 4], edx
jmp 0x50503e
cmp esi, 0x3e9
jb 0x504857
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [0x5c00bc]
lea ecx, [esi*8]
sub ecx, esi
lea eax, [esi + ecx*4]
shl eax, 1
cmp word [edx + eax*2 + 0x6a], 0
mov dword [ebp - 0x400], eax
jne 0x504948
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x31c], ecx
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x32c], eax
lea edx, [ebp - 0x84]
mov dword [ebp - 0x30c], edx
lea ecx, [ebp - 0x234]
push ecx
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x2fc], eax
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x334]
push ecx
lea edx, [ebp - 0x324]
push edx
lea eax, [ebp - 0x314]
mov edi, 2
push eax
lea ecx, [ebp - 0x304]
push ecx
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x304], ebx
call fcn.004fd8b0
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
jmp 0x50494d
mov edi, 2
cmp esi, 0x3e9
jb 0x50495b
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [0x5c00bc]
mov eax, dword [ebp - 0x400]
cmp word [edx + eax*2 + 0x6c], 0
jne 0x504a10
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x30c], ecx
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x1e8]
mov dword [ebp - 0x2fc], edx
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x314]
push edx
lea eax, [ebp - 0x304]
push eax
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x304], ebx
call fcn.004fd8b0
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x214]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
cmp esi, 0x3e9
jb 0x504a1e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x5c00bc]
mov edx, dword [ebp - 0x400]
cmp word [ecx + edx*2 + 0x6e], 0
jne 0x504aa8
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0xe8]
push edx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x214], edi
call fcn.004fd8b0
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x214]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
cmp esi, 0x3e9
jb 0x504ab6
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x5c00bc]
mov edx, dword [ebp - 0x400]
cmp word [ecx + edx*2 + 0x70], 0
jne 0x504b6b
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x30c], eax
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x2fc], ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x314]
push edx
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x304], ebx
call fcn.004fd8b0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x214]
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
fld qword [0x5bf5d0]
lea edx, [ebp - 0x304]
cmp dword [section..data], 0
jne 0x504b88
fdiv qword [0x4014a0]
jmp 0x504b99
push dword [0x4014a4]
push dword [0x4014a0]
call sub.MSVBVM60.DLL__adj_fdiv_m64
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x304], 5
cmp dword [section..data], 0
jne 0x504bba
fdiv qword [0x5c0f94]
jmp 0x504bcb
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [ebp - 0x2fc]
fnstsw ax
test al, 0xd
jne 0x506e0b
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
cmp esi, 1
jne 0x504c3f
fld qword [0x5c1744]
cmp dword [section..data], 0
jne 0x504bfd
fdiv qword [0x4014a0]
jmp 0x504c0e
push dword [0x4014a4]
push dword [0x4014a0]
call sub.MSVBVM60.DLL__adj_fdiv_m64
cmp dword [section..data], 0
jne 0x504c1f
fdiv qword [0x5c0f94]
jmp 0x504c30
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [ebp - 0x4c]
fnstsw ax
test al, 0xd
jne 0x506e0b
jmp 0x504c47
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
cmp esi, 1
jne 0x504c62
mov dword [ebp - 0x2fc], 0x33333333
mov dword [ebp - 0x2f8], 0x3fe33333
jmp 0x504c96
cmp esi, 6
je 0x504c82
cmp esi, 7
je 0x504c82
mov dword [ebp - 0x2fc], 0x66666666
mov dword [ebp - 0x2f8], 0x3fe66666
jmp 0x504c96
mov dword [ebp - 0x2fc], 0x33333333
mov dword [ebp - 0x2f8], 0x3fd33333
lea edx, [ebp - 0x304]
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x304], 5
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
fld qword [ebp - 0x1d0]
fsub qword [ebp - 0x4c]
lea ecx, [ebp - 0xd8]
lea edx, [ebp - 0x214]
mov dword [ebp - 0x304], 5
fstp qword [ebp - 0x2fc]
fnstsw ax
test al, 0xd
jne 0x506e0b
lea eax, [ebp - 0x304]
push eax
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR8Var]
fstp qword [ebp - 0xbc]
lea ecx, [ebp - 0x214]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x2fc], eax
mov edx, 5
lea eax, [ebp - 0x314]
push eax
mov dword [ebp - 0x308], ecx
mov dword [ebp - 0x2f8], ecx
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x314], edx
mov dword [ebp - 0x304], edx
push ecx
lea edx, [ebp - 0x304]
push edx
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
push eax
lea ecx, [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarMul]
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR8Var]
fstp qword [ebp - 0x1c0]
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
fld qword [ebp - 0x1e8]
fadd qword [ebp - 0x4c]
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0xd8]
fstp qword [ebp - 0x2fc]
fnstsw ax
test al, 0xd
jne 0x506e0b
push edx
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x304], 5
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR8Var]
fstp qword [ebp - 0x10c]
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
mov edx, 5
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], ecx
mov dword [ebp - 0x314], edx
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x2f8], ecx
lea ecx, [ebp - 0x314]
push ecx
mov dword [ebp - 0x304], edx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
push eax
lea edx, [ebp - 0x14c]
push edx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMul]
push eax
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR8Var]
fstp qword [ebp - 0x1c8]
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
xor eax, eax
mov dword [0x5c0fbc], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x21c], eax
lea edx, [ebp - 0x1c0]
mov dword [ebp - 0x30c], edx
lea ecx, [ebp - 0x234]
push ecx
lea eax, [ebp - 0xbc]
lea edx, [ebp - 0x224]
push edx
mov dword [ebp - 0x2fc], eax
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x314]
push ecx
lea edx, [ebp - 0x304]
push edx
mov dword [0x5c0fc0], 0x40280000
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x20c], 1
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x304], ebx
call 0x506e20
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x214]
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
lea ecx, [ebp - 0x10c]
lea eax, [ebp - 0x1c8]
add esp, 0x10
mov dword [ebp - 0x31c], ecx
lea edx, [ebp - 0x1c0]
mov dword [ebp - 0x32c], eax
lea ecx, [ebp - 0x214]
lea eax, [ebp - 0xbc]
push ecx
mov dword [ebp - 0x30c], edx
lea edx, [ebp - 0x15c]
mov dword [ebp - 0x2fc], eax
push edx
lea eax, [ebp - 0x334]
mov dword [ebp - 0x20c], 1
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x304], ebx
push eax
lea ecx, [ebp - 0x324]
push ecx
lea edx, [ebp - 0x314]
push edx
lea eax, [ebp - 0x304]
push eax
call 0x507c00
lea ecx, [ebp - 0x214]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
xor eax, eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 0x30c], ecx
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x10c]
lea ecx, [ebp - 0x224]
push ecx
mov dword [ebp - 0x2fc], edx
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x314]
push eax
lea ecx, [ebp - 0x304]
push ecx
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x304], ebx
call 0x506e20
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov edi, dword [ebp - 0x124]
mov eax, 1
add eax, esi
jo 0x506e10
mov esi, eax
jmp 0x504090
mov eax, edi
sub eax, 1
jo 0x506e10
mov dword [ebp - 0x3e8], eax
mov esi, 1
cmp esi, eax
jg 0x5056fc
mov ecx, esi
add ecx, 1
jo 0x506e10
mov dword [ebp - 0x50], ecx
cmp ecx, edi
jg 0x5056e8
cmp esi, 0x65
jb 0x50509a
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x65
mov edi, ecx
jb 0x5050aa
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0xf4]
fld qword [edx + esi*8]
mov eax, dword [ebp - 0xa4]
fsub qword [eax + edi*8]
mov dword [ebp - 0x224], 5
fstp qword [ebp - 0x21c]
fnstsw ax
test al, 0xd
jne 0x506e0b
cmp esi, 0x65
jb 0x5050e4
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x65
mov edi, ecx
jb 0x5050f1
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x184]
fld qword [ecx + esi*8]
mov edx, dword [ebp - 0x168]
fsub qword [edx + edi*8]
lea ecx, [ebp - 0x214]
lea edx, [ebp - 0x234]
mov dword [ebp - 0x214], 5
fstp qword [ebp - 0x20c]
fnstsw ax
test al, 0xd
jne 0x506e0b
lea eax, [ebp - 0x224]
push eax
push ecx
push edx
call fcn.0055d270
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x13c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov edx, dword [ebp - 0x50]
add esp, 0xc
add edx, 1
jo 0x506e10
xor eax, eax
cmp esi, edx
setne al
lea ecx, [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x304]
push edx
mov dword [ebp - 0x2fc], 0xd2f1a9fc
mov dword [ebp - 0x2f8], 0x3f50624d
neg eax
mov word [ebp - 0x30c], ax
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x304], 0x8005
mov dword [ebp - 0x314], 0xb
call dword [sym.imp.MSVBVM60.DLL___vbaVarCmpLt]
push eax
lea ecx, [ebp - 0x314]
push ecx
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAnd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
lea ecx, [ebp - 0x314]
mov di, ax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
test di, di
je 0x5053da
mov edi, dword [ebp - 0x50]
cmp edi, 0x65
jb 0x505203
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x168]
lea ecx, [eax + edi*8]
mov edi, esi
add edi, 1
jo 0x506e10
cmp edi, 0x65
mov dword [ebp - 0x30c], ecx
mov dword [ebp - 0x314], ebx
jb 0x50522e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ebp - 0x168]
lea eax, [edx + edi*8]
lea ecx, [ebp - 0x314]
push ecx
lea edx, [ebp - 0x304]
push edx
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x304], ebx
call fcn.0055d010
mov edi, dword [ebp - 0x50]
cmp edi, 0x65
jb 0x505264
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0xa4]
lea ecx, [eax + edi*8]
mov edi, esi
add edi, 1
jo 0x506e10
cmp edi, 0x65
mov dword [ebp - 0x30c], ecx
mov dword [ebp - 0x314], ebx
jb 0x50528f
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ebp - 0xa4]
lea eax, [edx + edi*8]
lea ecx, [ebp - 0x314]
push ecx
lea edx, [ebp - 0x304]
push edx
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x304], ebx
call fcn.0055d010
mov edi, dword [ebp - 0x50]
cmp edi, 0x65
jb 0x5052c5
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x184]
lea ecx, [eax + edi*8]
mov edi, esi
add edi, 1
jo 0x506e10
cmp edi, 0x65
mov dword [ebp - 0x30c], ecx
mov dword [ebp - 0x314], ebx
jb 0x5052f0
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ebp - 0x184]
lea eax, [edx + edi*8]
lea ecx, [ebp - 0x314]
push ecx
lea edx, [ebp - 0x304]
push edx
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x304], ebx
call fcn.0055d010
mov edi, dword [ebp - 0x50]
cmp edi, 0x65
jb 0x505326
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0xf4]
lea ecx, [eax + edi*8]
mov edi, esi
add edi, 1
jo 0x506e10
cmp edi, 0x65
mov dword [ebp - 0x30c], ecx
mov dword [ebp - 0x314], ebx
jb 0x505351
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ebp - 0xf4]
lea eax, [edx + edi*8]
lea ecx, [ebp - 0x314]
push ecx
lea edx, [ebp - 0x304]
push edx
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x304], ebx
call fcn.0055d010
mov edi, dword [ebp - 0x50]
cmp edi, 0x65
jb 0x505387
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x1a8]
lea ecx, [eax + edi*8]
mov edi, esi
add edi, 1
jo 0x506e10
cmp edi, 0x65
mov dword [ebp - 0x30c], ecx
mov dword [ebp - 0x314], ebx
jb 0x5053b2
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ebp - 0x1a8]
lea eax, [edx + edi*8]
lea ecx, [ebp - 0x314]
push ecx
lea edx, [ebp - 0x304]
push edx
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x304], ebx
call fcn.0055d010
cmp esi, 0x65
jb 0x5053e5
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x65
mov edi, ecx
jb 0x5053f8
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0xf4]
fld qword [eax + esi*8]
fsub qword [eax + edi*8]
mov dword [ebp - 0x224], 5
fstp qword [ebp - 0x21c]
fnstsw ax
test al, 0xd
jne 0x506e0b
cmp esi, 0x65
jb 0x50542c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x65
mov edi, ecx
jb 0x505439
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x184]
fld qword [eax + esi*8]
lea ecx, [ebp - 0x214]
fsub qword [eax + edi*8]
lea edx, [ebp - 0x234]
mov dword [ebp - 0x214], 5
fstp qword [ebp - 0x20c]
fnstsw ax
test al, 0xd
jne 0x506e0b
lea eax, [ebp - 0x224]
push eax
push ecx
push edx
call fcn.0055d270
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x13c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
lea edx, [ebp - 0x13c]
push edx
lea eax, [ebp - 0x304]
push eax
mov dword [ebp - 0x2fc], 0xd2f1a9fc
mov dword [ebp - 0x2f8], 0x3f50624d
mov dword [ebp - 0x304], 0x8005
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstLt]
test ax, ax
je 0x5056c4
mov edi, dword [ebp - 0x50]
cmp edi, 0x65
jb 0x5054ed
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x184]
lea edx, [ecx + edi*8]
mov edi, esi
add edi, 1
jo 0x506e10
cmp edi, 0x65
mov dword [ebp - 0x30c], edx
mov dword [ebp - 0x314], ebx
jb 0x505518
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x168]
lea ecx, [eax + edi*8]
lea edx, [ebp - 0x314]
push edx
lea eax, [ebp - 0x304]
push eax
mov dword [ebp - 0x2fc], ecx
mov dword [ebp - 0x304], ebx
call fcn.0055d010
mov edi, dword [ebp - 0x50]
cmp edi, 0x65
jb 0x50554e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0xf4]
lea edx, [ecx + edi*8]
mov edi, esi
add edi, 1
jo 0x506e10
cmp edi, 0x65
mov dword [ebp - 0x30c], edx
mov dword [ebp - 0x314], ebx
jb 0x505579
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0xa4]
lea ecx, [eax + edi*8]
lea edx, [ebp - 0x314]
push edx
lea eax, [ebp - 0x304]
push eax
mov dword [ebp - 0x2fc], ecx
mov dword [ebp - 0x304], ebx
call fcn.0055d010
mov edi, dword [ebp - 0x50]
cmp edi, 0x65
jb 0x5055af
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x168]
lea edx, [ecx + edi*8]
mov edi, esi
add edi, 1
jo 0x506e10
cmp edi, 0x65
mov dword [ebp - 0x30c], edx
mov dword [ebp - 0x314], ebx
jb 0x5055da
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x184]
lea ecx, [eax + edi*8]
lea edx, [ebp - 0x314]
push edx
lea eax, [ebp - 0x304]
push eax
mov dword [ebp - 0x2fc], ecx
mov dword [ebp - 0x304], ebx
call fcn.0055d010
mov edi, dword [ebp - 0x50]
cmp edi, 0x65
jb 0x505610
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0xa4]
lea edx, [ecx + edi*8]
mov edi, esi
add edi, 1
jo 0x506e10
cmp edi, 0x65
mov dword [ebp - 0x30c], edx
mov dword [ebp - 0x314], ebx
jb 0x50563b
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0xf4]
lea ecx, [eax + edi*8]
lea edx, [ebp - 0x314]
push edx
lea eax, [ebp - 0x304]
push eax
mov dword [ebp - 0x2fc], ecx
mov dword [ebp - 0x304], ebx
call fcn.0055d010
mov edi, dword [ebp - 0x50]
cmp edi, 0x65
jb 0x505671
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x1a8]
lea edx, [ecx + edi*8]
mov edi, esi
add edi, 1
jo 0x506e10
cmp edi, 0x65
mov dword [ebp - 0x30c], edx
mov dword [ebp - 0x314], ebx
jb 0x50569c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x1a8]
lea ecx, [eax + edi*8]
lea edx, [ebp - 0x314]
push edx
lea eax, [ebp - 0x304]
push eax
mov dword [ebp - 0x2fc], ecx
mov dword [ebp - 0x304], ebx
call fcn.0055d010
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x124]
mov ecx, 1
add ecx, eax
mov eax, dword [ebp - 0x3e8]
jo 0x506e10
mov dword [ebp - 0x50], ecx
jmp 0x505084
mov ecx, 1
add ecx, esi
jo 0x506e10
mov esi, ecx
jmp 0x50506e
mov ecx, dword [ebp - 0x168]
mov eax, dword [ebp - 0x184]
add ecx, 8
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x184]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xf4]
add eax, 8
mov ecx, dword [eax]
mov esi, edi
mov dword [edx], ecx
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0xf4]
add esi, 1
jo 0x506e10
cmp esi, 0x65
mov dword [ecx + 4], eax
jb 0x505750
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x184]
add edx, 8
mov eax, dword [edx]
mov dword [ecx + esi*8], eax
mov edx, dword [edx + 4]
mov eax, dword [ebp - 0x184]
mov dword [eax + esi*8 + 4], edx
mov esi, edi
add esi, 1
jo 0x506e10
cmp esi, 0x65
jb 0x505787
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xf4]
add ecx, 8
mov edx, dword [ecx]
mov dword [eax + esi*8], edx
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0xf4]
mov dword [edx + esi*8 + 4], ecx
mov esi, 1
cmp esi, edi
jg 0x50696c
mov edi, esi
sub edi, 1
jo 0x506e10
cmp edi, 0x65
jb 0x5057cb
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax + edi*8]
mov dword [ebp - 0x1d0], ecx
mov edx, dword [eax + edi*8 + 4]
mov edi, esi
sub edi, 1
jo 0x506e10
cmp edi, 0x65
mov dword [ebp - 0x1cc], edx
jb 0x505800
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x184]
cmp esi, 0x65
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ecx + edi*8]
mov dword [ebp - 0x84], edx
mov edx, dword [ecx + edi*8 + 4]
mov dword [ebp - 0x80], edx
jb 0x50582d
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0x184]
cmp esi, 0x65
mov edx, dword [eax + esi*8]
mov dword [ebp - 0x1e8], edx
mov eax, dword [eax + esi*8 + 4]
mov dword [ebp - 0x1e4], eax
jb 0x505851
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0xf4]
cmp esi, 0x65
mov edx, dword [ecx + esi*8]
mov dword [ebp - 0xc4], edx
mov eax, dword [ecx + esi*8 + 4]
mov dword [ebp - 0xc0], eax
jb 0x50586f
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x1a8]
fld qword [ecx + esi*8]
lea edx, [ebp - 0xc4]
fmul qword [0x401400]
mov dword [ebp - 0x32c], edx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x30c], ecx
fstp qword [ebp - 0x4c]
fnstsw ax
test al, 0xd
jne 0x506e0b
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x31c], eax
lea eax, [ebp - 0x334]
push eax
lea edx, [ebp - 0x1d0]
lea ecx, [ebp - 0x324]
push ecx
mov dword [ebp - 0x2fc], edx
lea edx, [ebp - 0x314]
push edx
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0x214]
push ecx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x304], ebx
call fcn.0055c300
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x344]
push eax
lea ecx, [ebp - 0x224]
push ecx
mov dword [ebp - 0x33c], 0x8f5c28f6
mov dword [ebp - 0x338], 0x404ca5c2
mov dword [ebp - 0x344], 5
call dword [sym.imp.MSVBVM60.DLL___vbaVarDiv]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR8Var]
fstp qword [ebp - 0x12c]
lea ecx, [ebp - 0x214]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
fld qword [0x401b70]
fsub qword [ebp - 0x12c]
sub esp, 8
fnstsw ax
test al, 0xd
jne 0x506e0b
fstp qword [esp]
call dword [sym.imp.MSVBVM60.DLL_rtcCos]
fstp qword [ebp - 0x390]
fld qword [ebp - 0x390]
fmul qword [ebp - 0x4c]
fadd qword [ebp - 0x1d0]
fstp qword [ebp - 0xbc]
fnstsw ax
test al, 0xd
jne 0x506e0b
fld qword [0x401b70]
fsub qword [ebp - 0x12c]
sub esp, 8
fnstsw ax
test al, 0xd
jne 0x506e0b
fstp qword [esp]
call dword [sym.imp.MSVBVM60.DLL_rtcSin]
fstp qword [ebp - 0x390]
fld qword [ebp - 0x390]
fmul qword [ebp - 0x4c]
fadd qword [ebp - 0x84]
fstp qword [ebp - 0x1c0]
fnstsw ax
test al, 0xd
jne 0x506e0b
fld qword [0x5bfdbc]
fadd st(0), st(0)
fsub qword [0x401b68]
fsub qword [ebp - 0x12c]
sub esp, 8
fnstsw ax
test al, 0xd
jne 0x506e0b
fstp qword [esp]
call dword [sym.imp.MSVBVM60.DLL_rtcCos]
fstp qword [ebp - 0x390]
fld qword [ebp - 0x390]
fmul qword [ebp - 0x4c]
fadd qword [ebp - 0x1e8]
fstp qword [ebp - 0x10c]
fnstsw ax
test al, 0xd
jne 0x506e0b
fld qword [0x5bfdbc]
fadd st(0), st(0)
sub esp, 8
fsub qword [0x401b68]
fsub qword [ebp - 0x12c]
fnstsw ax
test al, 0xd
jne 0x506e0b
fstp qword [esp]
call dword [sym.imp.MSVBVM60.DLL_rtcSin]
fstp qword [ebp - 0x390]
fld qword [ebp - 0x390]
lea edx, [ebp - 0x1c8]
fmul qword [ebp - 0x4c]
mov dword [ebp - 0x32c], edx
lea edx, [ebp - 0xbc]
mov dword [ebp - 0x2fc], edx
fadd qword [ebp - 0xc4]
lea edx, [ebp - 0x214]
mov dword [ebp - 0x20c], 7
fstp qword [ebp - 0x1c8]
fnstsw ax
test al, 0xd
jne 0x506e0b
xor ecx, ecx
mov eax, 2
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x21c], ecx
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x31c], eax
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x30c], ecx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x224]
push ecx
push edx
lea eax, [ebp - 0x334]
push eax
lea ecx, [ebp - 0x324]
push ecx
lea edx, [ebp - 0x314]
push edx
lea eax, [ebp - 0x304]
push eax
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x304], ebx
call fcn.004fd8b0
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x214]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov eax, 1
mov edi, dword [ebp - 0x124]
add eax, esi
jo 0x506e10
mov esi, eax
jmp 0x5057ad
push 0x5c18ac
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov esi, 1
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x34], esi
cmp esi, dword [ebp - 0x3b8]
jg 0x50696c
cmp esi, 0x65
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
jb 0x505b92
call edi
mov edx, dword [0x5c18a0]
lea eax, [esi + esi*2]
shl eax, 4
sub eax, esi
cmp esi, 0x65
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov ax, word [edx + ecx*4 + 0x96e]
mov word [0x5bfba4], ax
jb 0x505bbb
call edi
movsx ecx, word [0x5bfba4]
mov dword [ebp - 0x3c0], ecx
mov ecx, 1
mov dword [0x5c0964], ebx
mov dword [0x5c0968], ebx
mov dword [ebp - 0x50], ecx
cmp ecx, dword [ebp - 0x3c0]
jg 0x505db7
cmp esi, 0x65
jb 0x505bf2
call edi
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xc9
mov dword [ebp - 0x398], ecx
jb 0x505c05
call edi
mov ecx, dword [ebp - 0x50]
cmp esi, 0x65
jb 0x505c0f
call edi
mov ecx, dword [ebp - 0x50]
mov edi, ecx
add edi, 1
jo 0x506e10
cmp edi, 0xc9
jb 0x505c2b
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x50]
cmp esi, 0x65
jb 0x505c39
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x50]
mov ebx, ecx
add ebx, 1
jo 0x506e10
cmp ebx, 0xc9
jb 0x505c55
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x50]
cmp esi, 0x65
jb 0x505c63
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xc9
mov dword [ebp - 0x3b0], ecx
jb 0x505c7a
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x34]
lea eax, [edx + edx*2]
shl eax, 4
sub eax, edx
mov edx, dword [ebp - 0x398]
lea eax, [eax + eax*2]
lea esi, [eax + eax*4]
lea eax, [edi + esi + 0xc9]
lea edi, [esi + edx]
mov edx, dword [0x5c18a0]
fld dword [edx + eax*4]
mov eax, dword [ebp - 0x3b0]
fmul dword [edx + edi*4]
lea eax, [eax + esi + 0xc9]
fld dword [edx + eax*4]
lea edi, [esi + ebx]
fmul dword [edx + edi*4]
fsubp st(1)
cmp dword [section..data], 0
jne 0x505cd0
fdiv dword [0x401b60]
jmp 0x505cdb
push dword [0x401b60]
call sub.MSVBVM60.DLL__adj_fdiv_m32
fnstsw ax
test al, 0xd
jne 0x506e0b
fadd qword [0x5c0964]
fstp qword [0x5c0964]
fnstsw ax
test al, 0xd
jne 0x506e0b
cmp dword [ebp - 0x34], 0x65
jb 0x505d10
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x50]
mov edx, dword [0x5c18a0]
cmp ecx, 0xc9
mov ebx, ecx
jb 0x505d29
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x50]
mov edx, dword [0x5c18a0]
cmp ecx, 0xfb
mov edi, ecx
jb 0x505d3f
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [0x5c18a0]
mov eax, dword [0x5bfb7c]
lea ecx, [esi + ebx]
mov edx, dword [edx + ecx*4]
mov dword [eax + edi*4], edx
cmp dword [ebp - 0x34], 0x65
jb 0x505d59
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x50]
cmp eax, 0xc9
mov ebx, eax
jb 0x505d6e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x50]
cmp eax, 0xfb
mov edi, eax
jb 0x505d7d
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [0x5c18a0]
lea ecx, [ebx + esi + 0xc9]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x5bfb98]
mov esi, dword [ebp - 0x34]
mov dword [ecx + edi*4], eax
mov eax, dword [ebp - 0x50]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, 1
add ecx, eax
jo 0x506e10
mov dword [ebp - 0x50], ecx
jmp 0x505bdc
fld qword [0x5c0964]
mov dword [ebp - 0x2fc], 0xffffffff
fcomp qword [0x4014b8]
fnstsw ax
test ah, 0x41
je 0x505dde
mov dword [ebp - 0x2fc], 1
lea edx, [ebp - 0x304]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x304], 2
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
movsx ebx, word [0x5bfba4]
cmp ebx, 0xfb
jb 0x505e08
call edi
mov eax, dword [0x5bfb7c]
mov edx, dword [eax + ebx*4]
mov dword [eax], edx
movsx ebx, word [0x5bfba4]
cmp ebx, 0xfb
jb 0x505e23
call edi
mov eax, dword [0x5bfb98]
mov ecx, dword [eax + ebx*4]
mov dword [eax], ecx
mov dx, word [0x5bfba4]
add dx, 1
jo 0x506e10
movsx ebx, dx
cmp ebx, 0xfb
jb 0x505e4b
call edi
mov eax, dword [0x5bfb7c]
mov ecx, dword [eax + 4]
mov dword [eax + ebx*4], ecx
mov dx, word [0x5bfba4]
add dx, 1
jo 0x506e10
movsx ebx, dx
cmp ebx, 0xfb
jb 0x505e74
call edi
mov eax, dword [0x5bfb98]
mov ecx, dword [eax + 4]
mov dword [eax + ebx*4], ecx
movsx edx, word [0x5bfba4]
mov ecx, 1
mov dword [ebp - 0x3c8], edx
mov dword [ebp - 0x50], ecx
cmp ecx, dword [ebp - 0x3c8]
jg 0x506119
cmp ecx, 0xfb
mov ebx, ecx
jb 0x505eaf
call edi
mov ecx, dword [ebp - 0x50]
mov eax, dword [0x5bfb7c]
fld dword [eax + ebx*4]
mov ebx, ecx
cmp dword [section..data], 0
jne 0x505eca
fdiv qword [0x5c0f94]
jmp 0x505edb
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fadd qword [0x5bff98]
fstp qword [ebp - 0x1d0]
fnstsw ax
test al, 0xd
jne 0x506e0b
cmp ecx, 0xfb
jb 0x505efe
call edi
mov ecx, dword [ebp - 0x50]
mov edx, dword [0x5bfb98]
fld dword [edx + ebx*4]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
cmp dword [section..data], 0
jne 0x505f1e
fdiv qword [0x5c0f94]
jmp 0x505f2f
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
mov esi, ecx
fadd qword [0x5bffa0]
fstp qword [ebp - 0x84]
fnstsw ax
test al, 0xd
jne 0x506e0b
add esi, 1
jo 0x506e10
cmp esi, 0xfb
jb 0x505f5d
call ebx
mov ecx, dword [ebp - 0x50]
mov eax, dword [0x5bfb7c]
fld dword [eax + esi*4]
cmp dword [section..data], 0
jne 0x505f76
fdiv qword [0x5c0f94]
jmp 0x505f87
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fadd qword [0x5bff98]
fstp qword [ebp - 0x1e8]
fnstsw ax
test al, 0xd
jne 0x506e0b
add ecx, 1
jo 0x506e10
mov esi, ecx
cmp esi, 0xfb
jb 0x505fb2
call ebx
mov ecx, dword [0x5bfb98]
fld dword [ecx + esi*4]
cmp dword [section..data], 0
jne 0x505fcc
fdiv qword [0x5c0f94]
jmp 0x505fdd
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fadd qword [0x5bffa0]
fstp qword [ebp - 0xc4]
fnstsw ax
test al, 0xd
jne 0x506e0b
mov eax, dword [0x5c0fc4]
add eax, 1
jo 0x506e10
mov esi, eax
cmp esi, 0x4e21
mov dword [0x5c0fc4], eax
jb 0x506012
call ebx
fld qword [ebp - 0x1d0]
mov edx, dword [0x5c0df8]
fstp dword [ebp - 0x404]
shl esi, 5
fld dword [ebp - 0x404]
fstp dword [esi + edx]
mov esi, dword [0x5c0fc4]
cmp esi, 0x4e21
jb 0x506040
call ebx
fld qword [ebp - 0x1e8]
mov eax, dword [0x5c0df8]
fstp dword [ebp - 0x408]
shl esi, 5
fld dword [ebp - 0x408]
fstp dword [esi + eax + 4]
mov esi, dword [0x5c0fc4]
cmp esi, 0x4e21
jb 0x50606e
call ebx
fld qword [ebp - 0x84]
mov ecx, dword [0x5c0df8]
fstp dword [ebp - 0x40c]
shl esi, 5
fld dword [ebp - 0x40c]
fstp dword [esi + ecx + 8]
mov esi, dword [0x5c0fc4]
cmp esi, 0x4e21
jb 0x50609d
call ebx
fld qword [ebp - 0xc4]
mov edx, dword [0x5c0df8]
fstp dword [ebp - 0x410]
shl esi, 5
fld dword [ebp - 0x410]
fstp dword [esi + edx + 0xc]
mov esi, dword [0x5c0fc4]
cmp esi, 0x4e21
jb 0x5060cc
call ebx
mov eax, dword [0x5c0df8]
shl esi, 5
mov word [esi + eax + 0x10], 2
mov esi, dword [0x5c0fc4]
cmp esi, 0x4e21
jb 0x5060eb
call ebx
mov ecx, dword [0x5c0df8]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
shl esi, 5
mov word [esi + ecx + 0x1e], 0
mov eax, dword [ebp - 0x50]
mov ecx, 1
add ecx, eax
jo 0x506e10
mov dword [ebp - 0x50], ecx
jmp 0x505e94
movsx edx, word [0x5bfba4]
mov dword [ebp - 0x3d0], edx
mov eax, 1
cmp eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x50], eax
mov edi, 0x8002
mov esi, 3
jg 0x5065be
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
sub eax, 1
jo 0x506e10
lea edx, [ebp - 0x304]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x304], esi
call ebx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x304]
push ecx
mov dword [ebp - 0x2fc], 1
mov dword [ebp - 0x304], edi
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstLt]
test ax, ax
je 0x5061b3
mov dx, word [0x5bfba4]
mov word [ebp - 0x2fc], dx
lea edx, [ebp - 0x304]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x304], 2
call ebx
mov eax, dword [ebp - 0x50]
add eax, 1
jo 0x506e10
lea edx, [ebp - 0x304]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x304], esi
call ebx
mov cx, word [0x5bfba4]
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x304]
push eax
mov word [ebp - 0x2fc], cx
mov dword [ebp - 0x304], edi
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
test ax, ax
je 0x506228
lea edx, [ebp - 0x304]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x2fc], 1
mov dword [ebp - 0x304], 2
call ebx
cmp dword [ebp - 0x34], 0x65
jb 0x506234
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ebx, dword [ebp - 0x50]
cmp ebx, 0xc9
jb 0x506245
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x34]
lea eax, [ecx + ecx*2]
shl eax, 4
sub eax, ecx
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, dword [0x5c18a0]
lea edx, [ebx + ecx*2]
movsx ecx, word [eax + edx*2 + 0x970]
mov dword [ebp - 0x414], ecx
fild dword [ebp - 0x414]
fstp qword [ebp - 0x41c]
fld qword [ebp - 0x41c]
cmp dword [section..data], 0
jne 0x50628f
fdiv qword [0x4014a0]
jmp 0x5062a0
push dword [0x4014a4]
push dword [0x4014a0]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x506e0b
call dword [sym.imp.MSVBVM60.DLL___vbaR8IntI4]
mov esi, eax
cmp esi, 0x3e9
jb 0x5062c0
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x5c00bc]
lea edx, [esi*8]
sub edx, esi
lea eax, [esi + edx*4]
mov edx, dword [ecx + eax*4 + 8]
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x214]
mov ebx, 2
push ecx
mov dword [ebp - 0x2fc], edx
mov dword [ebp - 0x304], 4
mov dword [ebp - 0x30c], 0x64
mov dword [ebp - 0x314], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaVarNeg]
push eax
lea edx, [ebp - 0x304]
push edx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMul]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarDiv]
push eax
lea ecx, [ebp - 0x314]
push ecx
lea edx, [ebp - 0x234]
push edx
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR8Var]
fstp qword [ebp - 0x4c]
lea ecx, [ebp - 0x1e0]
lea eax, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x304]
mov dword [ebp - 0x2fc], eax
push edx
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x304], 0x4003
call fcn.0055cba0
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaR8Var]
fstp qword [ebp - 0x12c]
lea ecx, [ebp - 0x214]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea edx, [ebp - 0x1e0]
push edx
lea eax, [ebp - 0x304]
push eax
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x304], edi
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
test ax, ax
je 0x5063db
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x2f8], edx
mov dword [ebp - 0x2fc], ecx
mov dword [ebp - 0x304], 5
lea edx, [ebp - 0x304]
jmp 0x506458
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0x214]
push edx
mov dword [ebp - 0x2fc], ebx
mov dword [ebp - 0x304], ebx
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR8Var]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVBVM60.DLL_rtcSin]
fstp qword [ebp - 0x390]
mov dword [ebp - 0x314], 5
fld qword [ebp - 0x390]
lea edx, [ebp - 0x314]
fabs
cmp dword [section..data], 0
jne 0x50643d
fdivr qword [ebp - 0x4c]
jmp 0x506448
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL__adj_fdivr_m64
fstp qword [ebp - 0x30c]
fnstsw ax
test al, 0xd
jne 0x506e0b
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov ebx, dword [ebp - 0x128]
mov edi, dword [ebp - 0x12c]
push ebx
push edi
call dword [sym.imp.MSVBVM60.DLL_rtcCos]
fstp qword [ebp - 0x2fc]
mov eax, dword [ebp - 0x50]
cmp eax, 0xfb
mov dword [ebp - 0x304], 5
mov esi, eax
jb 0x50649a
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x50]
cmp eax, 0xfb
mov ecx, dword [0x5bfb7c]
mov edx, dword [ecx + esi*4]
mov dword [ebp - 0x30c], edx
mov dword [ebp - 0x314], 4
mov esi, eax
jb 0x5064c2
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarMul]
push eax
lea eax, [ebp - 0x314]
push eax
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR4Var]
mov edx, dword [0x5bfe14]
lea ecx, [ebp - 0x224]
fstp dword [edx + esi*4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
push ebx
push edi
call dword [sym.imp.MSVBVM60.DLL_rtcSin]
fstp qword [ebp - 0x2fc]
mov eax, dword [ebp - 0x50]
cmp eax, 0xfb
mov dword [ebp - 0x304], 5
mov esi, eax
jb 0x506538
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x50]
cmp eax, 0xfb
mov ecx, dword [0x5bfb98]
mov edx, dword [ecx + esi*4]
mov dword [ebp - 0x30c], edx
mov dword [ebp - 0x314], 4
mov esi, eax
jb 0x506560
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarMul]
push eax
lea eax, [ebp - 0x314]
push eax
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR4Var]
mov edx, dword [0x5bfe30]
lea ecx, [ebp - 0x224]
fstp dword [edx + esi*4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov ecx, dword [ebp - 0x50]
mov eax, 1
add eax, ecx
jo 0x506e10
jmp 0x50612b
movsx ebx, word [0x5bfba4]
cmp ebx, 0xfb
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
jb 0x5065d5
call esi
mov eax, dword [0x5bfe14]
mov ecx, dword [eax + ebx*4]
mov dword [eax], ecx
movsx ebx, word [0x5bfba4]
cmp ebx, 0xfb
jb 0x5065f0
call esi
mov eax, dword [0x5bfe30]
mov edx, dword [eax + ebx*4]
mov dword [eax], edx
mov ax, word [0x5bfba4]
add ax, 1
jo 0x506e10
movsx ebx, ax
cmp ebx, 0xfb
jb 0x506617
call esi
mov eax, dword [0x5bfe14]
mov ecx, dword [eax + 4]
mov dword [eax + ebx*4], ecx
mov dx, word [0x5bfba4]
add dx, 1
jo 0x506e10
movsx ebx, dx
cmp ebx, 0xfb
jb 0x506640
call esi
mov eax, dword [0x5bfe30]
mov ecx, dword [eax + 4]
mov dword [eax + ebx*4], ecx
movsx edi, word [0x5bfba4]
mov ecx, 1
mov dword [ebp - 0x50], ecx
cmp ecx, edi
jg 0x506950
cmp ecx, 0xfb
mov ebx, ecx
jb 0x506671
call esi
mov ecx, dword [ebp - 0x50]
mov edx, dword [0x5bfe14]
fld dword [edx + ebx*4]
mov ebx, ecx
cmp dword [section..data], 0
jne 0x50668d
fdiv qword [0x5c0f94]
jmp 0x50669e
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fadd qword [0x5bff98]
fstp qword [ebp - 0x1d0]
fnstsw ax
test al, 0xd
jne 0x506e0b
cmp ecx, 0xfb
jb 0x5066c1
call esi
mov ecx, dword [ebp - 0x50]
mov eax, dword [0x5bfe30]
fld dword [eax + ebx*4]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
cmp dword [section..data], 0
jne 0x5066e0
fdiv qword [0x5c0f94]
jmp 0x5066f1
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
mov esi, ecx
fadd qword [0x5bffa0]
fstp qword [ebp - 0x84]
fnstsw ax
test al, 0xd
jne 0x506e0b
add esi, 1
jo 0x506e10
cmp esi, 0xfb
jb 0x50671f
call ebx
mov ecx, dword [ebp - 0x50]
mov edx, dword [0x5bfe14]
fld dword [edx + esi*4]
cmp dword [section..data], 0
jne 0x506739
fdiv qword [0x5c0f94]
jmp 0x50674a
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fadd qword [0x5bff98]
fstp qword [ebp - 0x1e8]
fnstsw ax
test al, 0xd
jne 0x506e0b
add ecx, 1
jo 0x506e10
mov esi, ecx
cmp esi, 0xfb
jb 0x506775
call ebx
mov eax, dword [0x5bfe30]
fld dword [eax + esi*4]
cmp dword [section..data], 0
jne 0x50678e
fdiv qword [0x5c0f94]
jmp 0x50679f
push dword [0x5c0f98]
push dword [0x5c0f94]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fadd qword [0x5bffa0]
fstp qword [ebp - 0xc4]
fnstsw ax
test al, 0xd
jne 0x506e0b
mov eax, dword [0x5c0fc4]
add eax, 1
jo 0x506e10
mov esi, eax
cmp esi, 0x4e21
mov dword [0x5c0fc4], eax
jb 0x5067d4
call ebx
fld qword [ebp - 0x1d0]
mov ecx, dword [0x5c0df8]
fstp dword [ebp - 0x420]
shl esi, 5
fld dword [ebp - 0x420]
fstp dword [esi + ecx]
mov esi, dword [0x5c0fc4]
cmp esi, 0x4e21
jb 0x506802
call ebx
fld qword [ebp - 0x1e8]
mov edx, dword [0x5c0df8]
fstp dword [ebp - 0x424]
shl esi, 5
fld dword [ebp - 0x424]
fstp dword [esi + edx + 4]
mov esi, dword [0x5c0fc4]
cmp esi, 0x4e21
jb 0x506831
call ebx
fld qword [ebp - 0x84]
mov eax, dword [0x5c0df8]
fstp dword [ebp - 0x428]
shl esi, 5
fld dword [ebp - 0x428]
fstp dword [esi + eax + 8]
mov esi, dword [0x5c0fc4]
cmp esi, 0x4e21
jb 0x50685f
call ebx
fld qword [ebp - 0xc4]
mov ecx, dword [0x5c0df8]
fstp dword [ebp - 0x42c]
shl esi, 5
fld dword [ebp - 0x42c]
fstp dword [esi + ecx + 0xc]
mov esi, dword [0x5c0fc4]
cmp esi, 0x4e21
jb 0x50688e
call ebx
mov edx, dword [0x5c0df8]
shl esi, 5
mov word [esi + edx + 0x10], 3
mov esi, dword [0x5c0fc4]
cmp esi, 0x4e21
jb 0x5068ae
call ebx
mov eax, dword [0x5c0df8]
shl esi, 5
mov word [esi + eax + 0x1e], 0
fld qword [ebp - 0x1d0]
fcomp qword [ebp - 0x7c]
fnstsw ax
test ah, 1
je 0x5068df
mov ecx, dword [ebp - 0x1d0]
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], edx
fld qword [ebp - 0x84]
fcomp qword [ebp - 0x19c]
fnstsw ax
test ah, 0x41
jne 0x506907
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], ecx
fld qword [ebp - 0xc4]
fcomp qword [ebp - 0x19c]
fnstsw ax
test ah, 0x41
jne 0x506932
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x50]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, 1
add ecx, eax
jo 0x506e10
mov dword [ebp - 0x50], ecx
jmp 0x50665a
mov ecx, dword [ebp - 0x34]
mov eax, 1
add eax, ecx
jo 0x506e10
mov dword [ebp - 0x34], eax
xor ebx, ebx
mov esi, eax
jmp 0x505b79
mov ecx, dword [0x5c0fc8]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
add ecx, 1
jo 0x506e10
mov dword [0x5c0fc8], ecx
mov edx, 0x416c24
lea ecx, [ebp - 0x1f0]
call esi
mov edx, 0x416a88
lea ecx, [ebp - 0x1ec]
call esi
mov ebx, dword [0x5c0fc8]
cmp ebx, 0x4e21
jb 0x5069b5
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea edx, [ebp - 0x1f0]
push edx
lea eax, [ebp - 0x1ec]
push eax
call fcn.0055e530
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x1f8]
call esi
mov ecx, dword [0x5c0f98]
mov edx, dword [0x5c0f94]
push eax
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrR8]
mov edx, eax
lea ecx, [ebp - 0x1f4]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLeftTrimBstr]
mov edx, eax
lea ecx, [ebp - 0x1fc]
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x200]
call esi
push eax
push 0x4136d0
call edi
mov edx, eax
lea ecx, [ebp - 0x204]
call esi
mov ecx, dword [0x5c0e14]
push eax
mov eax, ebx
shl eax, 5
sub eax, ebx
lea edx, [ecx + eax*4 + 0xc]
push edx
push 0x32
call dword [sym.imp.MSVBVM60.DLL___vbaLsetFixstr]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x200]
push ecx
lea edx, [ebp - 0x1fc]
push edx
lea eax, [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x1f4]
push ecx
lea edx, [ebp - 0x1f0]
push edx
lea eax, [ebp - 0x1ec]
push eax
push 7
call dword [fcn.00401280]
mov esi, dword [0x5c0fc8]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
add esp, 0x20
cmp esi, 0x4e21
jb 0x506a9a
call ebx
mov edx, dword [0x5c0e14]
mov ecx, esi
shl ecx, 5
sub ecx, esi
mov dword [edx + ecx*4 + 8], 0x40a00000
mov esi, dword [0x5c0fc8]
cmp esi, 0x4e21
jb 0x506abf
call ebx
mov ecx, dword [0x5c0e14]
mov eax, esi
shl eax, 5
sub eax, esi
mov edi, 3
mov word [ecx + eax*4 + 0x74], di
mov esi, dword [0x5c0fc8]
cmp esi, 0x4e21
jb 0x506ae6
call ebx
mov eax, dword [0x5c0e14]
mov edx, esi
shl edx, 5
sub edx, esi
mov dword [eax + edx*4 + 0x70], 0
mov esi, dword [0x5c0fc8]
cmp esi, 0x4e21
jb 0x506b0a
call ebx
fld qword [ebp - 0x7c]
mov edx, dword [0x5c0e14]
fadd qword [0x401490]
mov ecx, esi
shl ecx, 5
fstp dword [ebp - 0x430]
fnstsw ax
test al, 0xd
jne 0x506e0b
fld dword [ebp - 0x430]
sub ecx, esi
fstp dword [edx + ecx*4]
mov esi, dword [0x5c0fc8]
cmp esi, 0x4e21
jb 0x506b49
call ebx
fld qword [ebp - 0x19c]
mov edx, dword [0x5c0e14]
fadd qword [0x401488]
mov ecx, esi
shl ecx, 5
fstp dword [ebp - 0x434]
fnstsw ax
test al, 0xd
jne 0x506e0b
fld dword [ebp - 0x434]
sub ecx, esi
fstp dword [edx + ecx*4 + 4]
fld qword [ebp - 0x19c]
lea ecx, [ebp - 0x244]
fadd qword [0x401b58]
lea edx, [ebp - 0x234]
mov esi, 5
mov dword [ebp - 0x24c], edi
fstp qword [ebp - 0x23c]
fnstsw ax
test al, 0xd
jne 0x506e0b
fld qword [ebp - 0x7c]
fadd qword [0x401410]
mov dword [ebp - 0x254], 2
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x234], esi
fstp qword [ebp - 0x22c]
fnstsw ax
test al, 0xd
jne 0x506e0b
fld qword [ebp - 0x19c]
fadd qword [0x401b58]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x214], esi
fstp qword [ebp - 0x21c]
fnstsw ax
test al, 0xd
jne 0x506e0b
fld qword [ebp - 0x7c]
fadd qword [0x401490]
fstp qword [ebp - 0x20c]
fnstsw ax
test al, 0xd
jne 0x506e0b
lea eax, [ebp - 0x254]
push eax
push ecx
push edx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.004d5040
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
wait
add esp, 0x18
push 0x506dfa
jmp 0x506d21
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x30]
call esi
lea ecx, [ebp - 0x44]
call esi
lea ecx, [ebp - 0x64]
call esi
lea ecx, [ebp - 0x74]
call esi
lea ecx, [ebp - 0x98]
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea eax, [ebp - 0x378]
push eax
lea edx, [ebp - 0xb0]
push 0
mov dword [ebp - 0x378], edx
call edi
lea ecx, [ebp - 0xd8]
call esi
lea ecx, [ebp - 0xe8]
call esi
lea edx, [ebp - 0x37c]
push edx
lea ecx, [ebp - 0x100]
push 0
mov dword [ebp - 0x37c], ecx
call edi
lea ecx, [ebp - 0x120]
call esi
lea ecx, [ebp - 0x13c]
call esi
lea ecx, [ebp - 0x14c]
call esi
lea ecx, [ebp - 0x15c]
call esi
lea ecx, [ebp - 0x380]
push ecx
lea eax, [ebp - 0x174]
push 0
mov dword [ebp - 0x380], eax
call edi
lea eax, [ebp - 0x384]
push eax
lea edx, [ebp - 0x190]
push 0
mov dword [ebp - 0x384], edx
call edi
lea edx, [ebp - 0x388]
push edx
lea ecx, [ebp - 0x1b4]
push 0
mov dword [ebp - 0x388], ecx
call edi
lea ecx, [ebp - 0x1e0]
call esi
ret
jmp 0x4044fc
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 8
push 0x4044f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401b90
mov ecx, dword [0x5c0fa4]
xor eax, eax
cmp ecx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x138], eax
jne 0x506ecb
cmp dword [0x5c0fa8], 0x3ff00000
je 0x507b56
mov edx, dword [ebp + 8]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
lea ecx, [ebp - 0x108]
call ebx
mov edx, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x118]
call ebx
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
lea eax, [ebp - 0x98]
push eax
call edi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov edx, eax
lea ecx, [ebp - 0x40]
call esi
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x108]
call ebx
mov edx, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x118]
call ebx
push eax
lea ecx, [ebp - 0x98]
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x80]
call esi
fld qword [0x5bf368]
fmul qword [0x5c0fbc]
fnstsw ax
test al, 0xd
jne 0x507bee
call dword [sym.imp.MSVBVM60.DLL___vbaFPInt]
fstp qword [ebp - 0x100]
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x108], 5
call esi
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x100], 1
mov dword [ebp - 0x108], 0x8002
call ebx
push eax
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
test ax, ax
je 0x507197
xor ecx, ecx
mov eax, 2
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xc0], ecx
mov eax, 0xd2f1a9fc
mov ecx, 0x3f50624d
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x11c], ecx
mov edx, 5
mov dword [ebp - 0xfc], ecx
lea eax, [ebp - 0xd8]
push eax
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x108], edx
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xb8]
push edx
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x138]
mov dword [ebp - 0xb0], 0xa
call ebx
push eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0xa8]
push ecx
call edi
mov edx, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x118]
call ebx
push eax
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x98]
push eax
call edi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.004fd8b0
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x98]
push ecx
mov ebx, 5
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, 2
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xb8], eax
mov eax, 0x3f50624d
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xc0], ecx
mov ecx, 0xd2f1a9fc
lea edx, [ebp - 0xd8]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xb0], 0xa
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x108], ebx
push edx
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0xa8]
push ecx
call edi
push eax
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x98]
push ecx
call edi
push eax
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.004fd8b0
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x98]
push edx
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x18
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x98]
push edx
mov dword [ebp - 0x100], 0xd2f1a9fc
mov dword [ebp - 0xfc], 0x3f60624d
mov dword [ebp - 0x108], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
jmp 0x5073e9
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x100], 2
mov dword [ebp - 0x108], 0x8002
call ebx
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
test ax, ax
je 0x507421
xor ecx, ecx
mov eax, 2
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xd0], ecx
mov edx, 0xd2f1a9fc
mov ecx, 0x3f50624d
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xc8], eax
mov eax, 5
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x100], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0xfc], ecx
lea ecx, [ebp - 0x118]
mov dword [ebp - 0xc0], 0xa
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x108], eax
call ebx
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
mov edx, eax
lea ecx, [ebp - 0xb8]
call esi
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xc8]
push edx
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x138]
call ebx
push eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0xa8]
push ecx
call edi
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0xb8]
push edx
push eax
push ecx
call fcn.004fd8b0
lea edx, [ebp - 0xe8]
push edx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xa8]
push edx
lea eax, [ebp - 0xb8]
push eax
mov ebx, 5
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, 2
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xc8], eax
mov eax, 0xd2f1a9fc
mov ecx, 0x3f50624d
mov dword [ebp - 0xc0], 0xa
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], ecx
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x108], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
mov edx, eax
lea ecx, [ebp - 0xb8]
call esi
lea ecx, [ebp - 0xe8]
push ecx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0xa8]
push eax
call edi
push eax
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.004fd8b0
lea ecx, [ebp - 0xe8]
push ecx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xb8]
push edx
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x18
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x98]
push edx
mov dword [ebp - 0x100], 0xd2f1a9fc
mov dword [ebp - 0xfc], 0x3f50624d
mov dword [ebp - 0x108], ebx
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x98]
mov dword [ebp - 0x100], 0xbc6a7efa
mov dword [ebp - 0xfc], 0x3f589374
mov dword [ebp - 0x108], ebx
push edx
jmp 0x507988
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x100], 3
mov dword [ebp - 0x108], 0x8002
call ebx
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
test ax, ax
je 0x5076c9
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov eax, 2
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xd0], ecx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xc0], 0xa
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x120], 0xd2f1a9fc
mov dword [ebp - 0x11c], 0x3f50624d
mov dword [ebp - 0x128], 5
call ebx
push eax
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0xa8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
mov edx, eax
lea ecx, [ebp - 0xb8]
call esi
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xc8]
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x100], 0xd2f1a9fc
mov dword [ebp - 0xfc], 0x3f50624d
mov dword [ebp - 0x108], 5
call ebx
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x98]
push edx
call edi
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
call fcn.004fd8b0
lea edx, [ebp - 0xe8]
push edx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0x98]
push eax
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
xor ecx, ecx
add esp, 0x18
mov dword [ebp - 0xe0], ecx
mov eax, 2
mov dword [ebp - 0xd0], ecx
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x118]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xc8], eax
push edx
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xc0], 0xa
mov dword [ebp - 0x110], 0xd2f1a9fc
mov dword [ebp - 0x10c], 0x3f50624d
mov dword [ebp - 0x118], 5
call ebx
mov edx, eax
lea ecx, [ebp - 0xb8]
call esi
lea ecx, [ebp - 0xe8]
push ecx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x100], 0xd2f1a9fc
mov dword [ebp - 0xfc], 0x3f50624d
mov dword [ebp - 0x108], 5
call edi
push eax
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.004fd8b0
lea ecx, [ebp - 0xe8]
push ecx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x98]
push edx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x18
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x98]
push edx
mov dword [ebp - 0x100], 0xd2f1a9fc
mov dword [ebp - 0xfc], 0x3f60624d
mov dword [ebp - 0x108], 5
call ebx
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x98]
mov dword [ebp - 0x100], 0xbc6a7efa
mov dword [ebp - 0xfc], 0x3f589374
mov dword [ebp - 0x108], 5
push edx
jmp 0x507988
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x100], 4
mov dword [ebp - 0x108], 0x8002
call ebx
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
test ax, ax
je 0x507991
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov eax, 2
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xe0], ecx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xd0], 0xa
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x120], 0xd2f1a9fc
mov dword [ebp - 0x11c], 0x3f50624d
mov dword [ebp - 0x128], 5
call ebx
push eax
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0xa8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
mov edx, eax
lea ecx, [ebp - 0xc8]
call esi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x100], 0xd2f1a9fc
mov dword [ebp - 0xfc], 0x3f50624d
mov dword [ebp - 0x108], 5
call ebx
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
push eax
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x98]
push ecx
call ebx
mov edx, eax
lea ecx, [ebp - 0xb8]
call esi
lea edx, [ebp - 0xf8]
push edx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0xc8]
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xb8]
push eax
push ecx
push edx
call fcn.004fd8b0
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xe8]
push ecx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xb8]
push ecx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, 2
add esp, 0x18
xor ecx, ecx
lea edx, [ebp - 0x80]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xd0], 0xa
mov dword [ebp - 0x110], 0xd2f1a9fc
mov dword [ebp - 0x10c], 0x3f50624d
mov dword [ebp - 0x118], 5
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0xa8]
push ecx
call ebx
mov edx, eax
lea ecx, [ebp - 0xc8]
call esi
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x100], 0xd2f1a9fc
mov dword [ebp - 0xfc], 0x3f50624d
mov dword [ebp - 0x108], 5
call ebx
mov edx, eax
lea ecx, [ebp - 0xb8]
call esi
lea edx, [ebp - 0xf8]
push edx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004fd8b0
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xe8]
push ecx
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov ebx, 5
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x18
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x100], 0xd2f1a9fc
mov dword [ebp - 0xfc], 0x3f50624d
mov dword [ebp - 0x108], ebx
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x100], 0xbc6a7efa
mov dword [ebp - 0xfc], 0x3f589374
mov dword [ebp - 0x108], ebx
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x50]
call esi
mov eax, dword [0x5c0fc8]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
add eax, 1
jo 0x507bf3
mov esi, eax
cmp esi, 0x4e21
mov dword [0x5c0fc8], eax
jb 0x5079b6
call edi
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaR4Var]
mov ecx, dword [0x5c0e14]
mov eax, esi
shl eax, 5
sub eax, esi
fstp dword [ecx + eax*4]
mov esi, dword [0x5c0fc8]
cmp esi, 0x4e21
jb 0x5079e0
call edi
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaR4Var]
mov ecx, dword [0x5c0e14]
mov eax, esi
shl eax, 5
sub eax, esi
fstp dword [ecx + eax*4 + 4]
mov esi, dword [0x5c0fc8]
cmp esi, 0x4e21
mov dx, word [0x5bf494]
mov word [ebp - 0x100], dx
mov dword [ebp - 0x108], 2
jb 0x507a23
call edi
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarMul]
push eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLeftTrimBstr]
mov edx, eax
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, dword [0x5c0e14]
mov ecx, esi
shl ecx, 5
push eax
sub ecx, esi
lea eax, [edx + ecx*4 + 0xc]
push eax
push 0x32
call dword [sym.imp.MSVBVM60.DLL___vbaLsetFixstr]
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x84]
push edx
push 2
call dword [fcn.00401280]
mov esi, dword [0x5c0fc8]
add esp, 0xc
cmp esi, 0x4e21
jb 0x507aa2
call edi
mov ecx, dword [0x5c0e14]
mov eax, esi
shl eax, 5
sub eax, esi
mov dword [ecx + eax*4 + 8], 0x3fc00000
mov esi, dword [0x5c0fc8]
cmp esi, 0x4e21
jb 0x507ac7
call edi
mov eax, dword [0x5c0e14]
mov edx, esi
shl edx, 5
sub edx, esi
mov word [eax + edx*4 + 0x74], 1
mov esi, dword [0x5c0fc8]
cmp esi, 0x4e21
jb 0x507aea
call edi
mov edx, dword [0x5c0e14]
mov ecx, esi
shl ecx, 5
sub ecx, esi
mov dword [edx + ecx*4 + 0x70], 0
mov esi, dword [0x5c0fc8]
cmp esi, 0x4e21
jb 0x507b0f
call edi
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaUI1Var]
mov edx, dword [0x5c0e14]
mov ecx, esi
shl ecx, 5
sub ecx, esi
mov byte [edx + ecx*4 + 0x77], al
mov esi, dword [0x5c0fc8]
cmp esi, 0x4e21
jb 0x507b3a
call edi
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Var]
mov edx, dword [0x5c0e14]
mov ecx, esi
shl ecx, 5
sub ecx, esi
mov word [edx + ecx*4 + 0x78], ax
wait
push 0x507bdb
jmp 0x507bb1
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x30]
call esi
lea ecx, [ebp - 0x40]
call esi
lea ecx, [ebp - 0x50]
call esi
lea ecx, [ebp - 0x60]
call esi
lea ecx, [ebp - 0x70]
call esi
lea ecx, [ebp - 0x80]
call esi
ret
jmp 0x4044fc
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 8
push 0x4044f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401bb0
mov edx, dword [ebp + 8]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
xor esi, esi
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x118], esi
call edi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
mov edx, eax
lea ecx, [ebp - 0x30]
call ebx
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0xf8]
call edi
mov edx, eax
lea ecx, [ebp - 0x90]
call ebx
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0xf8]
call edi
mov edx, eax
lea ecx, [ebp - 0x50]
call ebx
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0xf8]
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xa8]
push ecx
call fcn.0055c300
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov edx, dword [0x5c1048]
mov eax, dword [0x5c104c]
mov dword [ebp - 0xf0], edx
lea edx, [ebp - 0xf8]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xf8], 5
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x80]
call ebx
mov eax, dword [0x5c0fc4]
add eax, 1
jo 0x5081a9
mov ebx, eax
mov dword [0x5c0fc4], eax
cmp ebx, 0x4e21
jb 0x507d65
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xf8]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR4Var]
mov ecx, dword [0x5c0df8]
shl ebx, 5
fstp dword [ebx + ecx]
mov ebx, dword [0x5c0fc4]
cmp ebx, 0x4e21
jb 0x507d97
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0xf8]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR4Var]
mov edx, dword [0x5c0df8]
shl ebx, 5
fstp dword [ebx + edx + 4]
mov ebx, dword [0x5c0fc4]
cmp ebx, 0x4e21
jb 0x507dca
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0xf8]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR4Var]
mov eax, dword [0x5c0df8]
shl ebx, 5
fstp dword [ebx + eax + 8]
mov ebx, dword [0x5c0fc4]
cmp ebx, 0x4e21
jb 0x507dfc
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0xf8]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR4Var]
mov ecx, dword [0x5c0df8]
shl ebx, 5
fstp dword [ebx + ecx + 0xc]
mov ebx, dword [0x5c0fc4]
cmp ebx, 0x4e21
jb 0x507e2f
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [0x5c0df8]
shl ebx, 5
mov word [ebx + edx + 0x10], 0xa
mov ebx, dword [0x5c0fc4]
cmp ebx, 0x4e21
jb 0x507e53
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [0x5c0df8]
shl ebx, 5
mov word [ebx + eax + 0x1e], si
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
mov eax, 2
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x50]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x108], eax
push edx
lea eax, [ebp - 0xa8]
push eax
call ebx
push eax
lea ecx, [ebp - 0xf8]
push ecx
lea edx, [ebp - 0xb8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarPow]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0xc8]
push edx
call ebx
push eax
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarPow]
push eax
lea edx, [ebp - 0xe8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR8Var]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVBVM60.DLL_rtcSqr]
fstp qword [ebp - 0x120]
fld qword [ebp - 0x120]
fmul qword [0x4014a0]
fmul qword [0x5c0f94]
fnstsw ax
test al, 0xd
jne 0x5081a4
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
lea edx, [ebp - 0x118]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x118], 3
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0xe8]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp - 0x108]
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xf8], 0x8002
call edi
push eax
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
test ax, ax
jne 0x508112
mov eax, dword [0x5c0fc8]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
add eax, 1
jo 0x5081a9
mov esi, eax
cmp esi, 0x4e21
mov dword [0x5c0fc8], eax
jb 0x507f9e
call ebx
fld qword [0x5c1028]
mov edx, dword [0x5c0e14]
mov ecx, esi
fstp dword [ebp - 0x12c]
fld dword [ebp - 0x12c]
shl ecx, 5
sub ecx, esi
fstp dword [edx + ecx*4]
mov esi, dword [0x5c0fc8]
cmp esi, 0x4e21
jb 0x507fd0
call ebx
fld qword [0x5c1030]
mov ecx, dword [0x5c0e14]
mov eax, esi
fstp dword [ebp - 0x130]
fld dword [ebp - 0x130]
shl eax, 5
sub eax, esi
fstp dword [ecx + eax*4 + 4]
mov esi, dword [0x5c0fc8]
cmp esi, 0x4e21
jb 0x508003
call ebx
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcStrFromVar]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x94]
call ebx
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLeftTrimBstr]
mov edx, eax
lea ecx, [ebp - 0x98]
call ebx
mov ecx, dword [0x5c0e14]
push eax
mov eax, esi
shl eax, 5
sub eax, esi
lea edx, [ecx + eax*4 + 0xc]
push edx
push 0x32
call dword [sym.imp.MSVBVM60.DLL___vbaLsetFixstr]
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x94]
push ecx
push 2
call dword [fcn.00401280]
mov esi, dword [0x5c0fc8]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
add esp, 0xc
cmp esi, 0x4e21
jb 0x508078
call ebx
mov eax, dword [0x5c0e14]
mov edx, esi
shl edx, 5
sub edx, esi
mov dword [eax + edx*4 + 8], 0x40000000
mov esi, dword [0x5c0fc8]
cmp esi, 0x4e21
jb 0x50809c
call ebx
mov edx, dword [0x5c0e14]
mov ecx, esi
shl ecx, 5
sub ecx, esi
mov word [edx + ecx*4 + 0x74], 1
mov esi, dword [0x5c0fc8]
cmp esi, 0x4e21
jb 0x5080c0
call ebx
fld qword [0x5c1040]
call dword [sym.imp.MSVBVM60.DLL___vbaFPInt]
fstp dword [ebp - 0x134]
mov ecx, dword [0x5c0e14]
fld dword [ebp - 0x134]
mov eax, esi
shl eax, 5
sub eax, esi
mov esi, dword [ebp + 0x18]
fstp dword [ecx + eax*4 + 0x70]
mov edx, esi
lea ecx, [ebp - 0xf8]
call edi
push eax
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
mov edx, eax
mov ecx, esi
call dword [sym.imp.MSVBVM60.DLL___vbaVargVarMove]
wait
push 0x508191
jmp 0x50815f
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x30]
call esi
lea ecx, [ebp - 0x40]
call esi
lea ecx, [ebp - 0x50]
call esi
lea ecx, [ebp - 0x60]
call esi
lea ecx, [ebp - 0x70]
call esi
lea ecx, [ebp - 0x80]
call esi
lea ecx, [ebp - 0x90]
call esi
ret
jmp 0x4044fc
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop