Function at 0x413870
Capabilities:
Create directory
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467684
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov eax, dword [0x48644c]
push ebx
push esi
push edi
mov esi, ecx
push 0x46e89c
lea ecx, [esp + 0x28]
mov dword [esp + 0x238], eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x14]
xor edi, edi
push eax
mov ecx, esi
mov dword [esp + 0x248], edi
call fcn.004125b0
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x28]
push str._sUsers
push edx
mov byte [esp + 0x250], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push edi
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov ebx, dword [sym.imp.MSVCR71.dll__waccess]
push eax
call ebx
add esp, 8
cmp eax, 0xffffffff
jne 0x413924
push edi
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 + 0x20]
mov dword [esp + 0x1c], edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x248], 2
call fcn.004125b0
mov edi, eax
lea ecx, [esi + 0xb68]
mov byte [esp + 0x244], 3
call fcn.00420d60
mov ecx, dword [edi]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push str._sUsers_I64d
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 2
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor esi, esi
push esi
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call ebx
add esp, 8
cmp eax, 0xffffffff
jne 0x4139bb
push esi
lea ecx, [esp + 0x20]
mov edi, 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x4139bf
mov edi, dword [esp + 0x18]
push 0x46e89c
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x1c]
push 0x470aec
push eax
lea ecx, [esp + 0x18]
push 0x46e4a0
push ecx
mov byte [esp + 0x254], 4
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x10
push esi
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call ebx
add esp, 8
cmp eax, 0xffffffff
je 0x413a11
cmp edi, esi
je 0x413b0a
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 edx, [esp + 0x18]
push edx
mov byte [esp + 0x248], 5
mov dword [esp + 0x1c], esi
call fcn.00422520
push 1
lea eax, [esp + 0x20]
push 0xa
push eax
call fcn.004224f0
push 1
lea ecx, [esp + 0x2c]
push 0xb
push ecx
call fcn.004224f0
mov edx, dword [esp + 0x34]
push edx
lea eax, [esp + 0x34]
push 0x470a64
push eax
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 + 0x244], 4
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 + 0x28], si
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x2a]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], 6
stosw word es:[edi], ax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x104
lea ecx, [esp + 0x30]
push ecx
push 0x46e89c
push str.SavePath
push str.System
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x28]
push 0
push edx
call ebx
add esp, 8
push 0
push 5
lea eax, [esp + 0x30]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push 0x470a34
push edx
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 ebx
add esp, 8
cmp eax, 0xffffffff
jne 0x413bbe
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
add esp, 0x10
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 + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x234]
call fcn.00436153
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret