Function at 0x4135de
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x402fe6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xd8
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402390
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 - 0x4c], 0xce
mov dword [ebp - 0x54], 2
push 3
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 4
mov dword [ebp - 0x4c], 0xe2
mov dword [ebp - 0x54], 2
push 1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 5
push 0
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x88]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
lea eax, [ebp - 0x88]
push eax
push dword [0x41f198]
push dword [0x41f1b8]
call fcn.0040bcd5
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x88]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 6
mov word [ebp - 0xcc], 0x19
mov word [ebp - 0xc8], 1
and word [ebp - 0x24], 0
jmp 0x41372c
mov ax, word [ebp - 0x24]
add ax, word [ebp - 0xc8]
jo 0x413bd6
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
cmp ax, word [ebp - 0xcc]
jg 0x413af1
mov dword [ebp - 4], 7
movsx eax, word [ebp - 0x24]
mov dword [ebp - 0xf0], eax
fild dword [ebp - 0xf0]
fstp qword [ebp - 0xf8]
fld qword [ebp - 0xf8]
push ecx
push ecx
fstp qword [esp]
fld qword [0x401408]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL___vbaPowerR8
call sub.MSVBVM60.DLL___vbaFpI4
mov ecx, dword [ebp - 0x34]
and ecx, eax
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 4], 8
cmp dword [ebp - 0xd8], 0
je 0x413a88
mov dword [ebp - 4], 9
push dword [0x41f0f0]
push 1
call sub.MSVBVM60.DLL___vbaUbound
mov ecx, eax
call sub.MSVBVM60.DLL___vbaI2I4
mov word [ebp - 0xd4], ax
mov word [ebp - 0xd0], 1
and word [ebp - 0x28], 0
jmp 0x4137e0
mov ax, word [ebp - 0x28]
add ax, word [ebp - 0xd0]
jo 0x413bd6
mov word [ebp - 0x28], ax
mov ax, word [ebp - 0x28]
cmp ax, word [ebp - 0xd4]
jg 0x41394d
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x6c], 0x98
mov dword [ebp - 0x74], 2
mov dword [ebp - 0x5c], 0x21
mov dword [ebp - 0x64], 2
mov dword [ebp - 0x4c], 2
mov dword [ebp - 0x54], 2
push 0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x84]
push eax
call sub.MSVBVM60.DLL_rtcInStrChar
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0xb
movsx eax, word [ebp - 0x28]
push eax
push dword [0x41f0f0]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x413bd6
movsx eax, ax
push eax
call sub.MSVBVM60.DLL_rtcBstrFromAnsi
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0xc4], ax
lea ecx, [ebp - 0x38]
call fcn.004032ce
movsx eax, word [ebp - 0xc4]
test eax, eax
je 0x4138fc
mov dword [ebp - 4], 0xc
or word [ebp - 0x30], 0xffff
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x4c], 0x95
mov dword [ebp - 0x54], 2
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
jmp 0x41394d
mov dword [ebp - 4], 0x10
push 0x938
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_VarPtr
lea ecx, [ebp - 0x38]
call fcn.004032ce
mov dword [ebp - 4], 0x11
mov word [ebp - 0xbc], 0xa5c
lea eax, [ebp - 0xbc]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 4], 0x12
jmp 0x4137cb
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x4c], 0x71
mov dword [ebp - 0x54], 2
push 3
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x14
movsx eax, word [ebp - 0x30]
test eax, eax
jne 0x413a88
mov dword [ebp - 4], 0x15
push 0
push dword [0x41f0f0]
push 1
call sub.MSVBVM60.DLL___vbaUbound
add eax, 1
jo 0x413bd6
push eax
push 1
push 8
push 0x41f0f0
push 4
push 0x180
call sub.MSVBVM60.DLL___vbaRedimPreserve
add esp, 0x1c
mov dword [ebp - 4], 0x16
mov word [ebp - 0xbc], 0x677
lea eax, [ebp - 0xbc]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 4], 0x17
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x413bd6
movsx eax, ax
push eax
call sub.MSVBVM60.DLL_rtcBstrFromAnsi
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
mov esi, eax
push dword [0x41f0f0]
push 1
call sub.MSVBVM60.DLL___vbaUbound
push eax
push dword [0x41f0f0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x38]
call fcn.004032ce
mov dword [ebp - 4], 0x18
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x413bd6
movsx eax, ax
push eax
call sub.MSVBVM60.DLL_rtcBstrFromAnsi
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40411c
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x38]
call fcn.004032ce
jmp 0x413b63
mov dword [ebp - 4], 0x1c
push 0x820
push 0x12bb
call fcn.00403bf0
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1d
mov dword [ebp - 0x4c], 0xe3
mov dword [ebp - 0x54], 2
push 3
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1e
and word [ebp - 0x30], 0
mov dword [ebp - 4], 0x1f
jmp 0x413717
mov dword [ebp - 4], 0x20
push 0
push 0xffffffffffffffff
push 1
push 0x7a
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x9f
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0xd8
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
wait
push 0x413bc4
jmp 0x413bc3
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow