Function at 0x1400350d0
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 [0x140105358]
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.14008597c
mov qword [rsp + 0x20], rax
mov qword [rbx], rax
xor ebx, ebx
test rdi, rdi
jne 0x1400351d5
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 0x140035160
movsxd rcx, eax
test eax, eax
jle 0x140035184
nop
cmp byte [rbp + rcx + 0x360], 0x5c
je 0x140035184
dec eax
dec rcx
test rcx, rcx
jg 0x140035170
inc eax
movsxd rcx, eax
cmp rcx, 0x190
jae 0x1400351cf
mov byte [rbp + rcx + 0x360], bl
lea rcx, [rbp + 0x360]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], bl
jne 0x1400351a3
mov rax, qword [str.config.txt]
mov qword [rcx], rax
movzx eax, word [0x1400d9848]
mov word [rcx + 8], ax
movzx eax, byte [0x1400d984a]
mov byte [rcx + 0xa], al
jmp 0x1400352bf
call fcn.140085d40
int3
mov edx, ebx
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rdi + rax], dl
jne 0x1400351e0
test rax, rax
je 0x140035233
mov rcx, rdi
cmp byte [rcx], 0x5c
je 0x140035210
inc edx
inc rcx
movsxd r8, edx
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], bl
jne 0x140035201
cmp r8, rax
jb 0x1400351f0
jmp 0x140035233
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 0x140035220
jmp 0x1400352bf
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 0x140035253
movsxd rcx, eax
test eax, eax
jle 0x140035276
cmp byte [rbp + rcx + 0x360], 0x5c
je 0x140035276
dec eax
dec rcx
test rcx, rcx
jg 0x140035262
inc eax
movsxd rcx, eax
cmp rcx, 0x190
jae 0x1400356d4
mov byte [rbp + rcx + 0x360], bl
lea rcx, [rbp + 0x360]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], bl
jne 0x1400352a0
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 0x1400352b0
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 0x140035300
movzx eax, word [0x1400da98c]
mov word [rcx], ax
lea rcx, [rbp + 0x350]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140035320
movzx eax, word [0x1400da994]
mov word [rcx], ax
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x360]
call fcn.14008653c
mov qword [rbp + 0x348], rax
test rax, rax
je 0x140035376
xor r9d, r9d
mov r8d, 0x200
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14008bf40
mov dword [rbp + 0x340], 1
jmp 0x1400353a6
call fcn.140087050
cmp dword [rax], 0
je 0x1400353a6
mov rcx, qword [rbp + 0x348]
test rcx, rcx
je 0x1400356da
call fcn.140087c90
mov rcx, qword [rbp + 0x348]
call fcn.1400867e4
jmp 0x1400356da
mov rdi, qword [rbp + 0x348]
test rdi, rdi
je 0x1400353f5
mov rcx, rdi
call fcn.14008a95c
mov edi, eax
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, qword [rbp + 0x348]
call fcn.14008b734
mov rcx, qword [rbp + 0x348]
call fcn.14008a95c
movsxd rbx, eax
xor r8d, r8d
mov edx, edi
mov rcx, qword [rbp + 0x348]
call fcn.14008b734
mov rdi, qword [rbp + 0x348]
lea eax, [rbx + 1]
movsxd rcx, eax
call fcn.14008597c
mov r12, rax
test rdi, rdi
je 0x140035444
test byte [rbp + 0x340], 1
je 0x140035444
movsxd r8, ebx
mov r9, rdi
mov edx, 1
mov rcx, rax
call fcn.140087fdc
cmp eax, ebx
je 0x140035444
mov rcx, qword [rbp + 0x348]
call fcn.14008842c
test eax, eax
jne 0x140035444
mov rcx, qword [rbp + 0x348]
call fcn.140088454
movsxd r14, ebx
mov byte [r14 + r12], 0
mov rdx, qword [rbp + 0x348]
test rdx, rdx
je 0x14003547e
mov rcx, rdx
call fcn.140087c90
mov rcx, qword [rbp + 0x348]
call fcn.1400867e4
xor edi, edi
mov edx, edi
mov qword [rbp + 0x348], rdx
mov word [rsp + 0x40], di
jmp 0x140035480
xor edi, edi
mov eax, edi
mov r13d, edi
mov rcx, rdi
test ebx, ebx
js 0x1400356c7
lea r15d, [rax + 1]
lea rsi, [rcx + 1]
cmp rsi, r14
jg 0x1400354b2
nop dword [rax]
cmp byte [rsi + r12], 0x20
jl 0x1400354b2
inc r15d
inc rsi
cmp rsi, r14
jle 0x1400354a0
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.140014e30
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1400354e0
test rax, rax
je 0x140035531
nop
or rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp byte [rbx + rax], 0
jne 0x1400354f4
cmp byte [rax + rbx - 1], 0x20
jg 0x140035531
or rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp byte [rbx + rax], 0
jne 0x140035510
mov byte [rax + rbx - 1], 0
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140035523
test rax, rax
jne 0x1400354f0
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140035535
test rax, rax
je 0x14003555e
cmp byte [rbx], 0x20
jg 0x14003555e
inc rbx
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x140035550
test rax, rax
jne 0x140035543
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140035562
test ecx, ecx
je 0x140035696
movzx eax, byte [rbx]
cmp al, 0x3b
je 0x140035696
cmp al, 0x23
je 0x140035696
mov edx, edi
mov rax, rdi
movsxd r8, ecx
test ecx, ecx
jle 0x140035680
cmp byte [rax + rbx], 0x20
je 0x1400355ab
inc edx
inc rax
cmp rax, r8
jl 0x140035596
jmp 0x140035680
test edx, edx
je 0x140035680
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 0x1400355c5
test rax, rax
je 0x1400355ee
cmp byte [rdi], 0x20
jg 0x1400355ee
inc rdi
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdi + rax], 0
jne 0x1400355e0
test rax, rax
jne 0x1400355d3
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x1400355f2
test rax, rax
je 0x140035666
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x140035604
test rax, rax
je 0x140035666
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, [0x1400d7a00]
mov rcx, rdi
call fcn.140085a34
test rax, rax
jne 0x14003564c
movsxd rax, dword [rbx]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + rax*8], rdi
jmp 0x140035660
mov rcx, rdi
call fcn.14002da60
movsxd rcx, dword [rbx]
mov rdx, qword [rsp + 0x20]
mov qword [rdx + rcx*8], rax
inc dword [rbx]
xor edi, edi
jmp 0x140035696
mov r9d, r13d
lea r8, str.Error_parsing_line__d_of_config.txt_n
mov edx, 3
xor ecx, ecx
call fcn.140015020
xor edi, edi
jmp 0x140035696
mov r9d, r13d
lea r8, str.Error_parsing_line__d_of_config.txt_n
mov edx, 3
xor ecx, ecx
call fcn.140015020
lea eax, [r15 + 1]
lea rcx, [rsi + 1]
cmp rcx, r14
jg 0x1400356b4
cmp byte [rcx + r12], 0x20
jge 0x1400356b4
inc eax
inc rcx
cmp rcx, r14
jle 0x1400356a3
inc r13d
cmp rcx, r14
jle 0x140035490
mov rdx, qword [rbp + 0x348]
test rdx, rdx
je 0x1400356da
mov rcx, rdx
jmp 0x140035390
call fcn.140085d40
int3
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.140084590
mov rbx, qword [rsp + 0x658]
add rsp, 0x600
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret