Function at 0x418d00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4042f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xbc
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x403048
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
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 4
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 5
mov dword [ebp - 0x7c], 0x40592c
mov dword [ebp - 0x84], 8
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea eax, [ebp - 0x60]
push eax
push 0xff
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcStringVar]
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 6
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 7
mov edx, dword [0x428190]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 8
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 9
push 0
push 1
push 1
push 0
lea edx, [ebp - 0x74]
push edx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov word [ebp - 0xb8], 0xff
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 3
lea edx, [ebp - 0x84]
mov ecx, dword [ebp - 0x74]
xor eax, eax
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 3
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x74]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [0x42807c]
push edx
mov eax, dword [ebp - 0x50]
push eax
call fcn.00411e20
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0x74]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xa
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0xb
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0xc8], 0x64
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0x2c], 1
jmp 0x418f4a
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0xc4]
jo 0x41975a
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0xc8]
jg 0x4196e6
mov dword [ebp - 4], 0xd
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0xe
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0xf
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x10
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x11
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x12
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x84], 0x4008
push 1
mov eax, dword [ebp - 0x4c]
push eax
push 0x40592c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
push eax
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
mov dword [ebp - 0x8c], 0x40592c
mov dword [ebp - 0x94], 0x8008
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov word [ebp - 0xc0], ax
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx edx, word [ebp - 0xc0]
test edx, edx
je 0x41903e
jmp 0x4196e6
mov dword [ebp - 4], 0x15
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x16
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x17
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x18
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x19
push 1
mov eax, dword [ebp - 0x4c]
push eax
push 0x40592c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
sub eax, 1
jo 0x41975a
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharBstr]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x1a
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x1b
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x1c
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x1d
push 0
push 0
push 1
push 0
lea edx, [ebp - 0x74]
push edx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 3
lea edx, [ebp - 0x84]
mov ecx, dword [ebp - 0x74]
xor eax, eax
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x74]
push edx
mov eax, dword [0x428054]
push eax
mov ecx, dword [0x428190]
push ecx
call fcn.00411e20
mov dword [ebp - 0xbc], eax
lea edx, [ebp - 0x74]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
cmp dword [ebp - 0xbc], 2
jne 0x419644
mov dword [ebp - 4], 0x1e
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x1f
push 0
push 3
push 1
push 0
lea eax, [ebp - 0x74]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 3
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x74]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 3
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x74]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 3
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 0x74]
mov ecx, 2
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb4], 3
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x74]
mov ecx, 3
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [0x428058]
push edx
mov eax, dword [0x428190]
push eax
call fcn.00411e20
lea ecx, [ebp - 0x74]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov dword [ebp - 4], 0x20
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x21
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
fld qword [0x4031b0]
call dword [sym.imp.MSVBVM60.DLL___vbaFpCmpCy]
test eax, eax
je 0x41946c
mov dword [ebp - 4], 0x22
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x23
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x24
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x25
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x26
mov ecx, dword [ebp + 8]
cmp word [ecx], 0xffff
jne 0x4193a8
mov dword [ebp - 4], 0x27
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x28
lea edx, [ebp - 0x40]
push edx
call fcn.004210f0
mov dword [ebp - 4], 0x29
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x419430
mov dword [ebp - 4], 0x2b
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x2c
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x2d
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x2e
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x2f
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x30
lea eax, [ebp - 0x40]
push eax
call fcn.00412e40
mov dword [ebp - 4], 0x31
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x33
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x34
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x35
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x37
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x38
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x39
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x74]
push ecx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 3
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x74]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [0x428054]
push edx
mov eax, dword [0x428190]
push eax
call fcn.00411e20
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0x74]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
cmp dword [ebp - 0xbc], 4
jne 0x41961c
mov dword [ebp - 4], 0x3a
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x3b
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x3c
mov edx, dword [ebp + 8]
cmp word [edx], 0xffff
jne 0x419594
mov dword [ebp - 4], 0x3d
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x3e
lea eax, [ebp - 0x40]
push eax
call fcn.004210f0
mov dword [ebp - 4], 0x3f
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x419608
mov dword [ebp - 4], 0x41
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x42
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x43
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x44
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x45
lea ecx, [ebp - 0x40]
push ecx
call fcn.00412e40
mov dword [ebp - 4], 0x46
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x48
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x4a
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x4b
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x4d
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x4e
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x84], 0x4008
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov esi, eax
push 1
mov ecx, dword [ebp - 0x4c]
push ecx
push 0x40592c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
sub esi, eax
jo 0x41975a
push esi
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcRightCharVar]
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x4f
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x50
jmp 0x418f38
mov dword [ebp - 4], 0x51
push 0
call fcn.004054dc
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
wait
push 0x419747
jmp 0x419722
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]