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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450bf4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov eax, dword [0x46b378]
push ebx
push esi
push edi
mov esi, ecx
push 0x456e0c
lea ecx, [esp + 0x28]
mov dword [esp + 0x238], eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp + 0x14]
xor edi, edi
push eax
mov ecx, esi
mov dword [esp + 0x248], edi
call fcn.00412f10
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 0x414834
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 0x456e0c
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x248], 2
call fcn.00412f10
mov edi, eax
lea ecx, [esi + 0xb78]
mov byte [esp + 0x244], 3
call fcn.0041dee0
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 0x4148cb
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 0x4148cf
mov edi, dword [esp + 0x18]
push 0x456e0c
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [esp + 0x1c]
push 0x458e4c
push eax
lea ecx, [esp + 0x18]
push 0x456a30
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 0x414921
cmp edi, esi
je 0x414a1a
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x458e48
push str.UseKplayer
push str.Setting
call fcn.0041f5e0
add esp, 0x10
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x458e18
push str.HotKey
push str.System
call fcn.0041f5e0
add esp, 0x10
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x458e48
push str.AutoInOutMsg
push str.UserSet
call fcn.0041f5e0
add esp, 0x10
push 0x456e0c
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x248], 5
mov dword [esp + 0x1c], esi
call fcn.0041f6c0
push 1
lea eax, [esp + 0x20]
push 0xa
push eax
call fcn.0041f690
push 1
lea ecx, [esp + 0x2c]
push 0xb
push ecx
call fcn.0041f690
mov edx, dword [esp + 0x34]
push edx
lea eax, [esp + 0x34]
push 0x458d44
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.0041f5e0
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 4
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push 0x456e0c
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
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 0x456e0c
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 0x458d9c
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 0x414ace
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.0041f5e0
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.004225d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret