Function at 0x405520
Capabilities:
Authenticate hmac

Disassembly:
mov eax, dword [esp + 8]
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebp, eax
or esi, 0xffffffff
add ebp, edi
jo 0x405621
sub ebp, 1
mov dword [esp + 0x14], eax
jo 0x405621
cmp eax, ebp
jg 0x405617
mov edi, dword [0x40902c]
push ebx
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x405584
cmp word [eax], 1
jne 0x405584
mov ebx, dword [esp + 0x18]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
sub ebx, edx
cmp ebx, ecx
jb 0x405580
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edi, dword [0x40902c]
mov eax, ebx
jmp 0x405590
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edi, dword [0x40902c]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [edx + 0xc]
xor edx, edx
mov dl, byte [ecx + eax]
mov eax, esi
mov ecx, edx
and eax, 0xff
xor ecx, eax
mov eax, esi
and al, 0
cdq
and edx, 0xff
add eax, edx
sar eax, 8
and eax, 0xffffff
test edi, edi
mov esi, eax
je 0x4055ed
cmp word [edi], 1
jne 0x4055ed
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
sub ecx, edx
mov ebx, ecx
cmp ebx, eax
jb 0x4055e4
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edi, dword [0x40902c]
lea eax, [ebx*4]
jmp 0x4055f9
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edi, dword [0x40902c]
mov ecx, dword [edi + 0xc]
mov ebx, dword [ecx + eax]
mov eax, dword [esp + 0x18]
xor esi, ebx
add eax, 1
jo 0x405621
cmp eax, ebp
mov dword [esp + 0x18], eax
jle 0x405554
pop ebx
mov eax, esi
pop edi
pop esi
pop ebp
not eax
ret 0xc
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0x18
push 0x401756
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1fc
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401548
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
push 0x11
push 0x402980
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
push 0x11
push 0x40299c
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.00407e30
mov dword [ebp - 4], 4
lea edx, [ebp - 0xc4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcCommandVar]
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x78]
push ecx
push 0x401d90
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
je 0x4057a4
mov dword [ebp - 4], 6
lea edx, [ebp - 0x78]
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x124], 0x4008
push 1
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xc4]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcRightCharVar]
mov dword [ebp - 0x12c], 0x4025ac
mov dword [ebp - 0x134], 0x8008
lea edx, [ebp - 0xc4]
push edx
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
mov word [ebp - 0x150], ax
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx ecx, word [ebp - 0x150]
test ecx, ecx
je 0x4057a2
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x78]
push edx
push 0x4025ac
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
jmp 0x4057b9
mov dword [ebp - 4], 0xa
mov edx, 0x4025b4
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0xbc], 0x80020004
mov dword [ebp - 0xc4], 0xa
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcFreeFile]
movsx ecx, ax
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xd
cmp dword [0x4092f4], 0
jne 0x405822
push 0x4092f4
push 0x402414
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x184], 0x4092f4
jmp 0x40582c
mov dword [ebp - 0x184], 0x4092f4
mov edx, dword [ebp - 0x184]
mov eax, dword [edx]
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0x150]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x150]
push ecx
call dword [eax + 0x14]
fnclex
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
jge 0x405887
push 0x14
push 0x402404
mov edx, dword [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x188], eax
jmp 0x405891
mov dword [ebp - 0x188], 0
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x158], ecx
lea edx, [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x158]
push edx
call dword [ecx + 0x50]
fnclex
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jge 0x4058ea
push 0x50
push 0x402424
mov eax, dword [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x18c], eax
jmp 0x4058f4
mov dword [ebp - 0x18c], 0
mov edx, dword [ebp - 0xa0]
push edx
push 0x4025cc
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
push 0xffffffffffffffff
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xa0]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0xe
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcEndOfFile]
movsx edx, ax
test edx, edx
jne 0x40606c
mov dword [ebp - 4], 0xf
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLineInputStr]
mov dword [ebp - 4], 0x10
push 1
mov ecx, dword [ebp - 0x38]
push ecx
push 0x4025f0
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
test eax, eax
je 0x405ca6
mov dword [ebp - 4], 0x11
mov dword [ebp - 0xbc], 0x80020004
mov dword [ebp - 0xc4], 0xa
lea edx, [ebp - 0x38]
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x124], 0x4008
lea eax, [ebp - 0xc4]
push eax
push 1
mov ecx, dword [ebp - 0x38]
push ecx
push 0x402608
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
add eax, 3
jo 0x407e1b
push eax
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0xc4]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x124], 0x4008
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea ecx, [ebp - 0xc4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x13
lea edx, [ebp - 0x54]
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x124], 0x4008
push 1
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xc4]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
push 0x22
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov word [ebp - 0x150], ax
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0xc4]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
movsx ecx, word [ebp - 0x150]
test ecx, ecx
je 0x405b99
mov dword [ebp - 4], 0x14
mov dword [ebp - 0xbc], 0x80020004
mov dword [ebp - 0xc4], 0xa
lea edx, [ebp - 0x54]
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x124], 0x4008
lea eax, [ebp - 0xc4]
push eax
push 2
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0xc4]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x16
lea eax, [ebp - 0x54]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x124], 0x4008
push 1
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0xc4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcRightCharVar]
push 0x22
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea ecx, [ebp - 0xc4]
push ecx
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov word [ebp - 0x150], ax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xc4]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
movsx edx, word [ebp - 0x150]
test edx, edx
je 0x405ca6
mov dword [ebp - 4], 0x17
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
sub eax, 1
jo 0x407e1b
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc4], 3
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x124], 0x4008
lea edx, [ebp - 0xc4]
push edx
push 1
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xc4]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x1a
push 1
mov edx, dword [ebp - 0x38]
push edx
push 0x402614
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
test eax, eax
je 0x40602e
mov dword [ebp - 4], 0x1b
mov dword [ebp - 0xbc], 0x80020004
mov dword [ebp - 0xc4], 0xa
lea eax, [ebp - 0x38]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x124], 0x4008
lea ecx, [ebp - 0xc4]
push ecx
push 1
mov edx, dword [ebp - 0x38]
push edx
push 0x402608
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
add eax, 3
jo 0x407e1b
push eax
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xc4]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x1c
lea edx, [ebp - 0x50]
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x124], 0x4008
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xc4]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea edx, [ebp - 0xc4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x1d
mov dword [ebp - 0xbc], 0x80020004
mov dword [ebp - 0xc4], 0xa
lea eax, [ebp - 0x50]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x124], 0x4008
lea ecx, [ebp - 0xc4]
push ecx
push 3
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0xc4]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0x13c], 0x402574
mov dword [ebp - 0x144], 8
mov dword [ebp - 0xbc], 2
mov dword [ebp - 0xc4], 2
add byte [ebp - 0x72764fb3], cl
in al, 0xfe
invalid
inc edi
test esp, ebx
invalid
invalid
dec dword [eax]
inc eax
add byte [eax], al
lea edx, [ebp - 0xc4]
push edx
push 7
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea edx, [ebp - 0x144]
push edx
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
lea edx, [ebp - 0xa0]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcR8ValFromBstr]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVBVM60.DLL___vbaStrR8]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0xc4]
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 4], 0x1f
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
cmp eax, 1
jne 0x405f36
mov dword [ebp - 4], 0x20
push 0x4022a8
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x22
mov dword [ebp - 0x13c], 0x402574
mov dword [ebp - 0x144], 8
mov dword [ebp - 0xbc], 2
mov dword [ebp - 0xc4], 2
lea edx, [ebp - 0x50]
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x124], 0x4008
lea eax, [ebp - 0xc4]
push eax
push 3
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0xe4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcR8ValFromBstr]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVBVM60.DLL___vbaStrR8]
mov edx, eax
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0xa0]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0xc4]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 4], 0x24
mov ecx, dword [ebp - 0x54]
push ecx
push 0x401d90
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov edx, dword [ebp - 0x50]
push edx
push 0x401d90
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg eax
sbb eax, eax
inc eax
or esi, eax
test esi, esi
jne 0x406067
jmp 0x40606c
jmp 0x405951
mov dword [ebp - 4], 0x28
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 0x29
mov eax, dword [ebp - 0x54]
push eax
push 0x401d90
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov ecx, dword [ebp - 0x50]
push ecx
push 0x401d90
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg eax
sbb eax, eax
neg eax
and esi, eax
test esi, esi
jne 0x4060cc
mov dword [ebp - 4], 0x2a
call dword [sym.imp.MSVBVM60.DLL___vbaEnd]
mov dword [ebp - 4], 0x2c
mov dword [ebp - 0xbc], 0x80020004
mov dword [ebp - 0xc4], 0xa
lea edx, [ebp - 0xc4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcFreeFile]
movsx eax, ax
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x2d
cmp dword [0x4092f4], 0
jne 0x406135
push 0x4092f4
push 0x402414
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x190], 0x4092f4
jmp 0x40613f
mov dword [ebp - 0x190], 0x4092f4
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx]
mov dword [ebp - 0x150], edx
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x150]
push eax
call dword [edx + 0x14]
fnclex
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
jge 0x40619a
push 0x14
push 0x402404
mov ecx, dword [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x194], eax
jmp 0x4061a4
mov dword [ebp - 0x194], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x158], eax
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x158]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x158]
push ecx
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jge 0x4061fd
push 0x50
push 0x402424
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x15c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x198], eax
jmp 0x406207
mov dword [ebp - 0x198], 0
mov ecx, dword [ebp - 0xa0]
push ecx
push 0x402628
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
push 0xffffffffffffffff
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0xa0]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x2e
mov dword [ebp - 0xbc], 0x80020004
mov dword [ebp - 0xc4], 0xa
lea ecx, [ebp - 0xc4]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcFreeFile]
movsx edx, ax
mov dword [ebp - 0x98], edx
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x2f
cmp dword [0x4092f4], 0
jne 0x4062cd
push 0x4092f4
push 0x402414
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x19c], 0x4092f4
jmp 0x4062d7
mov dword [ebp - 0x19c], 0x4092f4
mov eax, dword [ebp - 0x19c]
mov ecx, dword [eax]
mov dword [ebp - 0x150], ecx
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x150]
push edx
call dword [ecx + 0x14]
fnclex
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
jge 0x406332
push 0x14
push 0x402404
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1a0], eax
jmp 0x40633c
mov dword [ebp - 0x1a0], 0
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x158], edx
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x158]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x158]
push eax
call dword [edx + 0x50]
fnclex
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jge 0x406395
push 0x50
push 0x402424
mov ecx, dword [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1a4], eax
jmp 0x40639f
mov dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0xa0]
push eax
push 0x40263c
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
push 0xffffffffffffffff
push 0x20
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0xa0]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x30
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcEndOfFile]
movsx eax, ax
test eax, eax
jne 0x40650e
mov dword [ebp - 4], 0x31
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLineInputStr]
mov dword [ebp - 4], 0x32
push 1
mov edx, dword [ebp - 0x38]
push edx
push 0x402650
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
test eax, eax
je 0x40647e
mov dword [ebp - 4], 0x33
push 0x402670
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x35
push 1
mov ecx, dword [ebp - 0x38]
push ecx
push 0x402698
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
test eax, eax
je 0x4064bd
mov dword [ebp - 4], 0x36
push 0x4026b8
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x38
mov eax, dword [ebp - 0x38]
push eax
push 0x4025a0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea ecx, [ebp - 0xa0]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPut3]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
jmp 0x4063fc
mov dword [ebp - 4], 0x3a
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 0x3b
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 0x3c
cmp dword [0x4092f4], 0
jne 0x40656e
push 0x4092f4
push 0x402414
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x1a8], 0x4092f4
jmp 0x406578
mov dword [ebp - 0x1a8], 0x4092f4
mov edx, dword [ebp - 0x1a8]
mov eax, dword [edx]
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0x150]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x150]
push ecx
call dword [eax + 0x14]
fnclex
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
jge 0x4065d3
push 0x14
push 0x402404
mov edx, dword [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1ac], eax
jmp 0x4065dd
mov dword [ebp - 0x1ac], 0
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x158], ecx
lea edx, [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x158]
push edx
call dword [ecx + 0x50]
fnclex
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jge 0x406636
push 0x50
push 0x402424
mov eax, dword [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1b0], eax
jmp 0x406640
mov dword [ebp - 0x1b0], 0
mov edx, dword [ebp - 0xa0]
push edx
push 0x402628
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc4], 8
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcKillFiles]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x3d
cmp dword [0x4092f4], 0
jne 0x4066bf
push 0x4092f4
push 0x402414
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x1b4], 0x4092f4
jmp 0x4066c9
mov dword [ebp - 0x1b4], 0x4092f4
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx]
mov dword [ebp - 0x160], edx
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x160]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x160]
push eax
call dword [edx + 0x14]
fnclex
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0
jge 0x406724
push 0x14
push 0x402404
mov ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x164]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1b8], eax
jmp 0x40672e
mov dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x168], eax
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x168]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x168]
push ecx
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
jge 0x406787
push 0x50
push 0x402424
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x16c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1bc], eax
jmp 0x406791
mov dword [ebp - 0x1bc], 0
cmp dword [0x4092f4], 0
jne 0x4067b6
push 0x4092f4
push 0x402414
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x1c0], 0x4092f4
jmp 0x4067c0
mov dword [ebp - 0x1c0], 0x4092f4
mov ecx, dword [ebp - 0x1c0]
mov edx, dword [ecx]
mov dword [ebp - 0x150], edx
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x150]
push eax
call dword [edx + 0x14]
fnclex
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
jge 0x40681b
push 0x14
push 0x402404
mov ecx, dword [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1c4], eax
jmp 0x406825
mov dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x158], eax
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0x158]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x158]
push ecx
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jge 0x40687e
push 0x50
push 0x402424
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x15c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1c8], eax
jmp 0x406888
mov dword [ebp - 0x1c8], 0
mov ecx, dword [ebp - 0xa0]
push ecx
push 0x40263c
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [ebp - 0xa4]
push edx
push 0x402628
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaNameFile]
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0xa0]
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x14
lea ecx, [ebp - 0xb4]
push ecx
lea edx, [ebp - 0xb0]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
mov dword [ebp - 4], 0x3e
cmp dword [0x4092f4], 0
jne 0x40693c
push 0x4092f4
push 0x402414
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x1cc], 0x4092f4
jmp 0x406946
mov dword [ebp - 0x1cc], 0x4092f4
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dword [ebp - 0x150], ecx
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x150]
push edx
call dword [ecx + 0x14]
fnclex
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
jge 0x4069a1
push 0x14
push 0x402404
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1d0], eax
jmp 0x4069ab
mov dword [ebp - 0x1d0], 0
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x158], edx
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x158]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x158]
push eax
call dword [edx + 0x50]
fnclex
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jge 0x406a04
push 0x50
push 0x402424
mov ecx, dword [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1d4], eax
jmp 0x406a0e
mov dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0xa0]
push eax
push 0x4026e0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc4], 8
lea ecx, [ebp - 0xc4]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcKillFiles]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x3f
mov dword [ebp - 0xbc], 0x80020004
mov dword [ebp - 0xc4], 0xa
lea edx, [ebp - 0xc4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcFreeFile]
movsx eax, ax
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x40
cmp dword [0x4092f4], 0
jne 0x406aca
push 0x4092f4
push 0x402414
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x1d8], 0x4092f4
jmp 0x406ad4
mov dword [ebp - 0x1d8], 0x4092f4
mov ecx, dword [ebp - 0x1d8]
mov edx, dword [ecx]
mov dword [ebp - 0x150], edx
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x150]
push eax
call dword [edx + 0x14]
fnclex
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
jge 0x406b2f
push 0x14
push 0x402404
mov ecx, dword [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1dc], eax
jmp 0x406b39
mov dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x158], eax
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x158]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x158]
push ecx
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jge 0x406b92
push 0x50
push 0x402424
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x15c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1e0], eax
jmp 0x406b9c
mov dword [ebp - 0x1e0], 0
mov ecx, dword [ebp - 0xa0]
push ecx
push 0x4026f8
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
push 0xffffffffffffffff
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0xa0]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x41
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcEndOfFile]
movsx ecx, ax
test ecx, ecx
jne 0x406e19
mov dword [ebp - 4], 0x42
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLineInputStr]
mov dword [ebp - 4], 0x43
push 1
mov eax, dword [ebp - 0x38]
push eax
push 0x402724
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
test eax, eax
je 0x406d28
mov dword [ebp - 4], 0x44
mov dword [ebp - 0xbc], 0x80020004
mov dword [ebp - 0xc4], 0xa
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x124], 0x4008
lea edx, [ebp - 0xc4]
push edx
push 1
mov eax, dword [ebp - 0x38]
push eax
push 0x402764
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
add eax, 0x14
jo 0x407e1b
push eax
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcR8ValFromBstr]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0xc4]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 4], 0x46
push 1
mov ecx, dword [ebp - 0x38]
push ecx
push 0x402794
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
test eax, eax
je 0x406e14
mov dword [ebp - 4], 0x47
mov dword [ebp - 0xbc], 0x80020004
mov dword [ebp - 0xc4], 0xa
lea edx, [ebp - 0x38]
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x124], 0x4008
lea eax, [ebp - 0xc4]
push eax
push 1
mov ecx, dword [ebp - 0x38]
push ecx
push 0x4027cc
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
add eax, 0x14
jo 0x407e1b
push eax
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0xe4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcR8ValFromBstr]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xc4]
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
jmp 0x406bf9
mov dword [ebp - 4], 0x4a
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 0x4b
mov dword [ebp - 0xbc], 0x80020004
mov dword [ebp - 0xc4], 0xa
lea edx, [ebp - 0xc4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcFreeFile]
movsx eax, ax
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x4c
cmp dword [0x4092f4], 0
jne 0x406e9c
push 0x4092f4
push 0x402414
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x1e4], 0x4092f4
jmp 0x406ea6
mov dword [ebp - 0x1e4], 0x4092f4
mov ecx, dword [ebp - 0x1e4]
mov edx, dword [ecx]
mov dword [ebp - 0x150], edx
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x150]
push eax
call dword [edx + 0x14]
fnclex
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
jge 0x406f01
push 0x14
push 0x402404
mov ecx, dword [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1e8], eax
jmp 0x406f0b
mov dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x158], eax
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x158]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x158]
push ecx
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jge 0x406f64
push 0x50
push 0x402424
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x15c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1ec], eax
jmp 0x406f6e
mov dword [ebp - 0x1ec], 0
mov ecx, dword [ebp - 0xa0]
push ecx
push 0x402628
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
push 0xffffffffffffffff
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0xa0]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x4d
mov dword [ebp - 0xbc], 0x80020004
mov dword [ebp - 0xc4], 0xa
lea ecx, [ebp - 0xc4]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcFreeFile]
movsx edx, ax
mov dword [ebp - 0x98], edx
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x4e
cmp dword [0x4092f4], 0
jne 0x407034
push 0x4092f4
push 0x402414
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x1f0], 0x4092f4
jmp 0x40703e
mov dword [ebp - 0x1f0], 0x4092f4
mov eax, dword [ebp - 0x1f0]
mov ecx, dword [eax]
mov dword [ebp - 0x150], ecx
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x150]
push edx
call dword [ecx + 0x14]
fnclex
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
jge 0x407099
push 0x14
push 0x402404
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1f4], eax
jmp 0x4070a3
mov dword [ebp - 0x1f4], 0
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x158], edx
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x158]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x158]
push eax
call dword [edx + 0x50]
fnclex
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jge 0x4070fc
push 0x50
push 0x402424
mov ecx, dword [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x1f8], eax
jmp 0x407106
mov dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0xa0]
push eax
push 0x4026e0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
push 0xffffffffffffffff
push 0x20
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0xa0]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x4f
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcEndOfFile]
movsx eax, ax
test eax, eax
jne 0x4074fd
mov dword [ebp - 4], 0x50
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLineInputStr]
mov dword [ebp - 4], 0x51
push 1
mov edx, dword [ebp - 0x38]
push edx
push 0x402650
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
test eax, eax
je 0x407236
mov dword [ebp - 4], 0x52
push 0x402670
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x53
mov ecx, dword [ebp - 0x38]
push ecx
push 0x4025a0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea edx, [ebp - 0xa0]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPut3]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
jmp 0x4074f8
mov dword [ebp - 4], 0x54
push 1
mov eax, dword [ebp - 0x38]
push eax
push 0x402698
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
test eax, eax
je 0x4074ac
mov dword [ebp - 4], 0x55
push 0x4026b8
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x56
mov edx, dword [ebp - 0x38]
push edx
push 0x4025a0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPut3]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x57
cmp dword [ebp - 0x2c], 0
jne 0x40736e
mov dword [ebp - 4], 0x58
mov ecx, dword [ebp - 0x54]
push ecx
push 0x4027f8
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x59
push 0x402804
push 0x4025a0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPut3]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
jmp 0x4074aa
mov dword [ebp - 4], 0x5a
cmp dword [ebp - 0x30], 2
jne 0x407417
mov dword [ebp - 4], 0x5b
mov ecx, dword [ebp - 0x54]
push ecx
push 0x402820
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x5c
push 0x402834
push 0x4025a0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPut3]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
jmp 0x4074aa
mov dword [ebp - 4], 0x5e
mov ecx, dword [ebp - 0x54]
push ecx
push 0x402850
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x5f
push 0x402864
push 0x4025a0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPut3]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
jmp 0x4074f8
mov dword [ebp - 4], 0x62
mov ecx, dword [ebp - 0x38]
push ecx
push 0x4025a0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea edx, [ebp - 0xa0]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPut3]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
jmp 0x407163
mov dword [ebp - 4], 0x65
mov eax, dword [ebp - 0x58]
push eax
push 0x402880
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x66
lea ecx, [ebp - 0xc4]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcGetPresentDate]
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x40288c
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xf4], 8
mov dword [ebp - 0x11c], 0x402894
mov dword [ebp - 0x124], 8
lea edx, [ebp - 0x124]
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 1
push 1
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0xc4]
push edx
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarFromFormatVar]
mov dword [ebp - 0x12c], 0x4028ac
mov dword [ebp - 0x134], 8
lea ecx, [ebp - 0xf4]
push ecx
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0xc4]
push edx
push 6
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x1c
mov dword [ebp - 4], 0x67
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMakeDir]
mov dword [ebp - 4], 0x68
push 0x4028b8
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x4025a0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPut3]
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0xa0]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
mov dword [ebp - 4], 0x69
push 0x4028c8
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x4028e8
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x4025a0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea eax, [ebp - 0xac]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPut3]
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0xa8]
push edx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xa0]
push ecx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x14
mov dword [ebp - 4], 0x6a
push 0x4028f0
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x4025a0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea eax, [ebp - 0xa4]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPut3]
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0xa0]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
mov dword [ebp - 4], 0x6b
push 0x402910
push 0x4025a0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPut3]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x6c
push 0x40293c
push 0x4025a0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
lea ecx, [ebp - 0xa0]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPut3]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x6d
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 0x6e
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 0x6f
mov edx, dword [ebp - 0x78]
push edx
call fcn.00403750
mov dword [ebp - 4], 0x70
mov eax, dword [ebp - 0x78]
push eax
call fcn.00404110
mov dword [ebp - 4], 0x71
cmp dword [0x4092f4], 0
jne 0x40792b
push 0x4092f4
push 0x402414
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x1fc], 0x4092f4
jmp 0x407935
mov dword [ebp - 0x1fc], 0x4092f4
mov ecx, dword [ebp - 0x1fc]
mov edx, dword [ecx]
mov dword [ebp - 0x150], edx
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x150]
push eax
call dword [edx + 0x14]
fnclex
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
jge 0x407990
push 0x14
push 0x402404
mov ecx, dword [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x200], eax
jmp 0x40799a
mov dword [ebp - 0x200], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x158], eax
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x158]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x158]
push ecx
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jge 0x4079f3
push 0x50
push 0x402424
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x15c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x204], eax
jmp 0x4079fd
mov dword [ebp - 0x204], 0
mov ecx, dword [ebp - 0x78]
push ecx
push 0x40253c
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [ebp - 0xa0]
push edx
push 0x402950
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcFileCopy]
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0xa0]
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x72
mov eax, dword [ebp - 0x78]
push eax
call fcn.00404ad0
mov dword [ebp - 4], 0x73
cmp dword [0x4092f4], 0
jne 0x407aaa
push 0x4092f4
push 0x402414
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x208], 0x4092f4
jmp 0x407ab4
mov dword [ebp - 0x208], 0x4092f4
mov ecx, dword [ebp - 0x208]
mov edx, dword [ecx]
mov dword [ebp - 0x150], edx
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x150]
push eax
call dword [edx + 0x14]
fnclex
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
jge 0x407b0f
push 0x14
push 0x402404
mov ecx, dword [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x20c], eax
jmp 0x407b19
mov dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x158], eax
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x158]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x158]
push ecx
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jge 0x407b72
push 0x50
push 0x402424
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x15c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x210], eax
jmp 0x407b7c
mov dword [ebp - 0x210], 0
cmp dword [0x4092f4], 0
jne 0x407ba1
push 0x4092f4
push 0x402414
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x214], 0x4092f4
jmp 0x407bab
mov dword [ebp - 0x214], 0x4092f4
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx]
mov dword [ebp - 0x160], edx
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x160]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x160]
push eax
call dword [edx + 0x14]
fnclex
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0
jge 0x407c06
push 0x14
push 0x402404
mov ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x164]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x218], eax
jmp 0x407c10
mov dword [ebp - 0x218], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x168], eax
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0x168]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x168]
push ecx
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
jge 0x407c69
push 0x50
push 0x402424
mov edx, dword [ebp - 0x168]
push edx
mov eax, dword [ebp - 0x16c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x21c], eax
jmp 0x407c73
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x148], 0
mov edx, 0x401d80
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xa4]
push eax
push 0x401d90
push 1
mov ecx, dword [ebp - 0xa0]
push ecx
push 0x4026e0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call fcn.00402d30
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xa0]
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x14
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xb0]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
wait
push 0x407e0a
jmp 0x407d8e
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea edx, [ebp - 0x70]
mov dword [ebp - 0x148], edx
lea eax, [ebp - 0x148]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x14c], ecx
lea edx, [ebp - 0x14c]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
int3