Function at 0x45a860
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x405a36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402e90
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x50], eax
mov ebx, 1
mov dword [ebp - 4], ebx
mov dword [ebp - 4], 2
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov esi, dword [ebp + 8]
cmp byte [esi], bl
jne 0x45a602
mov dword [ebp - 4], 4
push esi
call 0x45a860
mov dword [ebp - 4], 0xc
mov dword [ebp - 4], 0xd
mov dword [ebp - 4], 0xe
mov al, byte [esi]
test al, al
jne 0x45a6dd
mov dword [ebp - 4], 0xf
mov dword [ebp - 4], 0x10
mov ecx, dword [0x4a007c]
push ecx
push 0xffffffffffffffff
call fcn.0049cc60
mov dword [ebp - 4], 0x11
push 0xffffffffffffffff
mov edx, dword [0x4a007c]
push edx
push 0x40afcc
push 0x40afcc
lea eax, [ebp - 0x50]
push eax
call fcn.00463f80
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x45a836
jmp 0x45a835
mov edi, 5
mov dword [ebp - 4], edi
mov edx, 0x4137b0
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x41377c
mov eax, dword [0x4a007c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00468ed0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
mov dword [ebp - 4], 6
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x24], ebx
mov dx, word [ebp - 0x60]
cmp word [ebp - 0x24], dx
jg 0x45a58b
mov dword [ebp - 4], 7
push esi
call 0x45a860
mov dword [ebp - 4], 8
mov ebx, 0x1e
mov edi, 1
mov esi, edi
cmp si, bx
jg 0x45a6bf
mov dword [ebp - 4], 9
push 0x64
call fcn.0040bfc0
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0xa
mov ax, di
add ax, si
jo 0x45a84d
mov esi, eax
jmp 0x45a68f
mov dword [ebp - 4], 0xb
mov eax, 1
add ax, word [ebp - 0x24]
jo 0x45a84d
mov dword [ebp - 0x24], eax
mov esi, dword [ebp + 8]
jmp 0x45a661
mov dword [ebp - 4], 0x12
cmp al, 1
jne 0x45a7fa
mov dword [ebp - 4], 0x13
push 0x4a007c
mov ecx, dword [0x4a0134]
push ecx
call fcn.0042de60
cmp ax, 0xffff
jne 0x45a71e
mov dword [ebp - 4], 0x14
mov ecx, 2
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [esi], al
mov dword [ebp - 4], 0x15
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x45a836
jmp 0x45a835
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x45a836
jmp 0x45a835
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0x18
push 0x405a36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402ef8
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov dword [ebp - 4], 4
mov dword [ebp - 4], 5
mov dword [ebp - 4], 6
mov dword [ebp - 4], 7
mov esi, 8
mov dword [ebp - 4], esi
mov dword [ebp - 4], 9
mov dword [ebp - 4], 0xa
mov dword [ebp - 4], 0xb
mov dword [ebp - 4], 0xc
mov dword [ebp - 4], 0xd
mov dword [ebp - 4], 0xe
mov dword [ebp - 4], 0xf
mov dword [ebp - 4], 0x10
mov dword [ebp - 4], 0x11
mov dword [ebp - 4], 0x12
lea eax, [ebp - 0x8c]
push eax
mov ebx, dword [sym.imp.MSVBVM60.DLL_rtcGetPresentDate]
call ebx
mov ecx, dword [0x4a007c]
push ecx
push 0x413d94
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xe4], 0x412a38
mov dword [ebp - 0xec], esi
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 1
push 1
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xac]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarFromFormatVar]
mov dword [ebp - 0xf4], 0x412a44
mov dword [ebp - 0xfc], esi
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0xcc]
push ecx
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
call esi
push eax
lea edx, [ebp - 0xfc]
push edx
lea eax, [ebp - 0xdc]
push eax
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0xdc]
push ecx
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x8c]
push eax
push 6
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
call edi
add esp, 0x1c
mov dword [ebp - 4], 0x13
mov dword [ebp - 4], 0x14
lea ecx, [ebp - 0x8c]
push ecx
call ebx
mov edx, dword [0x4a007c]
push edx
push 0x413dc0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0xb4], eax
mov eax, 8
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xe4], 0x412a38
mov dword [ebp - 0xec], eax
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 1
push 1
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0xac]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarFromFormatVar]
mov dword [ebp - 0xf4], 0x412a44
mov dword [ebp - 0xfc], 8
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0xcc]
push edx
call esi
push eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xdc]
push ecx
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0xdc]
push edx
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push 6
call edi
add esp, 0x1c
mov dword [ebp - 4], 0x15
mov dword [ebp - 4], 0x16
lea edx, [ebp - 0x8c]
push edx
call ebx
mov eax, dword [0x4a007c]
push eax
push 0x413df0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0xb4], eax
mov ebx, 8
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xe4], 0x412a38
mov dword [ebp - 0xec], ebx
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 1
push 1
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarFromFormatVar]
mov dword [ebp - 0xf4], 0x4110d4
mov dword [ebp - 0xfc], ebx
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0xcc]
push eax
call esi
push eax
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0xdc]
push edx
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x8c]
push edx
push 6
call edi
add esp, 0x1c
mov dword [ebp - 4], 0x17
mov dword [ebp - 4], 0x18
mov dword [ebp - 4], 0x19
mov dword [ebp - 0x84], 0x80020004
mov dword [ebp - 0x8c], 0xa
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcFreeFile]
mov ebx, eax
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x1a
mov dword [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x4c]
push ecx
push ebx
push 0xffffffffffffffff
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
mov dword [ebp - 4], 0x1c
mov dword [ebp - 4], 0x1d
push 0x22
lea edx, [ebp - 0x8c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
push 0x22
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0xe4], 0x413e40
mov eax, 8
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xfc], eax
lea edx, [ebp - 0xec]
push edx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call esi
push eax
lea edx, [ebp - 0xfc]
push edx
lea eax, [ebp - 0xac]
push eax
call esi
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xcc]
push edx
call esi
push eax
push ebx
push 0x413e80
call dword [sym.imp.MSVBVM60.DLL___vbaPrintFile]
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push 5
call edi
add esp, 0x24
mov dword [ebp - 4], 0x1e
mov dword [ebp - 4], 0x1f
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 0x20
mov dword [ebp - 4], 0x21
mov dword [ebp - 4], 0x22
mov dword [ebp - 4], 0x23
mov dword [ebp - 4], 0x24
push 0x40c1c0
call dword [sym.imp.MSVBVM60.DLL___vbaNew]
push eax
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 4], 0x25
mov dword [ebp - 4], 0x26
mov dword [ebp - 4], 0x27
mov eax, dword [ebp - 0x48]
mov ebx, dword [eax]
lea ecx, [ebp - 0x110]
push ecx
call fcn.0045d7e0
mov edx, eax
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x413e88
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [ebp - 0x48]
push edx
call dword [ebx + 0x44]
fnclex
test eax, eax
jge 0x45ae48
push 0x44
push 0x40bff8
mov ecx, dword [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
xor ebx, ebx
cmp word [ebp - 0x110], 0xffff
sete bl
neg ebx
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x6c]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
test bx, bx
je 0x45afdb
mov dword [ebp - 4], 0x28
call fcn.0045d7e0
mov edx, eax
lea ecx, [ebp - 0x6c]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call ebx
push eax
push 0x413e88
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x24]
call ebx
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x29
push 0x22
lea ecx, [ebp - 0x8c]
push ecx
mov ebx, dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
call ebx
push 0x22
lea edx, [ebp - 0xbc]
push edx
call ebx
mov dword [ebp - 0xe4], 0x413eb4
mov eax, 8
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xfc], eax
mov eax, dword [0x4a01ec]
test eax, eax
jne 0x45af08
push 0x4a01ec
push 0x406a90
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0x40c984
mov edx, dword [0x4a01ec]
push edx
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
call ebx
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0xec]
push ecx
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x9c]
push eax
call esi
push eax
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0xac]
push edx
call esi
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xcc]
push ecx
call esi
push eax
lea edx, [ebp - 0x6c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.004262d0
mov dword [ebp - 0x110], eax
push 0x40dad4
mov edx, dword [ebp - 0x7c]
push edx
call ebx
push eax
push 0x4a01ec
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push 5
call edi
add esp, 0x18
jmp 0x45b0e1
mov dword [ebp - 4], 0x2a
push 0x22
lea edx, [ebp - 0x8c]
push edx
mov ebx, dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
call ebx
push 0x22
lea eax, [ebp - 0xac]
push eax
call ebx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xec], 8
mov eax, dword [0x4a01ec]
test eax, eax
jne 0x45b02a
push 0x4a01ec
push 0x406a90
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0x40c984
mov edx, dword [0x4a01ec]
push edx
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
call ebx
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0xffffffffffffffff
push 0
push 0x40afcc
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0xec]
push edx
lea eax, [ebp - 0x9c]
push eax
call esi
push eax
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0xbc]
push edx
call esi
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.004262d0
mov dword [ebp - 0x110], eax
push 0x40dad4
mov edx, dword [ebp - 0x7c]
push edx
call ebx
push eax
push 0x4a01ec
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x8c]
push eax
push 4
call edi
add esp, 0x14
mov dword [ebp - 4], 0x2b
mov dword [ebp - 4], 0x2c
mov dword [ebp - 4], 0x2d
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 4], 0x2e
mov dword [ebp - 4], 0x2f
mov dword [ebp - 4], 0x30
mov dword [ebp - 0x84], 0x80020004
mov dword [ebp - 0x8c], 0xa
lea ecx, [ebp - 0x8c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcFreeFile]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x31
mov dword [ebp - 4], 0x32
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x3c]
push eax
push 0xffffffffffffffff
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
mov dword [ebp - 4], 0x33
mov dword [ebp - 4], 0x34
mov dword [ebp - 4], 0x35
mov dword [ebp - 0x84], 0x80020004
mov dword [ebp - 0x8c], 0xa
lea ecx, [ebp - 0x8c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcFreeFile]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x36
mov dword [ebp - 4], 0x37
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0xffffffffffffffff
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
mov dword [ebp - 4], 0x38
mov dword [ebp - 4], 0x39
mov dword [ebp - 4], 0x3a
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcEndOfFile]
test ax, ax
jne 0x45b702
mov dword [ebp - 4], 0x3b
mov dword [ebp - 4], 0x3c
mov edx, dword [ebp - 0x2c]
push edx
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLineInputStr]
mov dword [ebp - 4], 0x3d
mov dword [ebp - 4], 0x3e
mov dword [ebp - 4], 0x3f
push 1
mov ecx, dword [ebp - 0x44]
push ecx
push 0x413edc
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
xor ebx, ebx
test eax, eax
setle bl
push 1
mov edx, dword [ebp - 0x44]
push edx
push 0x413ec4
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
xor ecx, ecx
test eax, eax
setle cl
or ebx, ecx
mov ebx, dword [ebp - 0x68]
jne 0x45b3e5
cmp bx, 0xffff
jne 0x45b3e5
mov dword [ebp - 4], 0x40
mov dword [ebp - 4], 0x41
mov dword [ebp - 0xe4], 0x40eadc
mov dword [ebp - 0xec], 8
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcSplit]
lea edx, [ebp - 0x9c]
push edx
push 0x2008
call dword [sym.imp.MSVBVM60.DLL___vbaAryVar]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryCopy]
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x8c]
push eax
push 2
call edi
add esp, 0xc
mov dword [ebp - 4], 0x42
mov dword [ebp - 4], 0x43
mov ecx, dword [ebp - 0x54]
push ecx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov dword [ebp - 0x124], eax
xor ebx, ebx
cmp bx, word [ebp - 0x124]
jg 0x45b3cc
mov dword [ebp - 4], 0x44
mov dword [ebp - 4], 0x45
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x45b36e
cmp word [ecx], 1
jne 0x45b36e
movsx eax, bx
sub eax, dword [ecx + 0x14]
mov dword [ebp - 0x118], eax
cmp eax, dword [ecx + 0x10]
jb 0x45b369
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x118]
shl eax, 2
jmp 0x45b377
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x54]
push 1
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax]
push eax
push 0x4103e8
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
test eax, eax
jg 0x45b3b4
mov dword [ebp - 4], 0x4a
mov dword [ebp - 4], 0x4b
mov eax, 1
add ax, bx
jo 0x45bc1b
mov ebx, eax
jmp 0x45b321
mov dword [ebp - 4], 0x46
mov dword [ebp - 4], 0x47
mov dword [ebp - 0x68], ebx
mov dword [ebp - 4], 0x48
mov dword [ebp - 4], 0x4c
mov dword [ebp - 4], 0x5e
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
jmp 0x45b1d5
mov dword [ebp - 4], 0x4d
push 1
mov ecx, dword [ebp - 0x44]
push ecx
push 0x40eadc
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
test eax, eax
jle 0x45b6f0
cmp bx, 0xffff
jle 0x45b6f0
mov dword [ebp - 4], 0x4e
mov dword [ebp - 4], 0x4f
mov dword [ebp - 0xe4], 0x40eadc
mov dword [ebp - 0xec], 8
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 0
push 0xffffffffffffffff
lea edx, [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcSplit]
lea edx, [ebp - 0x9c]
push edx
push 0x2008
call dword [sym.imp.MSVBVM60.DLL___vbaAryVar]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryCopy]
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x8c]
push eax
push 2
call edi
add esp, 0xc
mov dword [ebp - 4], 0x50
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x45b4d0
cmp word [ecx], 1
jne 0x45b4d0
movsx ebx, bx
sub ebx, dword [ecx + 0x14]
cmp ebx, dword [ecx + 0x10]
jb 0x45b4c7
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x54]
lea eax, [ebx*4]
jmp 0x45b4d9
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax]
push edx
call 0x45bc30
mov edx, eax
lea ecx, [ebp - 0x40]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call ebx
mov dword [ebp - 4], 0x51
mov dword [ebp - 4], 0x52
push 1
mov eax, dword [ebp - 0x40]
push eax
push 0x40c848
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x70]
call ebx
push eax
mov ecx, dword [0x4a007c]
push ecx
push 0x40c848
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x6c]
call ebx
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
xor ebx, ebx
test eax, eax
setg bl
neg ebx
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x6c]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
test bx, bx
je 0x45b6e9
mov dword [ebp - 4], 0x53
mov dword [ebp - 4], 0x54
mov dword [ebp - 4], 0x55
push 0x20
lea ecx, [ebp - 0x8c]
push ecx
mov ebx, dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
call ebx
push 0x20
lea edx, [ebp - 0xbc]
push edx
call ebx
mov dword [ebp - 0xe4], 0x413ef8
mov dword [ebp - 0xec], 8
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x45b5d0
cmp word [ecx], 1
jne 0x45b5d0
movsx ebx, word [ebp - 0x68]
sub ebx, dword [ecx + 0x14]
cmp ebx, dword [ecx + 0x10]
jb 0x45b5c7
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x54]
lea eax, [ebx*4]
jmp 0x45b5d9
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax]
mov dword [ebp - 0xf4], edx
mov eax, 8
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x104], 0x413f34
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x9c]
push edx
call esi
push eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xac]
push ecx
call esi
push eax
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0xcc]
push eax
call esi
push eax
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0xdc]
push edx
call esi
push eax
mov eax, dword [ebp - 0x3c]
push eax
push 0x413e80
call dword [sym.imp.MSVBVM60.DLL___vbaPrintFile]
lea ecx, [ebp - 0xdc]
push ecx
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x8c]
push eax
push 6
call edi
add esp, 0x28
mov dword [ebp - 4], 0x56
mov dword [ebp - 4], 0x57
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 4], 0x58
mov cx, word [ebp - 0x50]
add cx, 1
jo 0x45bc1b
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 0x59
mov dword [ebp - 4], 0x5a
mov ebx, dword [ebp + 8]
cmp byte [ebx], 1
jne 0x45b6e2
mov dword [ebp - 4], 0x5b
mov ecx, 2
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebx], al
mov dword [ebp - 4], 0x5c
mov dword [ebp - 4], 0x5d
mov dword [ebp - 4], 0x5e
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
jmp 0x45b1d5
mov dword [ebp - 4], 0x5f
mov dword [ebp - 4], 0x60
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 0x61
mov dword [ebp - 4], 0x62
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 0x63
mov dword [ebp - 4], 0x64
mov dword [ebp - 4], 0x65
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0
jne 0x45b9b3
cmp word [ebp - 0x34], 0xffff
jne 0x45b9b3
mov dword [ebp - 4], 0x66
mov edx, dword [ebp - 0x24]
push edx
push 0x40afcc
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
jne 0x45b882
mov dword [ebp - 4], 0x67
push 0x22
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
push 0x22
lea ecx, [ebp - 0xac]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xec], 8
mov eax, dword [0x4a01ec]
test eax, eax
jne 0x45b7cd
push 0x4a01ec
push 0x406a90
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0x40c984
mov eax, dword [0x4a01ec]
push eax
call ebx
push eax
lea ecx, [ebp - 0x7c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0xffffffffffffffff
push 0
push 0x40afcc
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call esi
push eax
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0xbc]
push eax
call esi
push eax
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
lea edx, [ebp - 0x7c]
push edx
call fcn.004262d0
mov dword [ebp - 0x110], eax
push 0x40dad4
mov eax, dword [ebp - 0x7c]
push eax
call ebx
push eax
push 0x4a01ec
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push 4
call edi
add esp, 0x14
jmp 0x45b9ac
mov dword [ebp - 4], 0x68
push 0x22
lea edx, [ebp - 0x8c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
push 0x22
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0xe4], 0x413eb4
mov eax, 8
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xfc], eax
mov eax, dword [0x4a01ec]
test eax, eax
jne 0x45b8e4
push 0x4a01ec
push 0x406a90
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0x40c984
mov edx, dword [0x4a01ec]
push edx
call ebx
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0xec]
push ecx
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x9c]
push eax
call esi
push eax
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0xac]
push edx
call esi
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xcc]
push ecx
call esi
push eax
lea edx, [ebp - 0x6c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.004262d0
mov dword [ebp - 0x110], eax
push 0x40dad4
mov edx, dword [ebp - 0x7c]
push edx
call ebx
push eax
push 0x4a01ec
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push 5
call edi
add esp, 0x18
mov dword [ebp - 4], 0x69
mov dword [ebp - 4], 0x6a
mov dword [ebp - 4], 0x6b
mov dword [ebp - 4], 0x6c
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xec], 8
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x8c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
call edi
lea eax, [ebp - 0x8c]
push eax
mov esi, dword [sym.imp.MSVBVM60.DLL_rtcKillFiles]
call esi
lea ecx, [ebp - 0x8c]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
call ebx
mov dword [ebp - 4], 0x6d
mov dword [ebp - 4], 0x6e
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xec], 8
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x8c]
call edi
lea edx, [ebp - 0x8c]
push edx
call esi
lea ecx, [ebp - 0x8c]
call ebx
mov dword [ebp - 4], 0x6f
mov dword [ebp - 4], 0x70
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 8
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x8c]
call edi
lea ecx, [ebp - 0x8c]
push ecx
call esi
lea ecx, [ebp - 0x8c]
call ebx
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
wait
push 0x45bc04
jmp 0x45bbca
lea ecx, [ebp - 0x24]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
call esi
lea ecx, [ebp - 0x30]
call esi
lea ecx, [ebp - 0x40]
call esi
lea ecx, [ebp - 0x44]
call esi
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x4c]
call esi
lea edx, [ebp - 0x54]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea ecx, [ebp - 0x64]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0x14
push 0x405a36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x403018
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x6c], esi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
call edi
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
push 1
mov eax, dword [ebp - 0x24]
push eax
push 0x410448
push esi
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
test eax, eax
jne 0x45bcc6
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
call edi
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x45beae
jmp 0x45be98
mov eax, 2
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x6c], 0x4008
lea edx, [ebp - 0x4c]
push edx
push 1
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x5c]
push ecx
mov edi, dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
call edi
lea edx, [ebp - 0x5c]
push edx
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
call ebx
mov edx, eax
lea ecx, [ebp - 0x2c]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call esi
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 0x44], 0x80020004
mov dword [ebp - 0x4c], 0xa
lea edx, [ebp - 0x24]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x6c], 0x4008
lea eax, [ebp - 0x4c]
push eax
push 3
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x5c]
push edx
call edi
lea eax, [ebp - 0x5c]
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x4c]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov edi, dword [sym.imp.MSVBVM60.DLL_rtcReplace]
push 1
mov eax, dword [ebp - 0x20]
push eax
push 0x410448
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
test eax, eax
jle 0x45bda7
push 0
push 0xffffffffffffffff
push 1
push 0x40c848
push 0x410448
mov ecx, dword [ebp - 0x20]
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
jmp 0x45bd71
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x45beae
jmp 0x45be98
lea ecx, [ebp - 0x20]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
call esi
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x2c]
call esi
ret