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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47d9ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov eax, dword [0x4ac3b8]
push ebx
mov dword [esp + 0x224], eax
cmp dword [ebp + 0xc], 2
push esi
push edi
jg 0x4036fe
mov esi, dword [ebp + 8]
jl 0x40344b
cmp esi, 0x540be400
jae 0x4036fe
push 0x488000
lea ecx, [esp + 0x14]
xor ebx, ebx
xor edi, edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x240], ebx
call fcn.00405620
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
push ecx
push esi
push edx
lea eax, [esp + 0x20]
push str._sUsers_I64d
push eax
mov byte [esp + 0x254], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x18
lea ecx, [esp + 0x18]
mov byte [esp + 0x23c], bl
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push ebx
lea ecx, [esp + 0x14]
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 0x4034d6
push ebx
lea ecx, [esp + 0x14]
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 0x488000
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
mov ecx, dword [esp + 0x10]
push str.UserConfig.ini
push ecx
lea edx, [esp + 0x14]
push 0x48846c
push edx
mov byte [esp + 0x24c], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x10
push ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call esi
add esp, 8
cmp eax, 0xffffffff
je 0x403528
cmp edi, ebx
je 0x4035ff
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x488464
push str.HotKey
push str.System
call fcn.0044a060
add esp, 0x10
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x488350
push str.AutoInOutMsg
push str.UserSet
call fcn.0044a060
add esp, 0x10
push 0x488000
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x240], 3
mov dword [esp + 0x20], ebx
call fcn.0044dd30
push 1
lea ecx, [esp + 0x24]
push 0xa
push ecx
call fcn.0044dcd0
push 1
lea edx, [esp + 0x30]
push 0xb
push edx
call fcn.0044dcd0
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
push 0x488410
push ecx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x28
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push str.state
push str.UserSet
call fcn.0044a060
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x23c], 2
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push 0x488000
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
mov word [esp + 0x20], bx
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x22]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x23c], 4
stosw word es:[edi], ax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push 0x104
lea edx, [esp + 0x28]
push edx
push 0x488000
push str.SavePath
push str.System
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x20]
push ebx
push eax
call esi
add esp, 8
cmp eax, 0xffffffff
jne 0x4036e0
push ebx
push 5
lea ecx, [esp + 0x28]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4883e8
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push 0x4883d8
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x10
push ebx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call esi
add esp, 8
cmp eax, 0xffffffff
jne 0x4036b8
push ebx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [esp + 0xc]
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.SavePath
push str.System
call fcn.0044a060
add esp, 0x10
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x22c]
call fcn.0045015b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8