Function at 0x10000561c
Capabilities:
Get file size
Read .ini file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor ebx, ebx
xor r9d, r9d
xor edx, edx
mov qword [rax - 0x48], rbx
mov dword [rax - 0x50], 1
lea r8d, [rbx + 1]
mov r15, rcx
mov r13d, 0x1388
mov dword [rax - 0x58], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1000056b1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rdi
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r13d, 0x200000
jb 0x1000056b1
mov ecx, 0xe88
call fcn.10000e684
mov rdi, rax
call qword [sym.imp.msvcrt.dll___iob_func]
mov rdx, rdi
lea rcx, [rax + 0x30]
call fcn.10000fab8
xor eax, eax
jmp 0x100005888
lea r12d, [r13 + r13]
mov r14d, ebx
mov ecx, r12d
call fcn.100010558
mov rsi, rax
mov qword [rsp + 0x90], rax
cmp rax, rbx
jne 0x1000056e7
call qword [sym.imp.msvcrt.dll___iob_func]
mov edx, 0x20001
lea rcx, [rax + 0x60]
call fcn.10000e424
jmp 0x1000056aa
mov ecx, r12d
call fcn.100010558
mov rbp, rax
mov qword [rsp + 0x98], rax
cmp rax, rbx
jne 0x100005722
call qword [sym.imp.msvcrt.dll___iob_func]
mov edx, 0x20001
lea rcx, [rax + 0x60]
call fcn.10000e424
lea rcx, [rsp + 0x90]
call fcn.10001047c
jmp 0x1000056aa
mov rcx, rsi
call fcn.100010700
mov rdi, rsi
movsxd rcx, eax
xor eax, eax
rep stosb byte [rdi], al
lea edi, [r13 - 2]
lea rcx, [0x1000015d8]
mov r9, r15
mov r8d, r13d
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov r15d, eax
cmp eax, edi
jne 0x1000057f7
mov eax, 0x400
lea rcx, [rsp + 0x90]
add r12d, 0x800
add r13d, eax
add edi, eax
call fcn.10001047c
lea rcx, [rsp + 0x98]
call fcn.10001047c
mov ecx, r12d
call fcn.100010558
mov ecx, r12d
mov rsi, rax
mov qword [rsp + 0x90], rax
call fcn.100010558
mov rbp, rax
mov qword [rsp + 0x98], rax
cmp rsi, rbx
je 0x1000057c9
cmp rax, rbx
je 0x1000057c9
mov r15, qword [rsp + 0x80]
cmp r12d, 0x1fffe
jne 0x100005738
call qword [sym.imp.msvcrt.dll___iob_func]
mov edx, 0x20001
lea rcx, [rax + 0x60]
call fcn.10000e424
lea rcx, [rsp + 0x90]
call fcn.10001047c
lea rcx, [rsp + 0x98]
jmp 0x10000571b
cmp rsi, rbx
jne 0x100005800
mov eax, ebx
jmp 0x100005809
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov eax, eax
mov word [rsi + rax*2], bx
call fcn.100010a64
mov r12, rax
cmp rax, rbx
je 0x1000057c9
mov rdi, rbx
cmp r15d, ebx
jbe 0x100005868
movzx eax, word [rsi]
mov word [rbp + rdi*2], ax
inc rdi
cmp word [rsi], bx
jne 0x10000585c
mov word [rbp + rdi*2 + 2], bx
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
mov rdi, rbx
call fcn.100010b24
cmp rbp, rbx
je 0x1000058a0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
je 0x1000058a0
inc r14d
add rsi, 2
cmp r14d, r15d
jb 0x100005824
mov rbx, r12
lea rcx, [rsp + 0x90]
call fcn.10001047c
lea rcx, [rsp + 0x98]
call fcn.10001047c
mov rax, rbx
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0x7c
call fcn.10000e684
mov rdi, rax
call qword [sym.imp.msvcrt.dll___iob_func]
mov rdx, rdi
lea rcx, [rax + 0x60]
call fcn.10000fab8
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, [rax + 0x60]
call fcn.10000e3e0
jmp 0x10000586b