Function at 0x180004a60
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x180060010]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor ebx, ebx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], 0xf
lea r8d, [rbx + 0x15]
lea rdx, str.C:WindowsXiaoHa.ini
lea rcx, [rbp - 0x30]
call fcn.180002470
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [0x180060ea0]
lea r8, [0x18004dae0]
lea rdx, str.Unlock
lea rcx, str.Machine
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x180004ae6
mov eax, ebx
jmp 0x180004af3
lea rcx, [0x180060ea0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
setne byte [0x180060fd2]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [0x180060ea0]
lea r8, [0x18004dae0]
lea rdx, str.Locked
lea rcx, str.Machine
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x180004b4a
lea rcx, [0x180060ea0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [0x180060ea0]
lea r8, [0x18004dae0]
lea rdx, str.Attack
lea rcx, str.Machine
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x180004b8f
mov eax, ebx
jmp 0x180004b9c
lea rcx, [0x180060ea0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
setne byte [0x180060fd3]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [0x180060ea0]
lea r8, [0x18004dae0]
lea rdx, str.Turret
lea rcx, str.Machine
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x180004bea
mov eax, ebx
jmp 0x180004bf7
lea rcx, [0x180060ea0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
setne byte [0x180060fa6]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [0x180060ea0]
lea r8, [0x18004dae0]
lea rdx, str.DySkin
lea rcx, [0x18004dd18]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x180004c5f
lea rcx, [0x180060ea0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
je 0x180004c5f
mov rax, qword [0x180060070]
mov byte [rax + 0x11], 1
jmp 0x180004c6a
mov rax, qword [0x180060070]
mov byte [rax + 0x11], 0
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [0x180060ea0]
lea r8, [0x18004dae0]
lea rdx, str.IoSkin
lea rcx, [0x18004dd18]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x180004caf
mov eax, ebx
jmp 0x180004cbc
lea rcx, [0x180060ea0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
setne byte [0x180060fa5]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [0x180060ea0]
lea r8, [0x18004dae0]
lea rdx, str.QSkillRange
lea rcx, str.XiaoHa
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x180004d0a
mov eax, ebx
jmp 0x180004d17
lea rcx, [0x180060ea0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
setne byte [0x180060fd1]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [0x180060ea0]
lea r8, [0x18004dae0]
lea rdx, str.WSkillRange
lea rcx, str.XiaoHa
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x180004d65
mov eax, ebx
jmp 0x180004d72
lea rcx, [0x180060ea0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
setne byte [0x180060fd4]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [0x180060ea0]
lea r8, [0x18004dae0]
lea rdx, str.ESkillRange
lea rcx, str.XiaoHa
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x180004dc0
mov eax, ebx
jmp 0x180004dcd
lea rcx, [0x180060ea0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
setne byte [0x180060fd6]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [0x180060ea0]
lea r8, [0x18004dae0]
lea rdx, str.RSkillRange
lea rcx, str.XiaoHa
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x180004e1b
mov eax, ebx
jmp 0x180004e28
lea rcx, [0x180060ea0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
setne byte [0x180060fd0]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [0x180060ea0]
lea r8, [0x18004dae0]
lea rdx, [0x18004dd6c]
lea rcx, str.XiaoHa
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x180004e76
mov eax, ebx
jmp 0x180004e83
lea rcx, [0x180060ea0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
setne byte [0x180060fd5]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [0x180060ea0]
lea r8, [0x18004dae0]
lea rdx, [0x18004dd70]
lea rcx, str.XiaoHa
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x180004edc
lea rcx, [0x180060ea0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ebx, eax
test ebx, ebx
setne byte [0x180060fa7]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180004f23
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004f1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004f1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180046dd4
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180046920
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret