Function at 0x41c2e0
Capabilities:
Create directory
Get common file path
Get startup folder
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467d40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x870
mov eax, dword [0x48644c]
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x100]
mov dword [esp + 0x874], eax
call fcn.00422640
lea eax, [esp + 0x100]
lea ecx, [ebx + 0x5b8]
push eax
call fcn.00409e20
test eax, eax
je 0x41c8ff
lea edi, [ebx + 0x50]
mov ecx, edi
call fcn.004029b0
lea ecx, [esp + 0x1c]
mov esi, eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0x100]
push ecx
push edx
mov edx, dword [esi]
lea eax, [esp + 0x142]
push eax
mov ecx, esi
mov dword [esp + 0x890], 0
call dword [edx + 0x14]
push eax
lea eax, [esp + 0x2c]
push str._s__s__I64d_
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x18
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov ecx, dword [ebx + 0x44]
push eax
call fcn.0040ae10
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
mov ecx, edi
call fcn.004029e0
mov edx, dword [esp + 0x104]
xor eax, eax
mov ecx, 0x16
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x100]
push 0x14
lea eax, [esp + 0x10c]
mov dword [esp + 0x54], ecx
push eax
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x60], edx
call dword [sym.imp.MSVCR71.dll_wcsncpy]
add esp, 0xc
call fcn.0040ccd0
mov ecx, eax
call fcn.0040cde0
test eax, eax
je 0x41c40c
mov ecx, 8
mov esi, eax
lea edi, [esp + 0x85]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov al, byte [ebx + 0x5b9]
mov dl, byte [ebx + 0x5b8]
mov byte [esp + 0x84], al
xor eax, eax
mov ecx, 0x16
lea edi, [esp + 0xa8]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0xa8]
push ecx
mov byte [esp + 0x86], dl
mov edx, dword [esp + 0x58]
push edx
lea esi, [ebx + 0x100]
push eax
mov ecx, esi
call fcn.00407410
test eax, eax
jne 0x41c8f5
lea eax, [esp + 0x85]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c467
sub eax, edx
setne cl
push 0
lea edx, [esp + 0x54]
mov byte [esp + 0x87], cl
push edx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.004089e0
xor eax, eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
push 0x21
lea ecx, [esp + 0x30]
mov dword [esp + 0x49], eax
push ecx
lea ecx, [ebx + 0x5b8]
mov byte [esp + 0x34], 0
mov dword [esp + 0x51], eax
call fcn.00409d80
lea edx, [esp + 0x100]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.004168c0
test eax, eax
je 0x41c8f5
mov ecx, ebx
call fcn.00412fb0
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x41c4f6
call fcn.0040ae10
jmp 0x41c4f8
xor eax, eax
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0x100]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.00412ee0
push 0x46e89c
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
mov byte [esp + 0x888], 1
call fcn.004125b0
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x28]
push str._sUsers
push edx
mov byte [esp + 0x890], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x884], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push 0
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov esi, dword [sym.imp.MSVCR71.dll__waccess]
push eax
call esi
add esp, 8
cmp eax, 0xffffffff
jne 0x41c593
push 0
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x46e89c
lea ecx, [esp + 0x1c]
xor edi, edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
mov byte [esp + 0x888], 3
call fcn.004125b0
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0x100]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push str._sUsers_I64d
push ecx
mov byte [esp + 0x898], 4
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x884], 3
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push edi
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call esi
add esp, 8
cmp eax, 0xffffffff
jne 0x41c626
push 0
lea ecx, [esp + 0x1c]
mov edi, 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x46e89c
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov edx, dword [esp + 0x18]
push 0x470aec
push edx
lea eax, [esp + 0x18]
push 0x46e4a0
push eax
mov byte [esp + 0x894], 5
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call esi
add esp, 8
cmp eax, 0xffffffff
je 0x41c679
test edi, edi
je 0x41c776
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x470ae8
push str.UseKplayer
push str.Setting
call fcn.00422440
add esp, 0x10
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x470ab8
push str.HotKey
push str.System
call fcn.00422440
add esp, 0x10
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x470ae8
push str.AutoInOutMsg
push str.UserSet
call fcn.00422440
add esp, 0x10
push 0x46e89c
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x888], 6
mov dword [esp + 0x2c], 0
call fcn.00422520
push 1
lea edx, [esp + 0x30]
push 0xa
push edx
call fcn.004224f0
push 1
lea eax, [esp + 0x3c]
push 0xb
push eax
call fcn.004224f0
mov ecx, dword [esp + 0x44]
push ecx
lea edx, [esp + 0x34]
push 0x470a64
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x28
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push str.state
push str.UserSet
call fcn.00422440
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x884], 5
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push 0x46e89c
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov word [esp + 0x668], 0
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x66a]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x884], 7
stosw word es:[edi], ax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x104
lea eax, [esp + 0x670]
push eax
push 0x46e89c
push str.SavePath
push str.System
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x668]
push 0
push ecx
call esi
add esp, 8
push 0
push 5
lea edx, [esp + 0x670]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x668]
push eax
lea ecx, [esp + 0x24]
push 0x470a34
push ecx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
push 0
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call esi
add esp, 8
cmp eax, 0xffffffff
jne 0x41c83e
push 0
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push str.SavePath
push str.System
call fcn.00422440
mov eax, dword [ebx + 0x1c0c]
add esp, 0x10
test eax, eax
je 0x41c89b
mov ecx, dword [ebx + 0x44]
mov esi, dword [eax]
call fcn.0040ae10
mov edx, dword [esp + 0x104]
push eax
mov eax, dword [esp + 0x104]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebx + 0x1c0c]
push eax
call dword [esi + 0x10]
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0x100]
push ecx
push edx
mov ecx, ebx
mov dword [ebx + 0x1c10], 1
call fcn.0041b2e0
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, 1
jmp 0x41c901
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
mov ecx, dword [esp + 0x87c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x874]
call fcn.00436153
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret