Function at 0x415280
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x628142
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1484
call fcn.00554810
mov eax, dword [0x6aab00]
xor eax, esp
mov dword [esp + 0x1480], eax
push ebx
push esi
push edi
mov eax, dword [0x6aab00]
xor eax, esp
push eax
lea eax, [esp + 0x1498]
mov dword fs:[0], eax
push 0x3ff
xor edi, edi
lea eax, [esp + 0x1091]
push edi
push eax
mov esi, ecx
mov byte [esp + 0x1098], 0
call fcn.00551e50
add esp, 0xc
call fcn.0044ce39
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x415301
push 0x80004005
call fcn.00401b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x14a0], edi
jmp 0x41532a
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x400
lea ecx, [esp + 0x1094]
push ecx
push str.unknown
push str.FileName
push str.SetupFile
call ebx
lea edx, [esp + 0x108c]
push edx
lea ecx, [esp + 0x18]
call fcn.004016c0
push 0x5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x14a4], 1
call fcn.004160a0
lea eax, [esp + 0x14]
push eax
mov ecx, 0x6b9870
call fcn.004017f0
mov eax, dword [0x6b9870]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov edx, dword [eax - 8]
mov edi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
or edx, ecx
jge 0x4153b5
push 0
mov ecx, 0x6b9870
call fcn.00401990
mov eax, dword [0x6b9870]
push 0x1058
lea ecx, [esp + 0x28]
push ecx
push edi
push eax
lea ecx, [esp + 0x44]
call fcn.00607450
push eax
push 0x6b9890
call fcn.005544a0
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0xc
push eax
push 0
push str.EndHotkeyMod
push str.General
mov dword [esp + 0x2c], eax
call edi
mov edx, dword [esp + 0x1c]
push edx
movzx eax, ax
push 0x7b
push str.EndHotkey
shl eax, 0x10
push str.General
mov dword [esp + 0x28], eax
call edi
movzx eax, ax
or eax, dword [esp + 0x18]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 4]
push eax
push 0
push str.HideScriptPage
push str.General
call edi
mov dword [0x6b9470], eax
mov eax, dword [esi + 4]
push eax
push 0
push str.HideSettingPage
push str.General
call edi
mov dword [0x6b9474], eax
mov eax, dword [esi + 4]
push eax
push 0
push str.HideInstructionPage
push str.General
call edi
mov dword [0x6b947c], eax
mov eax, dword [esi + 4]
push eax
push 1
push str.ShowAD
push str.General
call edi
mov dword [0x6b086c], eax
mov eax, dword [esi + 4]
push eax
push 1
push str.ShowMessagePage
push str.Commerce
call edi
mov dword [0x6b9484], eax
mov eax, dword [esi + 4]
push eax
push 0x400
lea ecx, [esp + 0x1094]
push ecx
push str.uservar.ini
push str.uservar.ini
push str.Rename
call ebx
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x663ea8
call fcn.004016c0
push ecx
mov byte [esp + 0x14b0], 2
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x663ea8
call fcn.004016c0
push ecx
mov byte [esp + 0x14b4], 3
lea edx, [esp + 0x10a0]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.004016c0
push ecx
mov byte [esp + 0x14b8], 4
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.uservar.ini
call fcn.004016c0
mov byte [esp + 0x14b8], 5
call fcn.00401fc0
lea edx, [esp + 0x30]
mov ecx, eax
mov byte [esp + 0x14b8], 1
call fcn.00402300
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415553
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 4]
mov edx, dword [0x6b9874]
push eax
push 0x400
lea ecx, [esp + 0x1094]
push ecx
push edx
push 0x66b460
push str.General
call ebx
lea eax, [esp + 0x108c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x415581
sub eax, ecx
push eax
lea eax, [esp + 0x1090]
push eax
mov ecx, 0x6b9874
call fcn.00401a60
lea ecx, [esp + 0x18]
push 0x66b468
push ecx
call fcn.004013d0
mov ecx, dword [esi + 4]
mov eax, dword [eax]
add esp, 8
push ecx
mov ecx, dword [0x6b9878]
push 0x400
lea edx, [esp + 0x1094]
push edx
push ecx
push eax
push str.Commerce
call ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4155f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x108c]
lea edx, [eax + 1]
jmp 0x415600
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415600
sub eax, edx
push eax
lea ecx, [esp + 0x1090]
push ecx
mov ecx, 0x6b9878
call fcn.00401a60
mov eax, dword [esi + 4]
push eax
mov eax, dword [0x6b987c]
push 0x400
lea edx, [esp + 0x1094]
push edx
push eax
push str.BuildInfo
push str.Commerce
call ebx
lea eax, [esp + 0x108c]
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x415650
sub eax, ecx
push eax
lea ecx, [esp + 0x1090]
push ecx
mov ecx, 0x6b987c
call fcn.00401a60
mov eax, dword [esi + 4]
push eax
push 0
push str.MachineCodeType
push str.Commerce
call edi
mov dword [0x6b9488], eax
mov eax, dword [esi + 4]
push eax
push 0x400
lea edx, [esp + 0x1094]
push edx
push 0x663ea8
push str.TrialRegCode
push str.Commerce
call ebx
lea eax, [esp + 0x108c]
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4156b0
sub eax, ecx
push eax
lea eax, [esp + 0x1090]
push eax
mov ecx, 0x6b988c
call fcn.00401a60
mov eax, dword [esi + 4]
mov ecx, dword [0x6b0870]
push eax
push ecx
push str.SupportLogin
push str.Commerce
call edi
mov dword [0x6b0870], eax
mov eax, dword [esi + 4]
push eax
push 0
push str.SupportFileCheck
push str.Commerce
call edi
mov dword [0x6b9480], eax
mov eax, dword [esi + 4]
push eax
push 0
push str.BBXFreeUniqueuiVersion
push str.PrivateSetting
call edi
mov esi, dword [esi + 4]
push esi
push 0x400
lea edx, [esp + 0x1094]
push edx
mov dword [0x6b9478], eax
mov eax, dword [0x6b9880]
push eax
push str.privatetype
push str.PrivateSetting
call ebx
lea eax, [esp + 0x108c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x415743
sub eax, ecx
push eax
lea ecx, [esp + 0x1090]
push ecx
mov ecx, 0x6b9880
call fcn.00401a60
jmp 0x415771
mov byte [esp + 0x14a0], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415799
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x14a0], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4157c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1498]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1480]
xor ecx, esp
call fcn.0054cec4
mov esp, ebp
pop ebp
ret