Function at 0x417ea0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401c66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401828
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x54], ebx
call esi
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call esi
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x2c]
call esi
mov eax, dword [ebp - 0x2c]
push eax
push 0x403f58
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
jne 0x417f44
call fcn.00418230
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
push 0x4047b8
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
jmp 0x417f4a
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x3c], ebx
push ecx
push 0x100
mov dword [ebp - 0x44], 2
call dword [sym.imp.MSVBVM60.DLL_rtcStringBstr]
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
push edx
mov edx, dword [ebp - 0x18]
push 0x100
push eax
push 0x403f58
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
mov edi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov eax, dword [ebp - 0x28]
push 1
push eax
push ebx
call dword [sym.imp.MSVBVM60.DLL_rtcBstrFromAnsi]
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaInStrB]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
lea ecx, [ebp - 0x34]
mov ebx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov edx, dword [ebp - 0x28]
movsx ecx, bx
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcLeftBstr]
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
test edi, edi
jle 0x41804d
mov esi, dword [ebp + 0x10]
push esi
call dword [sym.imp.MSVBVM60.DLL_rtcVarType]
cmp eax, 0xb
jne 0x418020
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolStr]
lea edx, [ebp - 0x54]
mov ecx, esi
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x54], 0xb
call dword [sym.imp.MSVBVM60.DLL___vbaVargVarMove]
mov dword [ebp - 0x30], 0xffffffff
push 0x41808e
jmp 0x41806e
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcTrimBstr]
lea edx, [ebp - 0x44]
mov ecx, esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVargVarMove]
mov dword [ebp - 0x30], 0xffffffff
push 0x41808e
jmp 0x41806e
mov dword [ebp - 0x30], 0
push 0x41808e
jmp 0x41806e
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x2c]
call esi
ret