Function at 0x4a8090
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58817d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x603320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.dnutility.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_utility::ufile::appdataDir_void_]
lea eax, [ebp - 0x258]
push eax
call ebx
push 0x5a6c40
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2a0]
call fcn.0041ee20
push str.XuanZhi_
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x288]
call fcn.0041ee20
push 0x5a7a1c
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x270]
call fcn.0041ee20
add esp, 0x10
cmp dword [ebp - 0x274], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4a812f
push dword [ebp - 0x288]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x274], 7
mov dword [ebp - 0x278], 0
mov word [ebp - 0x288], ax
cmp dword [ebp - 0x28c], 8
jb 0x4a8160
push dword [ebp - 0x2a0]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x28c], 7
mov dword [ebp - 0x290], 0
mov word [ebp - 0x2a0], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x244], 8
jb 0x4a8195
push dword [ebp - 0x258]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x244], 7
cmp dword [ebp - 0x25c], 8
mov word [ebp - 0x258], ax
lea eax, [ebp - 0x270]
cmovae eax, dword [ebp - 0x270]
push eax
push 0x50
lea eax, [ebp - 0x210]
mov dword [ebp - 0x248], 0
push eax
push 0x5a9f50
push str.firststart
push 0x5a7a38
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
mov edi, eax
add esp, 4
cmp edi, 1
jne 0x4a8306
lea eax, [ebp - 0x2d0]
push eax
call ebx
push 0x5a6c40
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x228]
call fcn.0041ee20
push str.XuanZhi_
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2b8]
call fcn.0041ee20
push 0x5a7a1c
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x240]
call fcn.0041ee20
add esp, 0x10
cmp dword [ebp - 0x2a4], 8
jb 0x4a8262
push dword [ebp - 0x2b8]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2a4], 7
cmp dword [ebp - 0x214], 8
mov dword [ebp - 0x2a8], 0
mov word [ebp - 0x2b8], ax
jb 0x4a8293
push dword [ebp - 0x228]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x2bc], 8
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
jb 0x4a82c8
push dword [ebp - 0x2d0]
call esi
add esp, 4
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push eax
push 0x5a7a90
push str.firststart
push 0x5a7a38
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x22c], 8
jb 0x4a8306
push dword [ebp - 0x240]
call esi
add esp, 4
push edi
push str.is_first_start__d
push 0x87
push str.view::AppModel::isFirstStart
call dword [sym.imp.dnutility.dll_void___cdecl_utility_log_char_const___int__wchar_t_const__]
add esp, 0x10
cmp edi, 1
sete bl
cmp dword [ebp - 0x25c], 8
jb 0x4a8339
push dword [ebp - 0x270]
call esi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00576f50
mov esp, ebp
pop ebp
ret