Function at 0x422260
Capabilities:
Create directory
Get process heap flags
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x480acd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x4ac3b8]
push ebx
push ebp
push esi
push edi
push 1
mov dword [esp + 0x58], eax
mov esi, ecx
call sub.MFC71U.DLL_CDataSourceControl::UpdateCursor
call fcn.004460a0
mov ebx, eax
mov ecx, ebx
call fcn.00444770
lea ecx, [esp + 0x14]
mov edi, eax
mov ebp, edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x64], 0
call fcn.00405620
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x1c]
push str._sUsers
push edx
mov byte [esp + 0x70], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push 0
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 eax, [esp + 0x18]
push eax
call fcn.00405620
mov ecx, dword [eax]
push ebp
push edi
push ecx
lea edx, [esp + 0x24]
push str._sUsers_I64d
push edx
mov byte [esp + 0x78], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x18
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push 0
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 eax, [esp + 0x18]
push eax
call fcn.00405620
mov ecx, dword [eax]
push str.UserConfig.ini
push ebp
push edi
push ecx
lea edx, [esp + 0x28]
push str._sUsers_I64d_s
push edx
mov byte [esp + 0x7c], 3
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x1c
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
xor ebp, ebp
push ebp
push str.state
push str.UserSet
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebp
mov dword [esp + 0x10], eax
jne 0x4223b0
lea eax, [esp + 0x10]
push eax
call fcn.0044dd30
add esp, 4
mov edi, dword [esi + 0x618]
xor ecx, ecx
cmp edi, ebp
sete cl
lea edx, [esp + 0x10]
push ecx
push 4
push edx
call fcn.0044dcd0
mov edx, dword [esi + 0x61c]
xor eax, eax
cmp edx, ebp
sete al
lea ecx, [esp + 0x1c]
push eax
push 6
push ecx
call fcn.0044dcd0
mov eax, dword [esi + 0x620]
xor edx, edx
cmp eax, ebp
sete dl
lea eax, [esp + 0x28]
push edx
push 5
push eax
call fcn.0044dcd0
mov edi, dword [esi + 0x624]
xor ecx, ecx
cmp edi, ebp
sete cl
lea edx, [esp + 0x34]
push ecx
push 3
push edx
call fcn.0044dcd0
mov edx, dword [esi + 0x62c]
xor eax, eax
cmp edx, ebp
sete al
lea ecx, [esp + 0x40]
push eax
push 8
push ecx
call fcn.0044dcd0
mov edx, dword [esi + 0x628]
push edx
lea eax, [esp + 0x50]
push 9
push eax
call fcn.0044dcd0
mov edi, dword [esi + 0x630]
add esp, 0x48
xor ecx, ecx
cmp edi, ebp
sete cl
lea edx, [esp + 0x10]
push ecx
push 0xd
push edx
call fcn.0044dcd0
mov edx, dword [esi + 0x634]
xor eax, eax
cmp edx, ebp
sete al
lea ecx, [esp + 0x1c]
push eax
push 0x15
push ecx
call fcn.0044dcd0
add esp, 0x18
mov ecx, ebx
call fcn.00444ae0
mov dword [esp + 0x20], edx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], eax
call fcn.00444c10
mov edi, eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00443f20
add esp, 0xc
test al, al
jne 0x422593
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.00443f30
add esp, 8
test al, al
jne 0x422593
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call fcn.00444210
add esp, 8
test al, al
jne 0x422593
cmp edi, 3
je 0x422593
mov eax, dword [esp + 0x10]
push 0x11
push eax
call fcn.0044dcb0
mov ecx, dword [esi + 0x648]
add esp, 8
neg eax
sbb eax, eax
inc eax
cmp ecx, eax
jne 0x42256c
mov ecx, dword [esp + 0x10]
push 0x12
push ecx
call fcn.0044dcb0
mov ecx, dword [esi + 0x63c]
add esp, 8
neg eax
sbb eax, eax
neg eax
cmp ecx, eax
jne 0x42256c
mov edx, dword [esp + 0x10]
push 0xc
push edx
call fcn.0044dcb0
mov ecx, dword [esi + 0x640]
add esp, 8
neg eax
sbb eax, eax
neg eax
cmp ecx, eax
jne 0x42256c
mov eax, dword [esp + 0x10]
push 0x14
push eax
call fcn.0044dcb0
mov ecx, dword [esi + 0x644]
add esp, 8
neg eax
sbb eax, eax
neg eax
cmp ecx, eax
je 0x422593
push 0x30
push 0x48838c
push 0x48f32c
mov ecx, esi
call sub.MFC71U.DLL_COlePropertyPage::MessageBoxW
mov ecx, 0x4acee8
call fcn.004026e0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xbc]
mov edx, dword [esi + 0x648]
xor eax, eax
cmp edx, ebp
sete al
lea ecx, [esp + 0x10]
push eax
push 0x11
push ecx
call fcn.0044dcd0
mov edx, dword [esi + 0x63c]
push edx
lea eax, [esp + 0x20]
push 0x12
push eax
call fcn.0044dcd0
mov ecx, dword [esi + 0x640]
push ecx
lea edx, [esp + 0x2c]
push 0xc
push edx
call fcn.0044dcd0
mov eax, dword [esi + 0x644]
push eax
lea ecx, [esp + 0x38]
push 0x14
push ecx
call fcn.0044dcd0
mov edx, dword [esi + 0xae8]
push edx
lea eax, [esp + 0x44]
push 0x1a
push eax
call fcn.0044dcd0
mov edi, dword [esi + 0xadc]
xor ecx, ecx
cmp edi, ebp
sete cl
lea edx, [esp + 0x4c]
push ecx
push 0x16
push edx
call fcn.0044dcd0
mov edi, dword [esi + 0xae0]
add esp, 0x48
xor eax, eax
cmp edi, ebp
sete al
lea ecx, [esp + 0x10]
push eax
push 0x17
push ecx
call fcn.0044dcd0
mov edi, dword [esi + 0xae4]
xor edx, edx
cmp edi, ebp
sete dl
lea eax, [esp + 0x1c]
push edx
push 0x18
push eax
call fcn.0044dcd0
add esp, 0x18
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
push 0x48f324
push edx
mov byte [esp + 0x6c], 4
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0xc
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
push str.state
push str.UserSet
call fcn.0044a060
mov edx, dword [esi + 0x638]
mov edi, dword [sym.imp.MSVCR71.dll__itow]
xor eax, eax
mov dword [esp + 0x3e], eax
mov dword [esp + 0x42], eax
mov dword [esp + 0x46], eax
mov dword [esp + 0x4a], eax
mov dword [esp + 0x4e], eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
push 0xa
lea ecx, [esp + 0x40]
mov dword [esp + 0x5e], eax
push ecx
mov dword [esp + 0x66], eax
push edx
mov word [esp + 0x48], bp
mov word [esp + 0x6e], ax
call edi
add esp, 0x1c
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x30]
push eax
push str.NotShow
push str.HelpConfig
call fcn.0044a060
mov eax, dword [esi + 0xaf0]
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
push 0xa
lea edx, [esp + 0x40]
mov dword [esp + 0x48], ecx
push edx
mov dword [esp + 0x50], ecx
push eax
mov dword [esp + 0x58], ecx
call edi
add esp, 0x1c
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x30]
push ecx
push str.HidePublicGift
push str.UserSet
call fcn.0044a060
add esp, 0x10
mov ecx, esi
call fcn.00421d90
mov edx, dword [esp + 0x10]
mov dword [esi + 0xaec], ebp
mov dword [esp + 0x28], edx
call fcn.004424f0
mov ecx, eax
call fcn.0043efd0
push 4
lea ecx, [esp + 0x2c]
push ecx
push ebp
push eax
call fcn.004424f0
mov ecx, eax
call fcn.00440ba0
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x48]
mov eax, 1
pop ebx
call fcn.0045015b
add esp, 0x54
ret