Function at 0x417bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403306
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xa4
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4026f0
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
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [0x4261c4]
push edx
mov eax, dword [0x4261e4]
push eax
call fcn.0040f8f0
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x5c]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 4
mov word [ebp - 0x88], 0x19
mov word [ebp - 0x84], 1
mov word [ebp - 0x24], 0
jmp 0x417c98
mov ax, word [ebp - 0x24]
add ax, word [ebp - 0x84]
jo 0x41829a
mov word [ebp - 0x24], ax
mov cx, word [ebp - 0x24]
cmp cx, word [ebp - 0x88]
jg 0x4181f1
mov dword [ebp - 4], 5
movsx edx, word [ebp - 0x24]
mov dword [ebp - 0xac], edx
fild dword [ebp - 0xac]
fstp qword [ebp - 0xb4]
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
push 0x40000000
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPowerR8]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov edx, dword [ebp - 0x34]
and edx, eax
mov dword [ebp - 0x94], edx
mov dword [ebp - 4], 6
cmp dword [ebp - 0x94], 0
je 0x418123
mov dword [ebp - 4], 7
mov eax, dword [0x42611c]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [ebp - 0x90], ax
mov word [ebp - 0x8c], 1
mov word [ebp - 0x28], 0
jmp 0x417d50
mov cx, word [ebp - 0x28]
add cx, word [ebp - 0x8c]
jo 0x41829a
mov word [ebp - 0x28], cx
mov dx, word [ebp - 0x28]
cmp dx, word [ebp - 0x90]
jg 0x417f54
mov dword [ebp - 4], 8
push 0x40644000
push 0
call dword [sym.imp.MSVBVM60.DLL_rtcCos]
fstp qword [ebp - 0x78]
mov dword [ebp - 4], 9
push 0x40604000
push 0
call dword [sym.imp.MSVBVM60.DLL_rtcExp]
fstp qword [ebp - 0x78]
mov dword [ebp - 4], 0xa
cmp dword [0x42611c], 0
je 0x417ded
mov eax, dword [0x42611c]
cmp word [eax], 1
jne 0x417ded
movsx ecx, word [ebp - 0x28]
mov edx, dword [0x42611c]
sub ecx, dword [edx + 0x14]
mov dword [ebp - 0x7c], ecx
mov eax, dword [0x42611c]
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [eax + 0x10]
jae 0x417dd3
mov dword [ebp - 0xb8], 0
jmp 0x417ddf
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0x7c]
shl edx, 2
mov dword [ebp - 0xbc], edx
jmp 0x417df9
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xbc], eax
mov eax, dword [0x42611c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0xbc]
mov eax, dword [ecx + edx]
push eax
mov cx, word [ebp - 0x24]
add cx, 0x41
jo 0x41829a
movsx edx, cx
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcBstrFromAnsi]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x80], ax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x80]
test eax, eax
je 0x417f04
mov dword [ebp - 4], 0xb
mov word [ebp - 0x30], 0xffff
mov dword [ebp - 4], 0xc
push 0x40658000
push 0
call dword [sym.imp.MSVBVM60.DLL_rtcTan]
fstp qword [ebp - 0x78]
jmp 0x417f54
mov dword [ebp - 4], 0x12
push 0x40570000
push 0
call dword [sym.imp.MSVBVM60.DLL_rtcAtn]
fstp qword [ebp - 0x78]
mov dword [ebp - 4], 0x13
push 0x9c
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcAnsiValueBstr]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x14
jmp 0x417d3b
mov dword [ebp - 4], 0x15
movsx ecx, word [ebp - 0x30]
test ecx, ecx
jne 0x41810c
mov dword [ebp - 4], 0x16
push 0x2a
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcCharValueBstr]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x17
mov dword [ebp - 0x40], 0x69
mov dword [ebp - 0x48], 2
push 0
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcRound]
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x48]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x18
push 0
mov eax, dword [0x42611c]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
add eax, 1
jo 0x41829a
push eax
push 1
push 8
push 0x42611c
push 4
push 0x180
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
add esp, 0x1c
mov dword [ebp - 4], 0x19
cmp dword [0x42611c], 0
je 0x41806e
mov ecx, dword [0x42611c]
cmp word [ecx], 1
jne 0x41806e
mov edx, dword [0x42611c]
push edx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov ecx, dword [0x42611c]
sub eax, dword [ecx + 0x14]
mov dword [ebp - 0x7c], eax
mov edx, dword [0x42611c]
mov eax, dword [ebp - 0x7c]
cmp eax, dword [edx + 0x10]
jae 0x418054
mov dword [ebp - 0xc0], 0
jmp 0x418060
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0x7c]
shl ecx, 2
mov dword [ebp - 0xc4], ecx
jmp 0x41807a
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xc4], eax
mov dx, word [ebp - 0x24]
add dx, 0x41
jo 0x41829a
movsx eax, dx
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcBstrFromAnsi]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
mov ecx, dword [0x42611c]
mov ecx, dword [ecx + 0xc]
add ecx, dword [ebp - 0xc4]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x1a
mov dx, word [ebp - 0x24]
add dx, 0x41
jo 0x41829a
movsx eax, dx
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcBstrFromAnsi]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x404ed0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
jmp 0x418241
mov dword [ebp - 4], 0x1d
push 0x40420000
push 0
call dword [sym.imp.MSVBVM60.DLL_rtcSqr]
fstp qword [ebp - 0x78]
mov dword [ebp - 4], 0x1f
push 0x40672000
push 0
call dword [sym.imp.MSVBVM60.DLL_rtcAtn]
fstp qword [ebp - 0x78]
mov dword [ebp - 4], 0x20
push 0xff
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcCharValueBstr]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x21
mov word [ebp - 0x30], 0
mov dword [ebp - 4], 0x22
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcCommandVar]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x23
push 0x61
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcCharValueBstr]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x24
push 0xc6
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcCharValueBstr]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x25
jmp 0x417c83
mov dword [ebp - 4], 0x26
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcCommandVar]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x27
mov dword [ebp - 0x40], 0xce
mov dword [ebp - 0x48], 2
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
wait
push 0x418286
jmp 0x418285
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]