Function at 0x41d260
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403456
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], 0x402eb8
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.00414b10
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 0x41d338
mov ax, word [ebp - 0x24]
add ax, word [ebp - 0x84]
jo 0x41d89a
mov word [ebp - 0x24], ax
mov cx, word [ebp - 0x24]
cmp cx, word [ebp - 0x88]
jg 0x41d7c5
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 0x41d71a
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 0x41d3f0
mov cx, word [ebp - 0x28]
add cx, word [ebp - 0x8c]
jo 0x41d89a
mov word [ebp - 0x28], cx
mov dx, word [ebp - 0x28]
cmp dx, word [ebp - 0x90]
jg 0x41d514
mov dword [ebp - 4], 8
cmp dword [0x42611c], 0
je 0x41d45f
mov eax, dword [0x42611c]
cmp word [eax], 1
jne 0x41d45f
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 0x41d445
mov dword [ebp - 0xb8], 0
jmp 0x41d451
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 0x41d46b
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 0x41d89a
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 0x41d508
mov dword [ebp - 4], 9
mov word [ebp - 0x2c], 0xffff
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 0x48], 2
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcLeftTrimVar]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
jmp 0x41d514
mov dword [ebp - 4], 0xd
jmp 0x41d3db
mov dword [ebp - 4], 0xe
movsx edx, word [ebp - 0x2c]
test edx, edx
jne 0x41d71a
mov dword [ebp - 4], 0xf
push 0
mov eax, dword [0x42611c]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
add eax, 1
jo 0x41d89a
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], 0x10
cmp dword [0x42611c], 0
je 0x41d5cc
mov ecx, dword [0x42611c]
cmp word [ecx], 1
jne 0x41d5cc
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 0x41d5b2
mov dword [ebp - 0xc0], 0
jmp 0x41d5be
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 0x41d5d8
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xc4], eax
mov dx, word [ebp - 0x24]
add dx, 0x41
jo 0x41d89a
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], 0x11
push 0xe7
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_rtcByteValueBstr]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x40], 0x55
mov dword [ebp - 0x48], 2
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
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], 0x13
mov dword [ebp - 0x40], 0x29
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
mov dword [ebp - 4], 0x14
mov cx, word [ebp - 0x24]
add cx, 0x41
jo 0x41d89a
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
push 0x404938
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x15
push 0x40674000
push 0
call dword [sym.imp.MSVBVM60.DLL_rtcCos]
fstp qword [ebp - 0x78]
jmp 0x41d841
mov dword [ebp - 4], 0x19
mov word [ebp - 0x2c], 0
mov dword [ebp - 4], 0x1a
push 0xa5
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], 0x1b
push 0xa1
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], 0x1c
mov dword [ebp - 0x40], 0x89
mov dword [ebp - 0x48], 2
push 1
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x1d
jmp 0x41d323
mov dword [ebp - 4], 0x1e
push 0x406ea000
push 0
call dword [sym.imp.MSVBVM60.DLL_rtcSqr]
fstp qword [ebp - 0x78]
mov dword [ebp - 4], 0x1f
mov dword [ebp - 0x40], 0x6a
mov dword [ebp - 0x48], 2
push 0
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcRound]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x20
push 0xaa
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]
wait
push 0x41d886
jmp 0x41d885
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]