Function at 0x14005c060
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x160
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14011d8d0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r13, rcx
xor bpl, bpl
call fcn.14005b4b0
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.1400598e0
xor r14d, r14d
mov word [rsp + 0x50], r14w
xor edx, edx
mov r8d, 0xfe
lea rcx, [rsp + 0x52]
call sub.MSVCR100.dll_memset
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x80
lea r9, [rsp + 0x50]
lea r8, [0x1400e2b48]
lea rdx, str.ProtoTypeURL
lea rcx, str.InternalOption
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
or rsi, 0xffffffffffffffff
test eax, eax
je 0x14005c2ce
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x50]
lea rax, [rsp + 0x50]
test rax, 0xffffffffffff0000
jne 0x14005c178
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.1400017e0
test rax, rax
je 0x14005c26b
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140001f70
mov rbx, qword [rsp + 0x30]
jmp 0x14005c26b
xor eax, eax
mov rcx, rsi
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14005c1ee
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14005c26b
cmp dword [rdx + 0x10], eax
jge 0x14005c1c4
cmp dword [rbx - 0xc], eax
jge 0x14005c1b7
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x14005c26b
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005c1da
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
jmp 0x14005c26b
mov r12d, dword [rbx - 0x10]
lea rbp, [rsp + 0x50]
sub rbp, rbx
sar rbp, 1
test ecx, ecx
jns 0x14005c20c
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14005c22e
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140001c20
mov rbx, qword [rsp + 0x30]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp rbp, r12
lea r12, [rax + rax]
mov r9, r12
ja 0x14005c253
lea r8, [rbx + rbp*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x14005c25e
lea r8, [rsp + 0x50]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
cmp edi, dword [rbx - 0xc]
jg 0x14005c2c3
mov dword [rbx - 0x10], edi
mov word [r12 + rbx], r14w
lea rdx, [0x1400e2b48]
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
setne bpl
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005c29b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
mov rcx, rsi
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.140001e80
mov rdi, qword [rsp + 0x38]
jmp 0x14005c2ce
mov ecx, 0x80070057
call fcn.140001000
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14005c2e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
movzx eax, bpl
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400cafa0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret