Function at 0x180049760
Capabilities:
Create directory
Read .ini file

Disassembly:
mov r11, rsp
push rbp
push r12
push r13
lea rbp, [r11 - 0x5f]
sub rsp, 0xf0
mov rcx, qword [0x1802850e0]
xor r13d, r13d
mov r8, qword [rdx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
mov qword [rbp - 0x59], r13
mov qword [rbp - 0x51], 0xf
xorps xmm0, xmm0
mov r12, rdx
movups xmmword [rbp - 0x69], xmm0
mov byte [rbp - 0x69], r13b
cmp rax, r8
jb 0x180049d74
cmp qword [0x1802850e8], 0xf
mov rax, rdx
mov qword [r11 + 8], rbx
lea rbx, [0x1802850d0]
mov r9, rbx
movaps xmmword [r11 - 0x38], xmm6
cmova r9, qword [0x1802850d0]
cmp qword [rdx + 0x18], 0xf
movaps xmmword [r11 - 0x48], xmm7
jbe 0x1800497e6
mov rax, qword [rdx]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x49]
call fcn.180009460
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x39]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x180049839
lea rax, [rcx + 4]
cmp rdx, 0xf
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x49]
cmova rax, qword [rbp - 0x49]
mov dword [rax + rcx], 0x6766632e
mov byte [rax + rcx + 4], r13b
lea rax, [rbp - 0x49]
jmp 0x180049857
lea r9, str..cfg
mov qword [rsp + 0x20], 4
mov edx, 4
lea rcx, [rbp - 0x49]
call fcn.1800092d0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x1800498a4
mov rcx, qword [rbp - 0x69]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004989f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800498de
call fcn.1800e19f8
mov rdx, qword [rbp - 0x31]
movups xmmword [rbp - 0x69], xmm6
movups xmmword [rbp - 0x59], xmm7
cmp rdx, 0xf
jbe 0x1800498ea
mov rcx, qword [rbp - 0x49]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800498e5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800498e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e19f8
cmp qword [0x1802850e8], 0xf
mov qword [rsp + 0x118], rsi
cmova rbx, qword [0x1802850d0]
xor edx, edx
mov qword [rsp + 0x120], rdi
mov rcx, rbx
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0xe0], r15
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rsi, qword [0x1802850f0]
xorps xmm0, xmm0
mov r15, qword [0x1802850f8]
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
cmp rsi, r15
je 0x180049a5a
nop word [rax + rax]
mov r14, qword [rsi]
lea rdi, [rbp - 0x69]
cmp qword [rbp - 0x51], 0xf
lea rcx, [rbp - 9]
cmova rdi, qword [rbp - 0x69]
lea rdx, [r14 + 0x20]
call fcn.180047bc0
cmp qword [rbp + 0xf], 0xf
lea rbx, [rbp - 9]
mov rdx, r14
lea rcx, [rbp - 0x49]
cmova rbx, qword [rbp - 9]
call fcn.180047bc0
cmp qword [rbp - 0x31], 0xf
lea rcx, [rbp - 0x49]
mov qword [rsp + 0x28], rdi
lea r9, [rbp - 0x29]
cmova rcx, qword [rbp - 0x49]
lea r8, [0x18016c0d1]
mov rdx, rbx
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x1800499f2
mov rcx, qword [rbp - 0x49]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800499ed
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180049cfd
call fcn.1800e19f8
mov rdx, qword [rbp + 0xf]
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], r13b
cmp rdx, 0xf
jbe 0x180049a3d
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180049a38
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180049cfd
call fcn.1800e19f8
lea rcx, [rbp - 0x29]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rcx, qword [r14 + 0x40]
add rsi, 8
mov dword [rcx], eax
cmp rsi, r15
jne 0x180049950
mov rsi, qword [0x180285120]
mov r15, qword [0x180285128]
cmp rsi, r15
je 0x180049b93
nop dword [rax]
nop word [rax + rax]
mov r14, qword [rsi]
lea rdi, [rbp - 0x69]
cmp qword [rbp - 0x51], 0xf
lea rcx, [rbp - 9]
cmova rdi, qword [rbp - 0x69]
lea rdx, [r14 + 0x20]
call fcn.180047bc0
cmp qword [rbp + 0xf], 0xf
lea rbx, [rbp - 9]
mov rdx, r14
lea rcx, [rbp - 0x49]
cmova rbx, qword [rbp - 9]
call fcn.180047bc0
cmp qword [rbp - 0x31], 0xf
lea rcx, [rbp - 0x49]
mov qword [rsp + 0x28], rdi
lea r9, [rbp - 0x29]
cmova rcx, qword [rbp - 0x49]
lea r8, [0x18016c0d1]
mov rdx, rbx
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x180049b22
mov rcx, qword [rbp - 0x49]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180049b1d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180049d04
call fcn.1800e19f8
mov rdx, qword [rbp + 0xf]
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], r13b
cmp rdx, 0xf
jbe 0x180049b6d
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180049b68
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180049d04
call fcn.1800e19f8
lea rcx, [rbp - 0x29]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov rax, qword [r14 + 0x40]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
add rsi, 8
movss dword [rax], xmm1
cmp rsi, r15
jne 0x180049a80
mov rsi, qword [0x180285108]
mov r15, qword [0x180285110]
cmp rsi, r15
je 0x180049cc4
nop word [rax + rax]
mov r14, qword [rsi]
lea rdi, [rbp - 0x69]
cmp qword [rbp - 0x51], 0xf
lea rcx, [rbp - 9]
cmova rdi, qword [rbp - 0x69]
lea rdx, [r14 + 0x20]
call fcn.180047bc0
cmp qword [rbp + 0xf], 0xf
lea rbx, [rbp - 9]
mov rdx, r14
lea rcx, [rbp - 0x49]
cmova rbx, qword [rbp - 9]
call fcn.180047bc0
cmp qword [rbp - 0x31], 0xf
lea rcx, [rbp - 0x49]
mov qword [rsp + 0x28], rdi
lea r9, [rbp - 0x29]
cmova rcx, qword [rbp - 0x49]
lea r8, [0x18016c0d1]
mov rdx, rbx
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x180049c52
mov rcx, qword [rbp - 0x49]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180049c4d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180049d0b
call fcn.1800e19f8
mov rdx, qword [rbp + 0xf]
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], r13b
cmp rdx, 0xf
jbe 0x180049c99
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180049c94
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180049d0b
call fcn.1800e19f8
movzx ecx, byte [rbp - 0x29]
sub ecx, 0x31
jne 0x180049cac
movzx ecx, byte [rbp - 0x28]
movzx eax, r13b
sub ecx, eax
mov rax, qword [r14 + 0x40]
test ecx, ecx
sete cl
add rsi, 8
mov byte [rax], cl
cmp rsi, r15
jne 0x180049bb0
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x180049d17
mov rcx, qword [rbp - 0x69]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180049d12
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180049d12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e19f8
mov rcx, r12
mov qword [rbp - 0x59], r13
mov qword [rbp - 0x51], 0xf
mov byte [rbp - 0x69], r13b
call fcn.180008980
mov rdi, qword [rsp + 0x120]
mov r15, qword [rsp + 0xe0]
mov r14, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0x118]
movaps xmm6, xmmword [rsp + 0xd0]
mov rbx, qword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0xc0]
add rsp, 0xf0
pop r13
pop r12
pop rbp
ret
call fcn.1800083e0
int3