Function at 0x18001f920
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x770]
sub rsp, 0x870
mov rax, qword [0x1800a2008]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov r15, rcx
mov qword [rbp - 0x78], rcx
xor edi, edi
mov r14d, edi
mov dword [rsp + 0x40], edi
mov eax, dword [rcx + 0x18]
cmp eax, 1
jne 0x18001fb75
mov r10, qword [rcx + 0x20]
mov rcx, qword [r10 + 0x10]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], dil
jne 0x18001f99f
cmp word [rax + 0x20], 4
jae 0x18001f993
mov rax, qword [rax + 0x10]
jmp 0x18001f999
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], dil
je 0x18001f986
cmp byte [rcx + 0x19], dil
jne 0x18001fb6b
mov esi, 4
cmp si, word [rcx + 0x20]
jb 0x18001fb6b
xor r9d, r9d
mov r8d, esi
lea rdx, [rbp + 0x280]
mov rcx, r10
call fcn.18002a230
nop
lea rcx, [rbp + 0x280]
cmp qword [rbp + 0x298], 8
cmovae rcx, qword [rbp + 0x280]
lea rdx, [0x18008ed9c]
call fcn.180059400
mov r14, rax
test rax, rax
jne 0x18001fa06
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x18001fb1b
mov ecx, 0x20
call fcn.18002e0d0
mov rsi, rax
mov qword [rbp - 0x78], rax
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov ecx, 0x20
call fcn.18002e0d0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsi], rax
mov qword [rsi + 0x10], rdi
mov byte [rsi + 0x18], 0
mov qword [rbp - 0x78], rsi
mov ecx, 0x18
call fcn.18002e0d0
mov rbx, rax
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_class_DataBuffer_.0
mov qword [rbx], rax
mov qword [rbx + 0x10], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rbx
mov rcx, r14
call fcn.1800594f4
test eax, eax
jne 0x18001fac8
nop word [rax + rax]
mov r9, r14
mov edx, 1
mov r8d, 0x100
lea rcx, [rbp + 0x660]
call fcn.180059808
mov r8d, eax
lea rdx, [rbp + 0x660]
mov rcx, rsi
call fcn.18000cb90
mov rcx, r14
call fcn.1800594f4
test eax, eax
je 0x18001fa90
mov rcx, r14
call fcn.180058a4c
mov rcx, qword [r15 + 8]
lock inc dword [rbx + 8]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rbx
lea rdx, [rbp - 0x50]
call fcn.180019f40
nop
mov r13d, 0xffffffff
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18001fb1b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x18001fb1b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x298]
cmp rdx, 8
jb 0x18001fb64
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x280]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001fb5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001fb5f
call qword [0x18008f290]
int3
call fcn.18002e10c
mov eax, edi
jmp 0x180020b09
mov eax, 0x57
jmp 0x180020b09
cmp eax, 2
jne 0x180020b04
mov qword [rbp + 0x140], rdi
mov r8d, 7
mov qword [rbp + 0x158], r8
mov rdx, rdi
mov qword [rbp + 0x150], rdx
mov word [rbp + 0x140], di
mov r10, qword [rcx + 0x20]
mov rcx, qword [r10 + 0x10]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x18001fbce
cmp word [rax + 0x20], 4
jae 0x18001fbc2
mov rax, qword [rax + 0x10]
jmp 0x18001fbc8
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18001fbb5
mov esi, 4
cmp byte [rcx + 0x19], 0
jne 0x18001fc73
cmp si, word [rcx + 0x20]
jb 0x18001fc73
xor r9d, r9d
mov r8d, esi
lea rdx, [rbp + 0x2e0]
mov rcx, r10
call fcn.18002a230
lea r14d, [rsi - 2]
mov rdx, qword [rbp + 0x158]
cmp rdx, 8
jb 0x18001fc49
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001fc44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001fc44
call qword [0x18008f290]
int3
call fcn.18002e10c
movups xmm0, xmmword [rbp + 0x2e0]
movups xmmword [rbp + 0x140], xmm0
movups xmm1, xmmword [rbp + 0x2f0]
movups xmmword [rbp + 0x150], xmm1
mov r8, qword [rbp + 0x158]
mov rdx, qword [rbp + 0x150]
mov qword [rbp + 0x160], rdi
mov qword [rbp + 0x170], rdi
mov qword [rbp + 0x178], 7
mov word [rbp + 0x160], di
cmp rdx, 1
jbe 0x18001fd62
lea r9, [rbp + 0x140]
cmp r8, 8
cmovae r9, qword [rbp + 0x140]
mov qword [rbp + 0x120], rdi
mov qword [rbp + 0x130], rdi
mov qword [rbp + 0x138], 7
lea rcx, [rbp + 0x120]
cmp rdx, 7
ja 0x18001fcf6
mov qword [rbp + 0x130], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.18003fb70
mov word [rbp + rbx + 0x120], di
jmp 0x18001fcfb
call fcn.180009d80
or r14d, 0xc
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x160]
call fcn.180007fa0
mov rdx, qword [rbp + 0x138]
cmp rdx, 8
jb 0x18001fdff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001fdfa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001fdfa
call qword [0x18008f290]
nop
mov qword [rbp + 0x120], rdi
mov qword [rbp + 0x130], rdi
mov qword [rbp + 0x138], 7
mov word [rbp + 0x120], di
or r14d, 0x10
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x120]
call fcn.18001f370
test eax, eax
jne 0x180020b4a
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x160]
call fcn.180007fa0
and r14d, 0xffffffef
mov rdx, qword [rbp + 0x138]
cmp rdx, 8
jb 0x18001fdff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001fdfa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001fdfa
call qword [0x18008f290]
int3
call fcn.18002e10c
lea rcx, [rbp + 0x160]
cmp qword [rbp + 0x178], 8
cmovae rcx, qword [rbp + 0x160]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x300]
call fcn.1800303ac
mov edx, eax
test eax, eax
jne 0x18001fe6a
mov ecx, dword [rbp + 0x310]
bt ecx, 0xa
jae 0x18001fe5f
mov eax, dword [rbp + 0x314]
cmp eax, 0xa000000c
jne 0x18001fe51
mov ecx, esi
jmp 0x18001fe87
cmp eax, 0xa0000003
jne 0x18001fe5f
mov ecx, 0xa
jmp 0x18001fe87
and ecx, 0x10
or ecx, 0x20
shr ecx, 4
jmp 0x18001fe87
sub eax, 2
je 0x18001fe82
sub eax, 1
je 0x18001fe82
sub eax, 0x32
je 0x18001fe82
cmp eax, 0x46
je 0x18001fe82
xor al, al
jmp 0x18001fe84
mov al, 1
movzx ecx, al
mov dword [rsp + 0x60], edx
lea rax, [0x1800a4aa8]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x20], xmm0
test ecx, ecx
je 0x180020ade
cmp ecx, 1
setne al
test al, al
je 0x180020ae2
lea rcx, [rbp + 0x160]
cmp qword [rbp + 0x178], 8
cmovae rcx, qword [rbp + 0x160]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x320]
call fcn.1800303ac
mov edx, eax
test eax, eax
jne 0x18001ff1e
mov ecx, dword [rbp + 0x330]
bt ecx, 0xa
jae 0x18001ff11
mov eax, dword [rbp + 0x334]
cmp eax, 0xa000000c
je 0x18001ff3b
cmp eax, 0xa0000003
jne 0x18001ff11
lea esi, [rdx + 0xa]
jmp 0x18001ff3b
mov esi, ecx
and esi, 0x10
or esi, 0x20
shr esi, 4
jmp 0x18001ff3b
sub eax, 2
je 0x18001ff36
sub eax, 1
je 0x18001ff36
sub eax, 0x32
je 0x18001ff36
cmp eax, 0x46
je 0x18001ff36
xor al, al
jmp 0x18001ff38
mov al, 1
movzx esi, al
test edx, edx
je 0x18001ff4d
lea eax, [rsi - 1]
test eax, 0xfffffff7
jne 0x180020b59
cmp esi, 3
jne 0x180020ae2
mov qword [rbp + 0x200], rdi
mov qword [rbp + 0x210], rdi
mov qword [rbp + 0x218], 7
mov word [rbp + 0x200], di
or r14d, 0x20
mov dword [rsp + 0x40], r14d
lea rcx, [rbp + 0x200]
call fcn.18001f370
test eax, eax
jne 0x180020b6d
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0x1c0]
call fcn.180008120
or r14d, 0x40
mov dword [rsp + 0x40], r14d
mov r8, qword [rbp + 0x1d0]
mov rcx, qword [rbp + 0x1d8]
mov rax, rcx
sub rax, r8
lea r12d, [rsi + 0xa]
cmp rax, r12
jb 0x180020069
lea rax, [r8 + 0xd]
mov qword [rbp + 0x1d0], rax
lea rsi, [rbp + 0x1c0]
cmp rcx, 8
cmovae rsi, qword [rbp + 0x1c0]
lea rax, [0x18008edca]
lea r13, str.Current_dir:
cmp rax, rsi
jbe 0x18002001f
lea rax, [rsi + r8*2]
cmp r13, rax
ja 0x18002001f
cmp rsi, r13
ja 0x180020014
mov r15, rdi
jmp 0x180020022
mov r15, rsi
sub r15, r13
sar r15, 1
jmp 0x180020022
mov r15, r12
lea rcx, [rsi + 0x1a]
lea r8, [r8*2 + 2]
mov rdx, rsi
call fcn.18003fb70
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r13
mov rcx, rsi
call fcn.18003fb70
lea rdx, [r13 + 0x1a]
lea rdx, [rdx + r15*2]
lea rcx, [rsi + rbx]
sub r12, r15
lea r8, [r12 + r12]
call fcn.18003fb70
lea rax, [rbp + 0x1c0]
jmp 0x18002007d
mov qword [rsp + 0x28], r12
mov rdx, r12
lea rcx, [rbp + 0x1c0]
call fcn.180023660
mov qword [rbp + 0x1e0], rdi
mov qword [rbp + 0x1f0], rdi
mov qword [rbp + 0x1f8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1e0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
bts r14d, 7
mov dword [rsp + 0x40], r14d
mov r8d, 1
lea rdx, [0x18008ed98]
lea rcx, [rbp + 0x1e0]
call fcn.180008fd0
mov qword [rbp + 0x180], rdi
mov qword [rbp + 0x190], rdi
mov qword [rbp + 0x198], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x180], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x190], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
bts r14d, 8
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 8
jb 0x180020160
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002015b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002015b
call qword [0x18008f290]
int3
call fcn.18002e10c
mov qword [rbp + 0x1f0], rdi
mov qword [rbp + 0x1f8], 7
mov word [rbp + 0x1e0], di
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 8
jb 0x1800201c2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800201bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800201bd
call qword [0x18008f290]
int3
call fcn.18002e10c
mov qword [rbp + 0x1d0], rdi
mov qword [rbp + 0x1d8], 7
mov word [rbp + 0x1c0], di
and r14d, 0xffffffdf
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x218]
cmp rdx, 8
jb 0x18002022d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020228
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180020228
call qword [0x18008f290]
int3
call fcn.18002e10c
mov qword [rbp + 0x210], rdi
mov qword [rbp + 0x218], 7
mov word [rbp + 0x200], di
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp + 0x150]
cmp rcx, 1
jbe 0x1800203c0
sub rax, rcx
cmp rax, 0xf
jb 0x180020b7c
lea rax, [rbp + 0x140]
cmp qword [rbp + 0x158], 8
cmovae rax, qword [rbp + 0x140]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xf
lea r9, str.Requested_dir:
lea rcx, [rbp + 0x2c0]
call fcn.18000a890
bts r14d, 9
mov r8d, 2
lea rdx, [0x18008eda4]
lea rcx, [rbp + 0x2c0]
call fcn.180008fd0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2a0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2b0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
bts r14d, 0xa
mov dword [rsp + 0x40], r14d
lea rdx, [rbp + 0x2a0]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 8
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x180]
call fcn.180008fd0
nop
mov rdx, qword [rbp + 0x2b8]
cmp rdx, 8
jb 0x180020375
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002036f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002036f
call qword [0x18008f290]
int3
call fcn.18002e10c
nop
mov rdx, qword [rbp + 0x2d8]
cmp rdx, 8
jb 0x1800203d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800203b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800203b9
call qword [0x18008f290]
int3
call fcn.18002e10c
jmp 0x1800203d9
mov r8d, 1
lea rdx, [0x18008ed98]
lea rcx, [rbp + 0x180]
call fcn.180008fd0
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x70]
call fcn.180021db0
test eax, eax
jne 0x180020b82
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180020413
lock inc dword [rcx + 8]
mov rcx, qword [rsp + 0x78]
mov r14d, dword [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
test rcx, rcx
je 0x180020431
lock inc dword [rcx + 8]
mov rcx, qword [rsp + 0x78]
mov r14d, dword [rsp + 0x40]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r13d, 0xffffffff
test rcx, rcx
je 0x18002047b
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180020476
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180020476
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 8]
mov r14d, dword [rsp + 0x40]
mov r12, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x180020a3b
lea rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 8
jb 0x18002049d
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
lea rdx, [rcx + rax*2]
mov r10, rdx
call fcn.18001cac0
cmp rax, rdx
je 0x1800204ec
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x1800204c1
cmp cx, 0x2f
jne 0x1800204ca
add rax, 2
cmp rax, rdx
jne 0x1800204b2
cmp rax, rdx
je 0x1800204ec
nop
lea r8, [r10 - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x1800204ec
cmp cx, 0x2f
je 0x1800204ec
mov r10, r8
cmp rax, r8
jne 0x1800204d0
sub rdx, r10
sar rdx, 1
mov qword [rbp + 0x1a0], rdi
mov qword [rbp + 0x1b0], rdi
mov qword [rbp + 0x1b8], 7
mov word [rbp + 0x1a0], di
lea rcx, [rbp + 0x1a0]
cmp rdx, 7
ja 0x18002053f
mov qword [rbp + 0x1b0], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r10
call fcn.18003fb70
mov word [rbp + rbx + 0x1a0], di
jmp 0x180020547
mov r9, r10
call fcn.180009d80
or r14d, 0x3800
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x240]
call fcn.180008120
bts r14d, 0xe
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 8
jb 0x1800205b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800205ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180020a2d
call fcn.18002e10c
mov qword [rbp + 0x1b0], rdi
mov qword [rbp + 0x1b8], 7
mov word [rbp + 0x1a0], di
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.18001e1d0
mov rax, qword [rbp - 0x40]
mov edx, dword [rbp - 0x38]
test edx, edx
je 0x1800205f0
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x180020b98
cmp eax, 3
jne 0x1800206d8
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp + 0x250]
sub rax, rcx
cmp rax, 7
jb 0x180020ba9
lea r9, [rbp + 0x240]
cmp qword [rbp + 0x258], 8
cmovae r9, qword [rbp + 0x240]
mov qword [rsp + 0x30], 7
lea rax, str.___DIR_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x260]
call fcn.18000a890
bts r14d, 0xf
mov dword [rsp + 0x40], r14d
lea rdx, [rbp + 0x260]
cmp qword [rbp + 0x278], 8
cmovae rdx, qword [rbp + 0x260]
mov r8, qword [rbp + 0x270]
lea rcx, [rbp + 0x180]
call fcn.180008fd0
nop
mov rdx, qword [rbp + 0x278]
cmp rdx, 8
jb 0x1800208bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x260]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800206ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180020a34
call fcn.18002e10c
jmp 0x1800208bc
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.18001e1d0
mov rax, qword [rbp - 0x60]
mov edx, dword [rbp - 0x58]
test edx, edx
je 0x1800206fe
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x180020baf
cmp eax, 2
jne 0x1800208a9
mov eax, dword [rsi + 0x1c]
test al, 8
je 0x180020714
mov r8, qword [rsi + 8]
jmp 0x180020754
test al, 2
je 0x18002071e
mov r9d, dword [rsi + 0x10]
jmp 0x180020724
mov r9d, 0xffffffff
lea rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 8
jb 0x180020733
mov rcx, qword [rsi + 0x20]
mov r8d, 9
lea rdx, [rbp + 0x340]
call fcn.1800303ac
test eax, eax
jne 0x180020bc0
mov r8, qword [rbp + 0x348]
lea r9, [rbp + 0x65a]
movabs r13, 0xcccccccccccccccd
nop word [rax + rax]
add r9, 0xfffffffffffffffe
mov rax, r13
mul r8
shr rdx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8, rdx
test rdx, rdx
jne 0x180020770
lea r13d, [rdx - 1]
mov qword [rbp + 0x220], rdi
mov qword [rbp + 0x230], rdi
mov qword [rbp + 0x238], 7
mov word [rbp + 0x220], di
lea rax, [rbp + 0x65a]
cmp r9, rax
je 0x18002080f
lea rdx, [rbp + 0x65a]
sub rdx, r9
sar rdx, 1
lea rcx, [rbp + 0x220]
cmp rdx, 7
ja 0x18002080a
mov qword [rbp + 0x230], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.18003fb70
mov word [rbp + rbx + 0x220], di
jmp 0x18002080f
call fcn.180009d80
or r14d, 0x30000
mov dword [rsp + 0x40], r14d
lea r8, [0x18008ee00]
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x3a0]
call fcn.1800094a0
nop
lea r8, [rbp + 0x220]
mov rdx, rax
lea rcx, [rbp + 0x380]
call fcn.180009510
nop
lea r8, str._bytes_
mov rdx, rax
lea rcx, [rbp + 0x360]
call fcn.180022110
nop
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.180007f80
nop
lea rcx, [rbp + 0x360]
call fcn.180002aa0
nop
lea rcx, [rbp + 0x380]
call fcn.180002aa0
nop
lea rcx, [rbp + 0x3a0]
call fcn.180002aa0
nop
lea rcx, [rbp + 0x220]
call fcn.180002aa0
jmp 0x1800208bc
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x180]
call fcn.180007f80
lea rdx, [rbp - 0x68]
mov rcx, rsi
call fcn.18001e100
mov rdx, qword [rbp - 0x68]
call fcn.180022180
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.180059148
mov rbx, rax
lea rcx, [rbp + 0x30]
call fcn.180020d10
nop
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.1800221e0
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.180022210
lea rdx, [0x18008ee18]
lea rcx, [rbp + 0x180]
call fcn.180021080
lea rdx, [rbp + 0x3c0]
lea rcx, [rbp + 0x30]
call fcn.180020c90
nop
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.180007f80
nop
lea rcx, [rbp + 0x3c0]
call fcn.180002aa0
lea rdx, [0x18008ee44]
lea rcx, [rbp + 0x180]
call fcn.180021080
nop
lea rcx, [rbp + 0x30]
call fcn.180020c20
nop
lea rcx, [rbp + 0x240]
call fcn.180002aa0
nop dword [rax]
lea rdx, [rbp + 0x3e0]
mov rcx, qword [rsi + 0x40]
call fcn.1800300c4
cmp eax, 0x12
je 0x1800209c7
test eax, eax
jne 0x180020bd3
cmp word [rbp + 0x40c], 0x2e
jne 0x1800209b3
movzx eax, word [rbp + 0x40e]
test ax, ax
je 0x180020970
cmp ax, 0x2e
jne 0x1800209b3
cmp word [rbp + 0x410], 0
je 0x180020970
lea rdx, [rbp + 0x3e0]
mov rcx, rsi
call fcn.18001e750
jmp 0x180020485
mov rsi, rdi
mov qword [rsp + 0x50], rdi
mov rbx, r12
mov r15, r12
mov rcx, r12
mov rax, r12
mov r12, rdi
mov qword [rsp + 0x58], rdi
test rax, rax
je 0x180020485
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180020a10
mov rax, qword [rcx]
call qword [rax]
mov eax, r13d
lock xadd dword [r15 + 0xc], eax
cmp eax, 1
je 0x180020a1a
nop dword [rax]
mov r14d, dword [rsp + 0x40]
jmp 0x18002047b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov r14d, dword [rsp + 0x40]
jmp 0x18002047b
call qword [0x18008f290]
int3
call qword [0x18008f290]
nop
lea rcx, [rbp - 0x30]
call fcn.18001ebe0
nop
lea rcx, [rsp + 0x50]
call fcn.18001ebe0
nop
lea rcx, [rsp + 0x70]
call fcn.18001ebe0
mov ecx, 0x20
call fcn.18002e0d0
mov qword [rsp + 0x48], rax
mov rcx, rax
call fcn.18000c810
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.180009530
nop
mov eax, dword [rbp + 0x190]
lea r8d, [rax + rax]
lea rcx, [rbp + 0x180]
call fcn.180007f70
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.18000cb90
mov rax, qword [rbp - 0x78]
mov r8, qword [rax + 8]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.180007e90
mov rdx, rax
mov rcx, r8
call fcn.180019f40
nop
lea rcx, [rsp + 0x60]
call fcn.180007e10
nop
lea rcx, [rbp + 0x180]
call fcn.180002aa0
jmp 0x180020ae7
test edx, edx
jne 0x180020b39
mov edi, 0x57
lea rcx, [rbp + 0x160]
call fcn.18001d3c0
nop
lea rcx, [rbp + 0x140]
call fcn.180002aa0
mov eax, edi
jmp 0x180020b09
mov eax, 1
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.18002e0b0
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rbp + 0x160]
lea rdx, [rbp - 0x20]
call fcn.18001dce0
nop
mov edx, eax
lea rcx, str.current_path__
call fcn.18001db80
nop
lea r8, [rbp + 0x160]
lea rcx, str.status
call fcn.18001dc70
nop
mov edx, eax
lea rcx, str.current_path__
call fcn.18001db80
nop
call fcn.180004410
nop
lea r8, [rbp + 0x160]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.18001dc70
nop
lea r8, [rsi + 0x20]
lea rcx, str.directory_entry::status
call fcn.18001dc70
int3
call fcn.180004410
int3
lea r8, [rsi + 0x20]
lea rcx, str.directory_entry::status
call fcn.18001dc70
int3
lea r8, [rsi + 0x20]
mov edx, eax
lea rcx, str.directory_entry::file_size
call fcn.18001dc70
nop
mov edx, eax
lea rcx, str.directory_iterator::operator
call fcn.18001db80
int3