Function at 0x14001c600
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 [0x140061740]
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.14002edb0
mov qword [rsp + 0x20], rax
mov qword [rbx], rax
xor ebx, ebx
test rdi, rdi
jne 0x14001c705
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 0x14001c690
movsxd rcx, eax
test eax, eax
jle 0x14001c6b4
nop
cmp byte [rbp + rcx + 0x360], 0x5c
je 0x14001c6b4
dec eax
dec rcx
test rcx, rcx
jg 0x14001c6a0
inc eax
movsxd rcx, eax
cmp rcx, 0x190
jae 0x14001c6ff
mov byte [rbp + rcx + 0x360], bl
lea rcx, [rbp + 0x360]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], bl
jne 0x14001c6d3
mov rax, qword [str.config.txt]
mov qword [rcx], rax
movzx eax, word [0x140058420]
mov word [rcx + 8], ax
movzx eax, byte [0x140058422]
mov byte [rcx + 0xa], al
jmp 0x14001c7ef
call fcn.14002f174
int3
mov edx, ebx
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rdi + rax], dl
jne 0x14001c710
test rax, rax
je 0x14001c763
mov rcx, rdi
cmp byte [rcx], 0x5c
je 0x14001c740
inc edx
inc rcx
movsxd r8, edx
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], bl
jne 0x14001c731
cmp r8, rax
jb 0x14001c720
jmp 0x14001c763
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 0x14001c750
jmp 0x14001c7ef
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 0x14001c783
movsxd rcx, eax
test eax, eax
jle 0x14001c7a6
cmp byte [rbp + rcx + 0x360], 0x5c
je 0x14001c7a6
dec eax
dec rcx
test rcx, rcx
jg 0x14001c792
inc eax
movsxd rcx, eax
cmp rcx, 0x190
jae 0x14001cc19
mov byte [rbp + rcx + 0x360], bl
lea rcx, [rbp + 0x360]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], bl
jne 0x14001c7d0
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 0x14001c7e0
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 0x14001c830
movzx eax, word [0x14005a880]
mov word [rcx], ax
lea rcx, [rbp + 0x350]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x14001c850
movzx eax, word [0x14005a884]
mov word [rcx], ax
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x360]
call fcn.1400306b8
mov qword [rbp + 0x348], rax
test rax, rax
je 0x14001c8a6
xor r9d, r9d
mov r8d, 0x200
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400349ac
mov dword [rbp + 0x340], 1
jmp 0x14001c8d6
call fcn.1400310d4
cmp dword [rax], 0
je 0x14001c8d6
mov rcx, qword [rbp + 0x348]
test rcx, rcx
je 0x14001cc1f
call fcn.140031884
mov rcx, qword [rbp + 0x348]
call fcn.140030960
jmp 0x14001cc1f
mov rdi, qword [rbp + 0x348]
test rdi, rdi
je 0x14001c925
mov rcx, rdi
call fcn.140033678
mov edi, eax
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, qword [rbp + 0x348]
call fcn.1400343b0
mov rcx, qword [rbp + 0x348]
call fcn.140033678
movsxd rbx, eax
xor r8d, r8d
mov edx, edi
mov rcx, qword [rbp + 0x348]
call fcn.1400343b0
mov rdi, qword [rbp + 0x348]
lea eax, [rbx + 1]
movsxd rcx, eax
call fcn.14002edb0
mov r12, rax
test rdi, rdi
je 0x14001c974
test byte [rbp + 0x340], 1
je 0x14001c974
movsxd r8, ebx
mov r9, rdi
mov edx, 1
mov rcx, rax
call fcn.140031bd0
cmp eax, ebx
je 0x14001c974
mov rcx, qword [rbp + 0x348]
call fcn.1400324c8
test eax, eax
jne 0x14001c974
mov rcx, qword [rbp + 0x348]
call fcn.1400324f0
movsxd r14, ebx
mov byte [r14 + r12], 0
mov rdx, qword [rbp + 0x348]
test rdx, rdx
je 0x14001c9ae
mov rcx, rdx
call fcn.140031884
mov rcx, qword [rbp + 0x348]
call fcn.140030960
xor edi, edi
mov edx, edi
mov qword [rbp + 0x348], rdx
mov word [rsp + 0x40], di
jmp 0x14001c9b0
xor edi, edi
mov eax, edi
mov r13d, edi
mov rcx, rdi
test ebx, ebx
js 0x14001cc0c
mov edx, 0x2401
nop word [rax + rax]
lea r15d, [rax + 1]
lea rsi, [rcx + 1]
cmp rsi, r14
jg 0x14001c9fc
nop dword [rax]
movzx eax, byte [rsi + r12]
cmp al, 0xd
ja 0x14001c9f1
movsx eax, al
bt edx, eax
jb 0x14001c9fc
inc r15d
inc rsi
cmp rsi, r14
jle 0x14001c9e0
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.14000ee60
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x14001ca22
test rax, rax
je 0x14001ca71
or rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp byte [rbx + rax], 0
jne 0x14001ca34
cmp byte [rax + rbx - 1], 0x20
ja 0x14001ca71
or rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp byte [rbx + rax], 0
jne 0x14001ca50
mov byte [rax + rbx - 1], 0
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x14001ca63
test rax, rax
jne 0x14001ca30
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x14001ca75
test rax, rax
je 0x14001ca9e
cmp byte [rbx], 0x20
ja 0x14001ca9e
inc rbx
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x14001ca90
test rax, rax
jne 0x14001ca83
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14001caa2
test ecx, ecx
je 0x14001cbd6
movzx eax, byte [rbx]
cmp al, 0x3b
je 0x14001cbd6
cmp al, 0x23
je 0x14001cbd6
mov edx, edi
mov rax, rdi
movsxd r8, ecx
test ecx, ecx
jle 0x14001cbc0
cmp byte [rax + rbx], 0x20
je 0x14001caeb
inc edx
inc rax
cmp rax, r8
jl 0x14001cad6
jmp 0x14001cbc0
test edx, edx
je 0x14001cbc0
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 0x14001cb05
test rax, rax
je 0x14001cb2e
cmp byte [rdi], 0x20
ja 0x14001cb2e
inc rdi
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdi + rax], 0
jne 0x14001cb20
test rax, rax
jne 0x14001cb13
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x14001cb32
test rax, rax
je 0x14001cba6
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x14001cb44
test rax, rax
je 0x14001cba6
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, [0x1400573cc]
mov rcx, rdi
call fcn.14002ee68
test rax, rax
jne 0x14001cb8c
movsxd rax, dword [rbx]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + rax*8], rdi
jmp 0x14001cba0
mov rcx, rdi
call fcn.140017a30
movsxd rcx, dword [rbx]
mov rdx, qword [rsp + 0x20]
mov qword [rdx + rcx*8], rax
inc dword [rbx]
xor edi, edi
jmp 0x14001cbd6
mov r9d, r13d
lea r8, str.Error_parsing_line__d_of_config.txt_n
mov edx, 3
xor ecx, ecx
call fcn.14000f050
xor edi, edi
jmp 0x14001cbd6
mov r9d, r13d
lea r8, str.Error_parsing_line__d_of_config.txt_n
mov edx, 3
xor ecx, ecx
call fcn.14000f050
lea eax, [r15 + 1]
lea rcx, [rsi + 1]
cmp rcx, r14
jg 0x14001cbf4
cmp byte [rcx + r12], 0x20
jge 0x14001cbf4
inc eax
inc rcx
cmp rcx, r14
jle 0x14001cbe3
inc r13d
cmp rcx, r14
mov edx, 0x2401
jle 0x14001c9d0
mov rdx, qword [rbp + 0x348]
test rdx, rdx
je 0x14001cc1f
mov rcx, rdx
jmp 0x14001c8c0
call fcn.14002f174
int3
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.14002e450
mov rbx, qword [rsp + 0x658]
add rsp, 0x600
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret