Function at 0x5171d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x412026
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x26c
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4033c0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.00513dd0
mov dword [ebp - 4], 4
cmp word [0x5e02ca], 3
jne 0x5172af
mov dword [ebp - 4], 5
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005036f0
mov word [ebp - 0x14c], ax
mov dword [ebp - 0x154], 0xb
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 6
mov dword [ebp - 0x14c], 0xffffffff
mov dword [ebp - 0x154], 0xb
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
jmp 0x5178c4
mov dword [ebp - 4], 9
xor ecx, ecx
cmp word [0x5e0264], 0xffff
sete cl
neg ecx
mov word [ebp - 0x16c], cx
mov dword [ebp - 0x174], 0xb
mov dword [ebp - 0x14c], 0x64
mov dword [ebp - 0x154], 0x8002
mov dword [ebp - 0x17c], 2
mov dword [ebp - 0x184], 0x8002
mov dword [ebp - 0x19c], 0xa
mov dword [ebp - 0x1a4], 0x8002
mov dword [ebp - 0x1bc], 0xb
mov dword [ebp - 0x1c4], 0x8002
lea edx, [ebp - 0x174]
push edx
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCmpNe]
push eax
lea edx, [ebp - 0xe4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAnd]
push eax
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x194]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebp - 0xf4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCmpNe]
push eax
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAnd]
push eax
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x1b4]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCmpNe]
push eax
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAnd]
push eax
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x1d4]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCmpNe]
push eax
lea edx, [ebp - 0x144]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAnd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
mov word [ebp - 0x1d8], ax
lea ecx, [ebp - 0x174]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx eax, word [ebp - 0x1d8]
test eax, eax
je 0x517447
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x14c], 1
mov dword [ebp - 0x154], 2
lea edx, [ebp - 0x154]
mov ecx, dword [ebp + 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaVargVarMove]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x14c], 0xa
mov dword [ebp - 0x154], 0x8002
mov dword [ebp - 0x16c], 0xb
mov dword [ebp - 0x174], 0x8002
mov dword [ebp - 0x18c], 0x64
mov dword [ebp - 0x194], 0x8002
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCmpEq]
push eax
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x184]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCmpEq]
push eax
lea edx, [ebp - 0xf4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarOr]
push eax
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x1a4]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCmpEq]
push eax
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarOr]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
movsx eax, ax
test eax, eax
je 0x517527
jmp 0x517671
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x14c], 1
mov dword [ebp - 0x154], 0x8002
mov dword [ebp - 0x16c], 2
mov dword [ebp - 0x174], 0x8002
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCmpEq]
push eax
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x184]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCmpEq]
push eax
lea edx, [ebp - 0xf4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarOr]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
movsx eax, ax
test eax, eax
je 0x517617
mov dword [ebp - 4], 0xe
cmp dword [0x5e0224], 0
jne 0x5175e7
push 0x5e0224
push 0x437fbc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x284], 0x5e0224
jmp 0x5175f1
mov dword [ebp - 0x284], 0x5e0224
mov ecx, dword [ebp - 0x284]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x284]
mov ecx, dword [eax]
mov eax, dword [ecx]
push edx
call dword [eax + 0x32c]
push eax
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
jmp 0x517671
mov dword [ebp - 4], 0x10
cmp dword [0x5e0010], 0
jne 0x517643
push 0x5e0010
push 0x433790
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x288], 0x5e0010
jmp 0x51764d
mov dword [ebp - 0x288], 0x5e0010
mov edx, dword [ebp - 0x288]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x288]
mov edx, dword [ecx]
mov ecx, dword [edx]
push eax
call dword [ecx + 0x350]
push eax
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 4], 0x12
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x51768e
jmp 0x5188d8
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x154], 0xb
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x14c], 0x43d2bc
mov dword [ebp - 0x154], 8
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x14c], 0x43d2bc
mov dword [ebp - 0x154], 0x8008
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea ecx, [ebp - 0x154]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
movsx edx, ax
test edx, edx
je 0x5177cf
mov dword [ebp - 4], 0x16
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x154]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
mov edx, eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
mov dword [ebp - 4], 0x17
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
mov dword [ebp - 4], 0x18
mov dword [ebp - 0x14c], 0x43d3a0
mov dword [ebp - 0x154], 0x8008
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x154]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx edx, ax
test edx, edx
je 0x5177b2
mov dword [ebp - 4], 0x19
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x5177b2
jmp 0x517961
mov dword [ebp - 4], 0x1b
lea ecx, [ebp - 0x25c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x5177cf
jmp 0x517afa
mov dword [ebp - 4], 0x1d
mov dword [ebp - 0x14c], 0xb
mov dword [ebp - 0x154], 0x8002
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea edx, [ebp - 0x154]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
movsx eax, ax
test eax, eax
je 0x517897
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x154], 0x8002
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea ecx, [ebp - 0x154]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGe]
movsx edx, ax
test edx, edx
je 0x51787a
mov dword [ebp - 4], 0x1f
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x154]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
push eax
call fcn.0043d8b4
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x21
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaGosub]
test eax, eax
jne 0x517897
jmp 0x5184da
mov dword [ebp - 4], 0x23
mov dword [ebp - 0x14c], 0xffffffff
mov dword [ebp - 0x154], 0xb
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 0x25
mov dword [ebp - 0x14c], 0xbb8
mov dword [ebp - 0x154], 0x8002
push 0
push 0x43ec20
mov ecx, dword [ebp - 0x54]
push ecx
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x10
push eax
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
mov word [ebp - 0x1d8], ax
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx ecx, word [ebp - 0x1d8]
test ecx, ecx
je 0x517941
mov dword [ebp - 4], 0x26
push 0
push 0x43d778
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0xc
mov dword [ebp - 4], 0x28
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVar]
mov word [ebp - 0x88], ax
jmp 0x518bae
mov dword [ebp - 4], 0x2b
xor ecx, ecx
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov byte [ebp - 0x9c], al
mov dword [ebp - 4], 0x2c
lea ecx, [ebp - 0x9c]
push ecx
call fcn.005095a0
mov dword [ebp - 4], 0x2d
push 0x2e
call fcn.0043d8b4
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x2e
mov dword [ebp - 0x14c], 1
mov dword [ebp - 0x154], 2
mov dword [ebp - 0x15c], 0x7d0
mov dword [ebp - 0x164], 2
mov dword [ebp - 0x16c], 1
mov dword [ebp - 0x174], 2
lea edx, [ebp - 0x154]
push edx
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x174]
push ecx
lea edx, [ebp - 0x1f8]
push edx
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarForInit]
mov dword [ebp - 0x274], eax
jmp 0x517a71
mov dword [ebp - 4], 0x2f
mov dword [ebp - 4], 0x30
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov word [ebp - 0x14c], ax
mov dword [ebp - 0x154], 2
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 0x31
lea edx, [ebp - 0x1f8]
push edx
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarForNext]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
jne 0x517a15
mov dword [ebp - 4], 0x32
lea edx, [ebp - 0x98]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00508ae0
mov word [ebp - 0x14c], ax
mov dword [ebp - 0x154], 0xb
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 0x33
mov dword [ebp - 0x14c], 0xffffffff
mov dword [ebp - 0x154], 0xb
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
jmp 0x5178c4
mov dword [ebp - 4], 0x37
mov dword [ebp - 0x1d8], 0
cmp dword [ebp - 0x1d8], 0x401
jae 0x517b23
mov dword [ebp - 0x28c], 0
jmp 0x517b2f
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x28c], eax
lea edx, [ebp - 0x74]
push edx
mov eax, dword [0x5e0334]
add eax, dword [ebp - 0x1d8]
push eax
call fcn.00509440
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x154], 3
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 0x38
mov dword [ebp - 0x14c], 1
mov dword [ebp - 0x154], 2
mov dword [ebp - 0x15c], 3
mov dword [ebp - 0x164], 2
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLenVar]
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
lea edx, [ebp - 0x164]
push edx
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarDiv]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarInt]
mov edx, eax
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0xe4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x39
mov dword [ebp - 0x14c], 1
mov dword [ebp - 0x154], 2
mov dword [ebp - 0x15c], 1
mov dword [ebp - 0x164], 2
lea edx, [ebp - 0x154]
push edx
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x164]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarForInit]
mov dword [ebp - 0x278], eax
jmp 0x518032
mov dword [ebp - 4], 0x3a
mov dword [ebp - 0xfc], 2
mov dword [ebp - 0x104], 2
mov dword [ebp - 0x14c], 1
mov dword [ebp - 0x154], 2
mov dword [ebp - 0x15c], 3
mov dword [ebp - 0x164], 2
mov dword [ebp - 0x16c], 1
mov dword [ebp - 0x174], 2
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarMul]
push eax
lea edx, [ebp - 0x174]
push edx
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0xc0]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharBstr]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x114], 8
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x124]
push ecx
call fcn.004ff590
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaUI1Var]
mov byte [ebp - 0x9c], al
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0xf4]
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
mov dword [ebp - 4], 0x3b
lea ecx, [ebp - 0x9c]
push ecx
call fcn.005095a0
mov dword [ebp - 4], 0x3c
cmp word [0x5e030c], 1
jne 0x517dae
jmp 0x517f1a
mov dword [ebp - 4], 0x3d
cmp word [0x5e030c], 2
jne 0x517dd8
mov dword [ebp - 4], 0x3e
push 5
call fcn.0043d8b4
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x517f1a
mov dword [ebp - 4], 0x3f
cmp word [0x5e02f0], 0xffff
jne 0x517ecc
mov dword [ebp - 4], 0x40
mov dword [ebp - 0x14c], 1
mov dword [ebp - 0x154], 2
mov dword [ebp - 0x15c], 0x3e8
mov dword [ebp - 0x164], 2
mov dword [ebp - 0x16c], 1
mov dword [ebp - 0x174], 2
lea edx, [ebp - 0x154]
push edx
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x174]
push ecx
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarForInit]
mov dword [ebp - 0x27c], eax
jmp 0x517ec1
mov dword [ebp - 4], 0x41
mov dword [ebp - 4], 0x42
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov word [ebp - 0x14c], ax
mov dword [ebp - 0x154], 2
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 0x43
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarForNext]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jne 0x517e65
jmp 0x517f1a
mov dword [ebp - 4], 0x44
cmp word [0x5e027c], 1
jne 0x517ee9
cmp word [0x5e024a], 5
jle 0x517ee9
jmp 0x517f1a
mov dword [ebp - 4], 0x45
cmp word [0x5e027c], 2
je 0x517f04
cmp word [0x5e027c], 4
jne 0x517f06
jmp 0x517f1a
mov dword [ebp - 4], 0x47
push 5
call fcn.0043d8b4
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x49
cmp dword [0x5e0314], 0
je 0x51800d
mov dword [ebp - 4], 0x4a
mov dword [ebp - 0x14c], 1
mov dword [ebp - 0x154], 2
mov edx, dword [0x5e0314]
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x164], 3
mov dword [ebp - 0x16c], 1
mov dword [ebp - 0x174], 2
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x164]
push ecx
lea edx, [ebp - 0x174]
push edx
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarForInit]
mov dword [ebp - 0x280], eax
jmp 0x518004
mov dword [ebp - 4], 0x4b
mov dword [ebp - 4], 0x4c
call dword [sym.imp.MSVBVM60.DLL_rtcDoEvents]
mov word [ebp - 0x14c], ax
mov dword [ebp - 0x154], 2
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 0x4d
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarForNext]
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0
jne 0x517fa8
mov dword [ebp - 4], 0x4f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarForNext]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0
jne 0x517c5c
mov dword [ebp - 4], 0x50
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call fcn.004fd440
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaUI1Var]
mov byte [ebp - 0x9c], al
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x51
lea eax, [ebp - 0x9c]
push eax
call fcn.005095a0
mov dword [ebp - 4], 0x52
mov dword [ebp - 0x14c], 0x43d16c
mov dword [ebp - 0x154], 8
movzx cx, byte [ebp - 0x9c]
push ecx
call fcn.004fea70
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xe4], 8
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0xd4]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x53
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x154], 0x8002
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
movsx ecx, ax
test ecx, ecx
je 0x5184c6
mov dword [ebp - 4], 0x54
mov dword [ebp - 0x14c], 0xa
mov dword [ebp - 0x154], 0x8002
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea edx, [ebp - 0x154]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx eax, ax
test eax, eax
je 0x51819f
jmp 0x51843c
mov dword [ebp - 4], 0x55
mov dword [ebp - 0x14c], 2
mov dword [ebp - 0x154], 0x8002
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea ecx, [ebp - 0x154]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx edx, ax
test edx, edx
je 0x5182d6
mov dword [ebp - 4], 0x56
mov dword [ebp - 0x15c], 0x43eb90
mov dword [ebp - 0x164], 8
mov dword [ebp - 0xcc], 5
mov dword [ebp - 0xd4], 2
lea eax, [ebp - 0xd4]
push eax
push 1
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0xe4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
mov dword [ebp - 0x16c], 0x43eb9c
mov dword [ebp - 0x174], 8
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0xf4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
push 1
push 0x43ebe4
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x1c
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0xf4]
push edx
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xd4]
push ecx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
jmp 0x51843c
mov dword [ebp - 4], 0x57
movsx edx, word [0x5e024a]
test edx, edx
jne 0x518367
mov dword [ebp - 4], 0x58
mov dword [ebp - 0x14c], 0x43eb90
mov dword [ebp - 0x154], 8
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov ecx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
push 1
push 0x43ebe4
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x1c
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
jmp 0x51843c
mov dword [ebp - 4], 0x5a
mov dword [ebp - 0x14c], 0x43eb90
mov dword [ebp - 0x154], 8
mov dword [ebp - 0x15c], 0x43efd8
mov dword [ebp - 0x164], 8
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x174]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea edx, [ebp - 0xf4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov ecx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
push 1
push 0x43ebe4
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x1c
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0xd4]
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 4], 0x5c
mov dword [ebp - 0x14c], 1
mov dword [ebp - 0x154], 2
push 0
push 0x43ec20
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x10
push eax
lea edx, [ebp - 0x154]
push edx
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
mov ecx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
push 0x43ec34
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemSt]
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x5e
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0x60
mov dword [ebp - 0x14c], 0x43d2bc
mov dword [ebp - 0x154], 8
lea edx, [ebp - 0x154]
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MSVBVM60.DLL___vbaVargVarCopy]
mov dword [ebp - 4], 0x61
lea ecx, [ebp - 0x98]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00508ae0
cmp ax, 0xffff
jne 0x5188c4
mov dword [ebp - 4], 0x62
mov dword [ebp - 0x14c], 0xffffffff
mov dword [ebp - 0x154], 0xb
lea edx, [ebp - 0x154]
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 0x63
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x154]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimBstr]
mov edx, eax
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x43d2bc
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg eax
sbb eax, eax
neg eax
neg eax
mov word [ebp - 0x17c], ax
mov dword [ebp - 0x184], 0xb
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x164], 0x8002
lea ecx, [ebp - 0x184]
push ecx
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x174]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea edx, [ebp - 0x164]
push edx
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCmpNe]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAnd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
mov word [ebp - 0x1d8], ax
lea edx, [ebp - 0xc4]
push edx
lea eax, [ebp - 0xc0]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x184]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx ecx, word [ebp - 0x1d8]
test ecx, ecx
je 0x5188c4
mov dword [ebp - 4], 0x64
mov dword [ebp - 0x14c], 0xa
mov dword [ebp - 0x154], 0x8002
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea edx, [ebp - 0x154]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx eax, ax
test eax, eax
je 0x518683
jmp 0x51883a
mov dword [ebp - 4], 0x65
mov dword [ebp - 0x14c], 2
mov dword [ebp - 0x154], 0x8002
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea ecx, [ebp - 0x154]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx edx, ax
test edx, edx
je 0x5187b7
mov dword [ebp - 4], 0x66
mov dword [ebp - 0x15c], 0x43d498
mov dword [ebp - 0x164], 8
mov dword [ebp - 0xcc], 5
mov dword [ebp - 0xd4], 2
lea eax, [ebp - 0xd4]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xe4]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
mov dword [ebp - 0x16c], 0x43eb9c
mov dword [ebp - 0x174], 8
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0xf4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
push 1
push 0x43ebe4
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x1c
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0xf4]
push edx
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xd4]
push ecx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
jmp 0x51883a
mov dword [ebp - 4], 0x68
mov dword [ebp - 0x14c], 0x43d498
mov dword [ebp - 0x154], 8
lea edx, [ebp - 0x154]
push edx
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov ecx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
push 1
push 0x43ebe4
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x1c
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x6a
mov dword [ebp - 0x14c], 1
mov dword [ebp - 0x154], 2
push 0
push 0x43ec20
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x10
push eax
lea edx, [ebp - 0x154]
push edx
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
mov ecx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
push 0x43ec34
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemSt]
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x6d
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
mov dword [ebp - 4], 0x6f
cmp word [0x5e02ca], 1
jne 0x5188f9
mov dword [ebp - 4], 0x70
mov word [0x5e0254], 0x50
mov dword [ebp - 4], 0x72
mov dword [ebp - 0x14c], 0x3e8
mov dword [ebp - 0x154], 0x8002
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea ecx, [ebp - 0x154]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
movsx edx, ax
test edx, edx
je 0x5189ee
mov dword [ebp - 4], 0x73
mov dword [ebp - 0x14c], 0x3e8
mov dword [ebp - 0x154], 2
mov eax, dword [0x5e025c]
mov dword [ebp - 0x16c], eax
mov ecx, dword [0x5e0260]
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x174], 5
mov dx, word [0x5e0254]
mov word [ebp - 0x17c], dx
mov dword [ebp - 0x184], 2
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
push eax
lea edx, [ebp - 0x174]
push edx
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
push eax
lea ecx, [ebp - 0x184]
push ecx
lea edx, [ebp - 0xf4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
mov edx, eax
mov ecx, dword [ebp + 0x10]
call dword [sym.imp.MSVBVM60.DLL___vbaVargVarMove]
jmp 0x518aa7
mov dword [ebp - 4], 0x75
mov dword [ebp - 0x14c], 0x1e
mov dword [ebp - 0x154], 2
mov ax, word [0x5e0254]
mov word [ebp - 0x16c], ax
mov dword [ebp - 0x174], 2
mov ecx, dword [0x5e025c]
mov dword [ebp - 0x17c], ecx
mov edx, dword [0x5e0260]
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x184], 5
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarMul]
push eax
lea edx, [ebp - 0x174]
push edx
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
lea ecx, [ebp - 0x184]
push ecx
lea edx, [ebp - 0xf4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
mov edx, eax
mov ecx, dword [ebp + 0x10]
call dword [sym.imp.MSVBVM60.DLL___vbaVargVarMove]
lea ecx, [ebp - 0xe4]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x77
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x154]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarInt]
mov edx, eax
mov ecx, dword [ebp + 0x10]
call dword [sym.imp.MSVBVM60.DLL___vbaVargVarMove]
mov dword [ebp - 4], 0x78
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x154], 0x8002
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea ecx, [ebp - 0x154]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstLe]
movsx edx, ax
test edx, edx
je 0x518b3f
mov dword [ebp - 4], 0x79
mov dword [ebp - 0x14c], 0xa
mov dword [ebp - 0x154], 2
lea edx, [ebp - 0x154]
mov ecx, dword [ebp + 0x10]
call dword [sym.imp.MSVBVM60.DLL___vbaVargVarMove]
mov dword [ebp - 4], 0x7b
cmp word [0x5e02ca], 2
jne 0x518b9a
mov dword [ebp - 4], 0x7c
mov dword [ebp - 0x14c], 0x64
mov dword [ebp - 0x154], 2
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x164]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
mov edx, eax
mov ecx, dword [ebp + 0x10]
call dword [sym.imp.MSVBVM60.DLL___vbaVargVarMove]
mov dword [ebp - 4], 0x7e
lea edx, [ebp - 0x25c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaGosubReturn]
wait
push 0x518cca
jmp 0x518c13
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x1f8]
push ecx
lea edx, [ebp - 0x1e8]
push edx
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x24
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaGosubFree]
ret