Function at 0x140015a30
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x658], rbx
mov rax, qword [0x14005b740]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
mov rbx, r8
mov qword [rsp + 0x28], rdx
mov rdi, rcx
mov dword [rdx], 1
mov ecx, 0xfa0
call fcn.14002b4c4
mov qword [rsp + 0x20], rax
mov qword [rbx], rax
xor ebx, ebx
test rdi, rdi
jne 0x140015b35
mov r8d, 0x12c
lea rdx, [rbp + 0x360]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x360]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], bl
jne 0x140015ac0
movsxd rcx, eax
test eax, eax
jle 0x140015ae4
nop
cmp byte [rbp + rcx + 0x360], 0x5c
je 0x140015ae4
dec eax
dec rcx
test rcx, rcx
jg 0x140015ad0
inc eax
movsxd rcx, eax
cmp rcx, 0x190
jae 0x140015b2f
mov byte [rbp + rcx + 0x360], bl
lea rcx, [rbp + 0x360]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], bl
jne 0x140015b03
mov rax, qword [str.config.txt]
mov qword [rcx], rax
movzx eax, word [0x140052050]
mov word [rcx + 8], ax
movzx eax, byte [0x140052052]
mov byte [rcx + 0xa], al
jmp 0x140015c1f
call fcn.14002ba2c
int3
mov edx, ebx
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rdi + rax], dl
jne 0x140015b40
test rax, rax
je 0x140015b93
mov rcx, rdi
cmp byte [rcx], 0x5c
je 0x140015b70
inc edx
inc rcx
movsxd r8, edx
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], bl
jne 0x140015b61
cmp r8, rax
jb 0x140015b50
jmp 0x140015b93
lea rcx, [rbp + 0x360]
sub rcx, rdi
nop word [rax + rax]
movzx eax, byte [rdi]
mov byte [rcx + rdi], al
lea rdi, [rdi + 1]
test al, al
jne 0x140015b80
jmp 0x140015c1f
mov r8d, 0x12c
lea rdx, [rbp + 0x360]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x360]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], bl
jne 0x140015bb3
movsxd rcx, eax
test eax, eax
jle 0x140015bd6
cmp byte [rbp + rcx + 0x360], 0x5c
je 0x140015bd6
dec eax
dec rcx
test rcx, rcx
jg 0x140015bc2
inc eax
movsxd rcx, eax
cmp rcx, 0x190
jae 0x140016049
mov byte [rbp + rcx + 0x360], bl
lea rcx, [rbp + 0x360]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], bl
jne 0x140015c00
xor edx, edx
nop word [rax + rax]
movzx eax, byte [rdi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140015c10
mov qword [rbp + 0x348], rbx
mov dword [rbp + 0x340], ebx
mov word [rsp + 0x40], bx
lea rax, [rbp + 0x360]
mov qword [rsp + 0x30], rax
mov byte [rbp + 0x350], 0
xor eax, eax
mov dword [rbp + 0x351], eax
mov byte [rbp + 0x355], al
lea rcx, [rbp + 0x350]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], al
jne 0x140015c60
movzx eax, word [0x140054a20]
mov word [rcx], ax
lea rcx, [rbp + 0x350]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140015c80
movzx eax, word [0x140054a24]
mov word [rcx], ax
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x360]
call fcn.14002cb68
mov qword [rbp + 0x348], rax
test rax, rax
je 0x140015cd6
xor r9d, r9d
mov r8d, 0x200
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140031054
mov dword [rbp + 0x340], 1
jmp 0x140015d06
call fcn.14002d584
cmp dword [rax], 0
je 0x140015d06
mov rcx, qword [rbp + 0x348]
test rcx, rcx
je 0x14001604f
call fcn.14002dd78
mov rcx, qword [rbp + 0x348]
call fcn.14002ce10
jmp 0x14001604f
mov rdi, qword [rbp + 0x348]
test rdi, rdi
je 0x140015d55
mov rcx, rdi
call fcn.14002fd54
mov edi, eax
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, qword [rbp + 0x348]
call fcn.140030a58
mov rcx, qword [rbp + 0x348]
call fcn.14002fd54
movsxd rbx, eax
xor r8d, r8d
mov edx, edi
mov rcx, qword [rbp + 0x348]
call fcn.140030a58
mov rdi, qword [rbp + 0x348]
lea eax, [rbx + 1]
movsxd rcx, eax
call fcn.14002b4c4
mov r12, rax
test rdi, rdi
je 0x140015da4
test byte [rbp + 0x340], 1
je 0x140015da4
movsxd r8, ebx
mov r9, rdi
mov edx, 1
mov rcx, rax
call fcn.14002e0c4
cmp eax, ebx
je 0x140015da4
mov rcx, qword [rbp + 0x348]
call fcn.14002eac4
test eax, eax
jne 0x140015da4
mov rcx, qword [rbp + 0x348]
call fcn.14002eaec
movsxd r14, ebx
mov byte [r14 + r12], 0
mov rdx, qword [rbp + 0x348]
test rdx, rdx
je 0x140015dde
mov rcx, rdx
call fcn.14002dd78
mov rcx, qword [rbp + 0x348]
call fcn.14002ce10
xor edi, edi
mov edx, edi
mov qword [rbp + 0x348], rdx
mov word [rsp + 0x40], di
jmp 0x140015de0
xor edi, edi
mov eax, edi
mov r13d, edi
mov rcx, rdi
test ebx, ebx
js 0x14001603c
mov edx, 0x2401
nop word [rax + rax]
lea r15d, [rax + 1]
lea rsi, [rcx + 1]
cmp rsi, r14
jg 0x140015e2c
nop dword [rax]
movzx eax, byte [rsi + r12]
cmp al, 0xd
ja 0x140015e21
movsx eax, al
bt edx, eax
jb 0x140015e2c
inc r15d
inc rsi
cmp rsi, r14
jle 0x140015e10
lea rbx, [rcx + r12]
mov rax, rsi
sub rax, rcx
mov byte [rax + rbx], 0
mov r8, rbx
lea rdx, str.Parse_config_line:__s_n
mov ecx, 2
call fcn.1400054d0
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140015e52
test rax, rax
je 0x140015ea1
or rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp byte [rbx + rax], 0
jne 0x140015e64
cmp byte [rax + rbx - 1], 0x20
ja 0x140015ea1
or rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp byte [rbx + rax], 0
jne 0x140015e80
mov byte [rax + rbx - 1], 0
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140015e93
test rax, rax
jne 0x140015e60
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140015ea5
test rax, rax
je 0x140015ece
cmp byte [rbx], 0x20
ja 0x140015ece
inc rbx
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x140015ec0
test rax, rax
jne 0x140015eb3
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140015ed2
test ecx, ecx
je 0x140016006
movzx eax, byte [rbx]
cmp al, 0x3b
je 0x140016006
cmp al, 0x23
je 0x140016006
mov edx, edi
mov rax, rdi
movsxd r8, ecx
test ecx, ecx
jle 0x140015ff0
cmp byte [rax + rbx], 0x20
je 0x140015f1b
inc edx
inc rax
cmp rax, r8
jl 0x140015f06
jmp 0x140015ff0
test edx, edx
je 0x140015ff0
mov byte [rax + rbx], 0
movsxd rax, edx
lea rdi, [rbx + 1]
add rdi, rax
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x140015f35
test rax, rax
je 0x140015f5e
cmp byte [rdi], 0x20
ja 0x140015f5e
inc rdi
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdi + rax], 0
jne 0x140015f50
test rax, rax
jne 0x140015f43
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140015f62
test rax, rax
je 0x140015fd6
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x140015f74
test rax, rax
je 0x140015fd6
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + rax*8], rbx
mov rbx, qword [rsp + 0x28]
inc dword [rbx]
lea rdx, [0x140050f04]
mov rcx, rdi
call fcn.14002b57c
test rax, rax
jne 0x140015fbc
movsxd rax, dword [rbx]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + rax*8], rdi
jmp 0x140015fd0
mov rcx, rdi
call fcn.140010260
movsxd rcx, dword [rbx]
mov rdx, qword [rsp + 0x20]
mov qword [rdx + rcx*8], rax
inc dword [rbx]
xor edi, edi
jmp 0x140016006
mov r9d, r13d
lea r8, str.Error_parsing_line__d_of_config.txt_n
mov edx, 3
xor ecx, ecx
call fcn.1400056c0
xor edi, edi
jmp 0x140016006
mov r9d, r13d
lea r8, str.Error_parsing_line__d_of_config.txt_n
mov edx, 3
xor ecx, ecx
call fcn.1400056c0
lea eax, [r15 + 1]
lea rcx, [rsi + 1]
cmp rcx, r14
jg 0x140016024
cmp byte [rcx + r12], 0x20
jge 0x140016024
inc eax
inc rcx
cmp rcx, r14
jle 0x140016013
inc r13d
cmp rcx, r14
mov edx, 0x2401
jle 0x140015e00
mov rdx, qword [rbp + 0x348]
test rdx, rdx
je 0x14001604f
mov rcx, rdx
jmp 0x140015cf0
call fcn.14002ba2c
int3
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.14002aed0
mov rbx, qword [rsp + 0x658]
add rsp, 0x600
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret