Function at 0x4133b2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4031c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xdc
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402328
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
mov dword [ebp - 0x9c], 0x403d34
mov dword [ebp - 0xa4], 8
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0x60]
push eax
push 0xff
call sub.MSVBVM60.DLL_rtcStringBstr
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 4
push 0x127
push 0x7e7
call fcn.00403c88
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 5
mov word [ebp - 0xd8], 0x101d
lea eax, [ebp - 0xd8]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 4], 6
push 0
push 1
push 1
push 0
lea eax, [ebp - 0x94]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov word [ebp - 0xd8], 0xff
lea eax, [ebp - 0xd8]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 3
lea esi, [ebp - 0xa4]
push 0
push dword [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb4], 3
lea esi, [ebp - 0xb4]
push 1
push dword [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x94]
push eax
push dword [0x421194]
push dword [0x4211b8]
call fcn.0040cae3
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x94]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 7
mov dword [ebp - 0x78], 0xee
mov dword [ebp - 0x80], 2
mov dword [ebp - 0x68], 6
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x58], 3
mov dword [ebp - 0x60], 2
push 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x90]
push eax
call sub.MSVBVM60.DLL_rtcInStrChar
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 8
mov dword [ebp - 0xe8], 0x64
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0x2c], 1
jmp 0x4135f2
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0xe4]
jo 0x413bed
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0xe8]
jg 0x413b6b
mov dword [ebp - 4], 9
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 0x4008
push 1
push dword [ebp - 0x4c]
push 0x403d34
push 0
call sub.MSVBVM60.DLL___vbaInStr
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x60]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
mov dword [ebp - 0xac], 0x403d34
mov dword [ebp - 0xb4], 0x8008
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xb4]
push eax
call sub.MSVBVM60.DLL___vbaVarTstEq
mov word [ebp - 0xe0], ax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaFreeVar
movsx eax, word [ebp - 0xe0]
test eax, eax
je 0x413680
jmp 0x413b6b
mov dword [ebp - 4], 0xc
push 1
push dword [ebp - 0x4c]
push 0x403d34
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub eax, 1
jo 0x413bed
push eax
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL_rtcLeftCharBstr
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0xd
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x94]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push dword [ebp - 0x40]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 3
lea esi, [ebp - 0xa4]
push 0
push dword [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x94]
push eax
push dword [0x42118c]
push dword [0x4211b8]
call fcn.0040cae3
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x94]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
cmp dword [ebp - 0xdc], 2
jne 0x413aa4
mov dword [ebp - 4], 0xe
push 0
push 3
push 1
push 0
lea eax, [ebp - 0x94]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push dword [ebp - 0x40]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 3
lea esi, [ebp - 0xa4]
push 0
push dword [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb4], 3
lea esi, [ebp - 0xb4]
push 1
push dword [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x28]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc4], 3
lea esi, [ebp - 0xc4]
push 2
push dword [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x48]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xd4], 3
lea esi, [ebp - 0xd4]
push 3
push dword [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x94]
push eax
push dword [0x421190]
push dword [0x4211b8]
call fcn.0040cae3
lea eax, [ebp - 0x94]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0xf
push dword [ebp - 0x44]
push dword [ebp - 0x48]
fldz
call sub.MSVBVM60.DLL___vbaFpCmpCy
test eax, eax
je 0x4138e2
mov dword [ebp - 4], 0x10
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x4138d2
mov dword [ebp - 4], 0x11
lea eax, [ebp - 0x40]
push eax
call fcn.004181d4
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x58], 0xac
mov dword [ebp - 0x60], 2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
jmp 0x4138e2
mov dword [ebp - 4], 0x14
lea eax, [ebp - 0x40]
push eax
call fcn.0040fe6c
mov dword [ebp - 4], 0x17
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x94]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push dword [ebp - 0x40]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 3
lea esi, [ebp - 0xa4]
push 0
push dword [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x94]
push eax
push dword [0x42118c]
push dword [0x4211b8]
call fcn.0040cae3
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x94]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
cmp dword [ebp - 0xdc], 4
jne 0x413aa4
mov dword [ebp - 4], 0x18
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x4139f8
mov dword [ebp - 4], 0x19
push 0x18c4
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_VarPtr
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x58], 0x29
mov dword [ebp - 0x60], 2
push 1
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1b
lea eax, [ebp - 0x40]
push eax
call fcn.004181d4
jmp 0x413aa4
mov dword [ebp - 4], 0x1d
mov dword [ebp - 0x78], 0x85
mov dword [ebp - 0x80], 2
mov dword [ebp - 0x68], 0xeb
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x60], 2
push 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x90]
push eax
call sub.MSVBVM60.DLL_rtcInStrChar
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0x58], 0xb8
mov dword [ebp - 0x60], 2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1f
lea eax, [ebp - 0x40]
push eax
call fcn.0040fe6c
mov dword [ebp - 4], 0x23
mov dword [ebp - 0x58], 0xab
mov dword [ebp - 0x60], 2
push 1
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x24
mov word [ebp - 0xd8], 0xad6
lea eax, [ebp - 0xd8]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 4], 0x25
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 0x4008
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaLenBstr
mov esi, eax
push 1
push dword [ebp - 0x4c]
push 0x403d34
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub esi, eax
jo 0x413bed
push esi
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x60]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x60]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x26
jmp 0x4135e0
mov dword [ebp - 4], 0x27
mov word [ebp - 0xd8], 0x1266
lea eax, [ebp - 0xd8]
push eax
call sub.MSVBVM60.DLL_VarPtr
wait
push 0x413bdc
jmp 0x413bc3
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow