Function at 0x14003ade0
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 [0x14010b358]
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.140089b68
mov qword [rsp + 0x20], rax
mov qword [rbx], rax
xor ebx, ebx
test rdi, rdi
jne 0x14003aee5
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 0x14003ae70
movsxd rcx, eax
test eax, eax
jle 0x14003ae94
nop
cmp byte [rbp + rcx + 0x360], 0x5c
je 0x14003ae94
dec eax
dec rcx
test rcx, rcx
jg 0x14003ae80
inc eax
movsxd rcx, eax
cmp rcx, 0x190
jae 0x14003aedf
mov byte [rbp + rcx + 0x360], bl
lea rcx, [rbp + 0x360]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], bl
jne 0x14003aeb3
mov rax, qword [str.config.txt]
mov qword [rcx], rax
movzx eax, word [0x1400df990]
mov word [rcx + 8], ax
movzx eax, byte [0x1400df992]
mov byte [rcx + 0xa], al
jmp 0x14003afcf
call fcn.140089f2c
int3
mov edx, ebx
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rdi + rax], dl
jne 0x14003aef0
test rax, rax
je 0x14003af43
mov rcx, rdi
cmp byte [rcx], 0x5c
je 0x14003af20
inc edx
inc rcx
movsxd r8, edx
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], bl
jne 0x14003af11
cmp r8, rax
jb 0x14003af00
jmp 0x14003af43
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 0x14003af30
jmp 0x14003afcf
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 0x14003af63
movsxd rcx, eax
test eax, eax
jle 0x14003af86
cmp byte [rbp + rcx + 0x360], 0x5c
je 0x14003af86
dec eax
dec rcx
test rcx, rcx
jg 0x14003af72
inc eax
movsxd rcx, eax
cmp rcx, 0x190
jae 0x14003b3e4
mov byte [rbp + rcx + 0x360], bl
lea rcx, [rbp + 0x360]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], bl
jne 0x14003afb0
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 0x14003afc0
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 0x14003b010
movzx eax, word [0x1400e097c]
mov word [rcx], ax
lea rcx, [rbp + 0x350]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x14003b030
movzx eax, word [0x1400e0984]
mov word [rcx], ax
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x360]
call fcn.14008bbac
mov qword [rbp + 0x348], rax
test rax, rax
je 0x14003b086
xor r9d, r9d
mov r8d, 0x200
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140090334
mov dword [rbp + 0x340], 1
jmp 0x14003b0b6
call fcn.14008c1e4
cmp dword [rax], 0
je 0x14003b0b6
mov rcx, qword [rbp + 0x348]
test rcx, rcx
je 0x14003b3ea
call fcn.14008a888
mov rcx, qword [rbp + 0x348]
call fcn.14008b124
jmp 0x14003b3ea
mov rdi, qword [rbp + 0x348]
test rdi, rdi
je 0x14003b105
mov rcx, rdi
call fcn.14008ed50
mov edi, eax
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, qword [rbp + 0x348]
call fcn.14008fb28
mov rcx, qword [rbp + 0x348]
call fcn.14008ed50
movsxd rbx, eax
xor r8d, r8d
mov edx, edi
mov rcx, qword [rbp + 0x348]
call fcn.14008fb28
mov rdi, qword [rbp + 0x348]
lea eax, [rbx + 1]
movsxd rcx, eax
call fcn.140089b68
mov r12, rax
test rdi, rdi
je 0x14003b154
test byte [rbp + 0x340], 1
je 0x14003b154
movsxd r8, ebx
mov r9, rdi
mov edx, 1
mov rcx, rax
call fcn.14008cd44
cmp eax, ebx
je 0x14003b154
mov rcx, qword [rbp + 0x348]
call fcn.14008d084
test eax, eax
jne 0x14003b154
mov rcx, qword [rbp + 0x348]
call fcn.14008d0ac
movsxd r14, ebx
mov byte [r14 + r12], 0
mov rdx, qword [rbp + 0x348]
test rdx, rdx
je 0x14003b18e
mov rcx, rdx
call fcn.14008a888
mov rcx, qword [rbp + 0x348]
call fcn.14008b124
xor edi, edi
mov edx, edi
mov qword [rbp + 0x348], rdx
mov word [rsp + 0x40], di
jmp 0x14003b190
xor edi, edi
mov eax, edi
mov r13d, edi
mov rcx, rdi
test ebx, ebx
js 0x14003b3d7
lea r15d, [rax + 1]
lea rsi, [rcx + 1]
cmp rsi, r14
jg 0x14003b1c2
nop dword [rax]
cmp byte [rsi + r12], 0x20
jl 0x14003b1c2
inc r15d
inc rsi
cmp rsi, r14
jle 0x14003b1b0
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.140010790
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x14003b1f0
test rax, rax
je 0x14003b241
nop
or rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp byte [rbx + rax], 0
jne 0x14003b204
cmp byte [rax + rbx - 1], 0x20
jg 0x14003b241
or rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp byte [rbx + rax], 0
jne 0x14003b220
mov byte [rax + rbx - 1], 0
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x14003b233
test rax, rax
jne 0x14003b200
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x14003b245
test rax, rax
je 0x14003b26e
cmp byte [rbx], 0x20
jg 0x14003b26e
inc rbx
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x14003b260
test rax, rax
jne 0x14003b253
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14003b272
test ecx, ecx
je 0x14003b3a6
movzx eax, byte [rbx]
cmp al, 0x3b
je 0x14003b3a6
cmp al, 0x23
je 0x14003b3a6
mov edx, edi
mov rax, rdi
movsxd r8, ecx
test ecx, ecx
jle 0x14003b390
cmp byte [rax + rbx], 0x20
je 0x14003b2bb
inc edx
inc rax
cmp rax, r8
jl 0x14003b2a6
jmp 0x14003b390
test edx, edx
je 0x14003b390
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 0x14003b2d5
test rax, rax
je 0x14003b2fe
cmp byte [rdi], 0x20
jg 0x14003b2fe
inc rdi
or rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rdi + rax], 0
jne 0x14003b2f0
test rax, rax
jne 0x14003b2e3
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x14003b302
test rax, rax
je 0x14003b376
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x14003b314
test rax, rax
je 0x14003b376
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, [0x1400dd2c0]
mov rcx, rdi
call fcn.140089c20
test rax, rax
jne 0x14003b35c
movsxd rax, dword [rbx]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + rax*8], rdi
jmp 0x14003b370
mov rcx, rdi
call fcn.140032110
movsxd rcx, dword [rbx]
mov rdx, qword [rsp + 0x20]
mov qword [rdx + rcx*8], rax
inc dword [rbx]
xor edi, edi
jmp 0x14003b3a6
mov r9d, r13d
lea r8, str.Error_parsing_line__d_of_config.txt_n
mov edx, 3
xor ecx, ecx
call fcn.140010980
xor edi, edi
jmp 0x14003b3a6
mov r9d, r13d
lea r8, str.Error_parsing_line__d_of_config.txt_n
mov edx, 3
xor ecx, ecx
call fcn.140010980
lea eax, [r15 + 1]
lea rcx, [rsi + 1]
cmp rcx, r14
jg 0x14003b3c4
cmp byte [rcx + r12], 0x20
jge 0x14003b3c4
inc eax
inc rcx
cmp rcx, r14
jle 0x14003b3b3
inc r13d
cmp rcx, r14
jle 0x14003b1a0
mov rdx, qword [rbp + 0x348]
test rdx, rdx
je 0x14003b3ea
mov rcx, rdx
jmp 0x14003b0a0
call fcn.140089f2c
int3
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.140088760
mov rbx, qword [rsp + 0x658]
add rsp, 0x600
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret