Function at 0x1400367c0
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x368]
sub rsp, 0x468
mov rax, qword [0x1400962f8]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov r15, r8
mov qword [rbp - 0x58], rdx
mov r13, rcx
mov qword [rsp + 0x50], rcx
mov qword [rbp - 0x48], r9
mov rsi, qword [rbp + 0x3e0]
xor r12d, r12d
test rcx, rcx
jne 0x140036816
xor al, al
jmp 0x140036ebc
lea rax, vtable.CBufferTemplate_wchar_t_.0
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], r12
mov rdi, r12
test r15, r15
je 0x140036850
mov rcx, r15
nop dword [rax]
mov rax, rcx
inc rdi
add rcx, 2
cmp r12w, word [rax]
jne 0x140036840
sub rdi, 1
mov qword [rbp + 0x30], r12
mov rbx, r12
mov qword [rbp + 0x38], rbx
je 0x1400368e3
lea r14, [rdi + 0x800]
and r14, 0xfffffffffffff800
jbe 0x1400368e3
lfence
lea rdx, [r14 + r14]
xor ecx, ecx
call fcn.14004e0ec
mov rbx, rax
test rax, rax
je 0x1400368df
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x38], rax
lea r8, [rdi + rdi]
mov rdx, r15
mov rcx, rax
call fcn.14004d720
cmp rdi, 0xffffffffffffffff
jne 0x1400368ca
mov rcx, r12
mov rdx, rbx
mov rdi, rcx
mov rax, rdx
inc rcx
add rdx, 2
cmp r12w, word [rax]
jne 0x1400368b2
test rcx, rcx
je 0x1400368e3
lea rax, [rdi + 1]
cmp rax, r14
ja 0x1400368e3
mov qword [rbp + 0x30], rdi
xor eax, eax
mov word [rbx + rdi*2], ax
jmp 0x1400368e3
mov rbx, qword [rbp + 0x38]
mov r15, qword [rbp - 0x58]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400369d1
mov eax, 0xffffffff
lea rdi, vtable.CBufferTemplate_wchar_t_.0
mov r9, qword [r13 + 0x48]
test r9, r9
je 0x140036930
shr eax, 3
not al
and al, 1
movzx r8d, al
mov rdx, rbx
mov rcx, r13
mov rax, r9
call qword [case.0x140017e6f.8]
test al, al
jne 0x140036dcc
mov byte [r13 + 0x5c], 0
mov eax, dword [rsi]
inc eax
mov dword [rbp + 0xc8], eax
mov qword [rbp + 0xd0], rbx
mov r8, qword [rbp + 0x30]
mov qword [rbp + 0xd8], r8
mov qword [rbp + 0xe0], rsi
mov ecx, dword [r13 + 0x1c]
test ecx, ecx
je 0x140036968
cmp eax, ecx
ja 0x140036dcc
cmp r8, qword [rsi + 0x10]
jne 0x140036990
mov rdx, qword [rsi + 8]
mov rcx, rbx
call fcn.1400556a0
test eax, eax
je 0x140036dcc
mov r8, qword [rbp + 0xd8]
mov rbx, qword [rbp + 0xd0]
mov rsi, qword [rsi + 0x18]
test rsi, rsi
jne 0x140036968
cmp qword [rbp - 0x48], rsi
jne 0x140036dd4
lea rcx, [rbp - 0x48]
call fcn.1400364d0
test al, al
jne 0x140036dd4
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x1400369c9
lea edx, [rsi + 8]
mov rcx, r13
call qword [case.0x140017e6f.8]
xor r13b, r13b
jmp 0x140036ea6
mov ecx, eax
call fcn.14003a880
mov dword [rbp + 0x10], eax
cmp eax, 0xffffffff
je 0x1400368fe
mov ecx, eax
and ecx, 0x18
cmp cl, 0x18
jne 0x1400368fe
lea rax, vtable.CBufferTemplate_wchar_t_.0
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], r12
lfence
mov edx, 0x11000
xor ecx, ecx
call fcn.14004e0ec
mov rbx, rax
test rax, rax
jne 0x140036a2d
mov rbx, r12
mov r14, qword [rbp + 0x70]
jmp 0x140036a40
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x58], 0x8800
mov r14, rax
mov qword [rbp + 0x70], rax
test r15, r15
je 0x140036dc6
test rbx, rbx
je 0x140036dc6
mov ecx, 0x10008
call fcn.1400480a8
mov rdi, rax
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.14003d110
nop
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80
mov rcx, r15
call qword [0x140096148]
mov r10, rax
cmp rax, 0xffffffffffffffff
jne 0x140036ada
cmp byte [rbp - 8], 0
jne 0x140036ad0
lea rax, [0x14003d180]
mov rdx, qword [rbp]
mov rcx, qword [rbp + 8]
cmp rdx, rax
jne 0x140036ac7
call fcn.14003f710
mov eax, 0xffffffff
jmp 0x140036c89
mov rax, rdx
call qword [case.0x140017e6f.8]
mov eax, 0xffffffff
jmp 0x140036c89
mov r8, r10
mov rdx, qword [0x140096008]
lea rcx, [rbp + 0x78]
call fcn.14003d150
nop
xor r9d, r9d
mov r8d, 0x8004
mov rdx, rdi
mov rcx, r10
call qword [0x1400961a8]
cmp eax, 0x8004
jb 0x140036b35
mov ecx, 0x7a
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
cmp byte [rbp + 0x78], 0
jne 0x140036a9e
mov rcx, qword [rbp + 0x88]
mov rax, qword [rbp + 0x80]
call qword [case.0x140017e6f.8]
jmp 0x140036a9e
test eax, eax
jne 0x140036b5b
cmp byte [rbp + 0x78], al
jne 0x140036a9e
mov rcx, qword [rbp + 0x88]
mov rax, qword [rbp + 0x80]
call qword [case.0x140017e6f.8]
jmp 0x140036a9e
lfence
cmp byte [rbp + 0x78], 0
jne 0x140036b78
mov rcx, qword [rbp + 0x88]
mov rax, qword [rbp + 0x80]
call qword [case.0x140017e6f.8]
mov r8d, 4
lea rdx, str.__
mov rcx, rdi
call fcn.1400556a0
test eax, eax
je 0x140036bcd
cmp byte [rbp - 8], 0
jne 0x140036bc3
lea rax, [0x14003d180]
mov rdx, qword [rbp]
mov rcx, qword [rbp + 8]
cmp rdx, rax
jne 0x140036bba
call fcn.14003f710
mov eax, 0xffffffff
jmp 0x140036c85
mov rax, rdx
call qword [case.0x140017e6f.8]
mov eax, 0xffffffff
jmp 0x140036c85
cmp word [rdi + 0xa], 0x3a
jne 0x140036c0c
lfence
lea r8, [rdi + 8]
mov rax, 0xffffffffffffffff
inc rax
cmp word [r8 + rax*2], 0
jne 0x140036be2
lfence
mov edx, 0x8000
mov rcx, rbx
cmp rax, rdx
jae 0x140036c04
call fcn.140055a48
jmp 0x140036c58
mov r9d, 0x7fff
jmp 0x140036c4b
mov eax, 0x5c
mov word [rbx], ax
lea r8, [rdi + 0xe]
lfence
mov rax, 0xffffffffffffffff
inc rax
cmp word [r8 + rax*2], 0
jne 0x140036c22
lfence
mov edx, 0x7fff
lea rcx, [rbx + 2]
cmp rax, rdx
jae 0x140036c45
call fcn.140055a48
jmp 0x140036c58
mov r9d, 0x7ffe
call fcn.1400580e8
mov word [rbx + 0xfffe], r12w
cmp byte [rbp - 8], 0
jne 0x140036c82
lea rax, [0x14003d180]
mov rdx, qword [rbp]
mov rcx, qword [rbp + 8]
cmp rdx, rax
jne 0x140036c79
call fcn.14003f710
jmp 0x140036c82
mov rax, rdx
call qword [case.0x140017e6f.8]
mov eax, r12d
mov r14, qword [rbp + 0x70]
cmp eax, 0xffffffff
je 0x140036dc6
mov rcx, r12
test r14, r14
je 0x140036cdb
mov rdx, r14
nop dword [rax]
mov rdi, rcx
mov rax, rdx
inc rcx
add rdx, 2
cmp r12w, word [rax]
jne 0x140036ca0
test rcx, rcx
je 0x140036cdb
mov rax, r14
sub rax, qword [rbp + 0x60]
sar rax, 1
inc rax
add rax, rdi
cmp rax, qword [rbp + 0x58]
ja 0x140036cdb
mov qword [rbp + 0x68], rdi
xor eax, eax
mov word [r14 + rdi*2], ax
jmp 0x140036cdf
mov rdi, qword [rbp + 0x68]
mov qword [rbp + 0x30], r12
mov rbx, qword [rbp + 0x28]
mov qword [rbp + 0x38], rbx
test rdi, rdi
je 0x140036da5
lea r15, [rdi + 0x800]
and r15, 0xfffffffffffff800
mov r12, qword [rbp + 0x20]
cmp r15, r12
jbe 0x140036d3a
lfence
lea rdx, [r15 + r15]
mov rcx, qword [rbp + 0x28]
call fcn.14004e0ec
mov rbx, rax
test rax, rax
je 0x140036d9d
mov qword [rbp + 0x28], rax
mov r12, r15
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x38], rax
mov r14, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
test rbx, rbx
je 0x140036da1
lea r8, [rdi + rdi]
mov rdx, r14
mov rcx, rbx
call fcn.14004d720
cmp rdi, 0xffffffffffffffff
jne 0x140036d78
xor r8d, r8d
mov ecx, r8d
mov rdx, rbx
nop dword [rax]
mov rdi, rcx
mov rax, rdx
inc rcx
add rdx, 2
cmp r8w, word [rax]
jne 0x140036d60
test rcx, rcx
je 0x140036da1
mov rax, rbx
sub rax, qword [rbp + 0x28]
sar rax, 1
inc rax
add rax, rdi
mov r15, qword [rbp - 0x58]
cmp rax, r12
ja 0x140036da5
mov qword [rbp + 0x30], rdi
xor eax, eax
mov word [rbx + rdi*2], ax
jmp 0x140036da5
mov rbx, qword [rbp + 0x38]
mov r15, qword [rbp - 0x58]
lea rdi, vtable.CBufferTemplate_wchar_t_.0
mov qword [rbp + 0x50], rdi
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x140036dbe
call fcn.14004e0d0
mov eax, dword [rbp + 0x10]
jmp 0x140036905
mov rbx, qword [rbp + 0x38]
jmp 0x140036da5
mov r13b, 1
jmp 0x140036ea6
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0x40], rax
mov rax, qword [rax]
mov qword [rbp + 0x48], rax
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x44], r14d
mov edi, r14d
mov dword [rsp + 0x40], r14d
mov rax, qword [r13 + 0x28]
test rax, rax
je 0x140036e0b
mov rdx, r15
mov rcx, r13
call qword [case.0x140017e6f.8]
lea rax, vtable.CBufferTemplate_wchar_t_.0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r14
mov r12, r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
lea rax, [rbp + 0x148]
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x138], 0x104
mov qword [rbp + 0x140], r14
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [r15 + rbx*2], 0
jne 0x140036e53
test rbx, rbx
jne 0x140036edf
lea ecx, [rbx + 0xa]
call int.14003a5d0
nop
lea rax, [rbp + 0x148]
mov rcx, qword [rbp + 0x130]
cmp rcx, rax
je 0x140036e89
test rcx, rcx
je 0x140036e89
call fcn.14004e0d0
mov r13b, 1
lea rdi, vtable.CBufferTemplate_wchar_t_.0
mov qword [rsp + 0x68], rdi
test r12, r12
je 0x140036ea6
mov rcx, r12
call fcn.14004e0d0
nop
mov qword [rbp + 0x18], rdi
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140036eb8
call fcn.14004e0d0
movzx eax, r13b
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.140047b10
add rsp, 0x468
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r8, rbx
mov rdx, r15
lea rcx, [rbp + 0x130]
call fcn.140039420
test al, al
je 0x140036e6c
cmp word [r15 + rbx*2 - 2], 0x5c
je 0x140036f23
mov r8d, 1
lea rdx, [0x140089070]
lea rcx, [rbp + 0x130]
call fcn.140039420
test al, al
je 0x140036e6c
mov r8d, 4
lea rdx, [0x1400889f0]
lea rcx, [rbp + 0x130]
call fcn.140039420
test al, al
je 0x140036e6c
mov rbx, qword [rbp + 0x130]
test rbx, rbx
je 0x140036fd1
mov ecx, 0x468
call fcn.14004e0e4
mov r15, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140036fd1
xor edx, edx
mov r8d, 0x468
mov rcx, rax
call fcn.140049dd0
mov eax, dword [0x14009714c]
cmp eax, 0xffffffff
jne 0x140036f9d
xor r8d, r8d
lea edx, [rax + 2]
lea ecx, [rax + 7]
call fcn.140044a00
movzx eax, al
mov dword [0x14009714c], eax
mov edx, r14d
cmp eax, 1
sete dl
lea r8, [r15 + 8]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [r15], rax
cmp rax, 0xffffffffffffffff
jne 0x140036fd9
mov rcx, r15
call fcn.14004e0d0
mov r15, r14
mov qword [rsp + 0x60], r14
lea rax, [rbp + 0x148]
mov rcx, qword [rbp + 0x130]
cmp rcx, rax
je 0x140036ff6
test rcx, rcx
je 0x140036ff6
call fcn.14004e0d0
test r15, r15
je 0x140036e89
mov rbx, qword [rsp + 0x50]
jmp 0x14003700e
mov rbx, qword [rsp + 0x50]
xor r14d, r14d
mov qword [rbp + 0x128], r14
cmp dword [r15 + 0x460], 0
jne 0x14003758b
lea r8, [r15 + 0x34]
lea r14, [r15 + 0x258]
mov rax, 0xffffffffffffffff
inc rax
cmp word [r8 + rax*2], 0
jne 0x140037035
lfence
mov edx, 0x104
mov rcx, r14
cmp rax, rdx
jae 0x14003705a
call fcn.140055a48
xor r12d, r12d
jmp 0x140037070
mov r9d, 0x103
call fcn.1400580e8
xor r12d, r12d
mov word [r14 + 0x206], r12w
mov qword [rbp - 0x10], r14
mov eax, dword [r15 + 0x1c]
mov dword [rsp + 0x48], eax
mov eax, dword [r15 + 0x20]
mov dword [rsp + 0x4c], eax
mov ecx, dword [r15 + 8]
call fcn.14003a880
mov r13d, eax
mov dword [rbp + 0x128], eax
lea rdx, [r15 + 8]
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400370b2
mov dword [r15 + 0x460], 1
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x1400370d1
mov rcx, rbx
call qword [case.0x140017e6f.8]
test al, al
jne 0x14003757b
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400370e6
mov rcx, r14
call fcn.140045910
test al, al
jne 0x140037100
test byte [rbx + 0x18], 4
je 0x1400370f2
test r13b, 0x10
jne 0x140037100
test r13d, 0x300
je 0x140037112
nop dword [rax + rax]
mov r12, qword [rsp + 0x78]
mov edi, dword [rsp + 0x40]
mov esi, dword [rsp + 0x44]
jmp 0x14003700b
mov rsi, r12
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x140037140
mov rcx, rdx
nop dword [rax]
nop word [rax + rax]
mov rax, rcx
inc rsi
add rcx, 2
cmp r12w, word [rax]
jne 0x140037130
sub rsi, 1
mov rdi, r12
mov qword [rbp - 0x80], r12
mov r12, qword [rsp + 0x78]
mov rbx, r12
mov qword [rbp - 0x78], rbx
je 0x140037251
lea r15, [rsi + 0x800]
and r15, 0xfffffffffffff800
cmp r15, qword [rsp + 0x70]
jbe 0x1400371d7
lfence
lea rdx, [r15 + r15]
mov r12, qword [rsp + 0x78]
mov rcx, r12
call fcn.14004e0ec
mov rbx, rax
test rax, rax
jne 0x1400371b3
mov ebx, 0x5c
movzx r15d, bx
mov word [rbp - 0x70], bx
mov rbx, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x80]
mov r14, qword [rbp - 0x10]
mov r13d, dword [rbp + 0x128]
jmp 0x14003727d
mov r12, rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x78], rax
mov rdi, qword [rbp - 0x80]
mov r14, qword [rbp - 0x10]
mov r13d, dword [rbp + 0x128]
mov rdx, qword [rbp - 0x58]
test rbx, rbx
je 0x140037251
lea r8, [rsi + rsi]
mov rcx, rbx
call fcn.14004d720
cmp rsi, 0xffffffffffffffff
jne 0x140037218
xor r8d, r8d
mov ecx, r8d
mov rdx, rbx
nop word [rax + rax]
mov rsi, rcx
mov rax, rdx
inc rcx
add rdx, 2
cmp r8w, word [rax]
jne 0x140037200
test rcx, rcx
je 0x140037251
mov rax, rbx
sub rax, r12
sar rax, 1
inc rax
add rax, rsi
cmp rax, qword [rsp + 0x70]
ja 0x140037251
mov rdi, rsi
mov qword [rbp - 0x80], rsi
xor eax, eax
mov word [rbx + rsi*2], ax
test rsi, rsi
je 0x140037251
mov eax, 0x5c
cmp ax, word [r12 + rsi*2 - 2]
je 0x140037308
mov esi, 0x5c
mov r15d, esi
mov word [rbp - 0x70], si
cmp r12, rbx
je 0x14003727d
test rdi, rdi
je 0x140037276
lea r8, [rdi + rdi]
mov rdx, rbx
mov rcx, r12
call fcn.14004d720
mov rbx, r12
mov qword [rbp - 0x78], rbx
lea rsi, [rdi + 0x801]
and rsi, 0xfffffffffffff800
cmp rsi, qword [rsp + 0x70]
jbe 0x1400372d7
lfence
lea rdx, [rsi + rsi]
mov r12, qword [rsp + 0x78]
mov rcx, r12
call fcn.14004e0ec
mov rbx, rax
test rax, rax
je 0x14003749b
mov r12, rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x78], rax
mov rdi, qword [rbp - 0x80]
mov r14, qword [rbp - 0x10]
mov r13d, dword [rbp + 0x128]
movzx r15d, word [rbp - 0x70]
lea rax, [rbx + rdi*2]
test rax, rax
je 0x140037308
mov word [rax], r15w
mov rax, rbx
sub rax, r12
sar rax, 1
add rax, 2
add rax, rdi
cmp rax, qword [rsp + 0x70]
ja 0x140037308
inc rdi
mov qword [rbp - 0x80], rdi
xor eax, eax
mov word [rbx + rdi*2], ax
xor r8d, r8d
mov edx, r8d
test r14, r14
je 0x140037330
mov rcx, r14
nop word [rax + rax]
mov rax, rcx
inc rdx
add rcx, 2
cmp r8w, word [rax]
jne 0x140037320
lea r15, [rdx - 1]
test r15, r15
je 0x14003741d
cmp r12, rbx
je 0x14003735d
test rdi, rdi
je 0x140037356
lea r8, [rdi + rdi]
mov rdx, rbx
mov rcx, r12
call fcn.14004d720
mov rbx, r12
mov qword [rbp - 0x78], rbx
lea rsi, [rdi + 0x800]
add rsi, r15
and rsi, 0xfffffffffffff800
cmp rsi, qword [rsp + 0x70]
jbe 0x1400373b5
lfence
lea rdx, [rsi + rsi]
mov r12, qword [rsp + 0x78]
mov rcx, r12
call fcn.14004e0ec
mov rbx, rax
test rax, rax
je 0x1400374b3
mov r12, rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x78], rax
mov rdi, qword [rbp - 0x80]
mov r14, qword [rbp - 0x10]
mov r13d, dword [rbp + 0x128]
lea rsi, [rbx + rdi*2]
test rsi, rsi
je 0x14003741d
lea r8, [r15 + r15]
mov rdx, r14
mov rcx, rsi
call fcn.14004d720
cmp r15, 0xffffffffffffffff
jne 0x1400373f7
xor edx, edx
mov ecx, edx
nop word [rax + rax]
mov r15, rcx
mov rax, rsi
inc rcx
add rsi, 2
cmp dx, word [rax]
jne 0x1400373e0
test rcx, rcx
je 0x14003741d
mov rax, rbx
sub rax, r12
sar rax, 1
inc rax
add rax, r15
add rax, rdi
cmp rax, qword [rsp + 0x70]
ja 0x14003741d
add rdi, r15
mov qword [rbp - 0x80], rdi
xor eax, eax
mov word [rbx + rdi*2], ax
test r13b, 8
je 0x140037500
cmp word [r14], 0x2e
jne 0x140037462
cmp word [r14 + 2], 0
mov r15, qword [rsp + 0x60]
mov edi, dword [rsp + 0x40]
mov esi, dword [rsp + 0x44]
je 0x140037006
cmp word [r14], 0x2e
jne 0x140037462
cmp word [r14 + 2], 0x2e
jne 0x140037462
cmp word [r14 + 4], 0
je 0x140037006
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x48]
test rax, rax
je 0x1400374c7
xor r8d, r8d
mov rdx, rbx
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [case.0x140017e6f.8]
test al, al
mov r15, qword [rsp + 0x60]
mov edi, dword [rsp + 0x40]
mov esi, dword [rsp + 0x44]
jne 0x14003700b
jmp 0x1400374cc
mov rbx, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x80]
mov r14, qword [rbp - 0x10]
mov r13d, dword [rbp + 0x128]
jmp 0x140037308
mov rbx, qword [rbp - 0x78]
mov r14, qword [rbp - 0x10]
mov r13d, dword [rbp + 0x128]
jmp 0x14003741d
mov rbx, qword [rsp + 0x50]
mov r8, r14
lea rcx, [rbp - 0x48]
test r13b, 0x10
mov edx, 0x11
jne 0x1400374e3
mov edx, 1
call fcn.140036560
mov esi, dword [rsp + 0x44]
inc esi
mov dword [rsp + 0x44], esi
mov r15, qword [rsp + 0x60]
mov edi, dword [rsp + 0x40]
jmp 0x14003700b
test r13b, 0x40
mov r15, qword [rsp + 0x60]
mov edi, dword [rsp + 0x40]
mov esi, dword [rsp + 0x44]
je 0x140037006
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x48]
test rax, rax
je 0x140037543
mov r8b, 1
mov rdx, rbx
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [case.0x140017e6f.8]
test al, al
jne 0x14003700b
jmp 0x140037548
mov rbx, qword [rsp + 0x50]
mov r8, r14
lea rcx, [rbp - 0x48]
test r13b, 0x10
je 0x14003755c
mov edx, 0x10
jmp 0x14003755e
xor edx, edx
call fcn.140036560
mov edi, dword [rsp + 0x40]
inc edi
mov dword [rsp + 0x40], edi
mov r15, qword [rsp + 0x60]
mov esi, dword [rsp + 0x44]
jmp 0x14003700b
mov r12, qword [rsp + 0x78]
mov edi, dword [rsp + 0x40]
mov esi, dword [rsp + 0x44]
xor r14d, r14d
mov rcx, qword [r15]
cmp rcx, 0xffffffffffffffff
je 0x1400375a6
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x1400375a6
mov rcx, r15
call fcn.14004e0d0
test edi, edi
jne 0x1400375b2
test esi, esi
je 0x140036e89
mov r15d, r14d
mov dword [rsp + 0x58], r14d
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x1400375d4
mov rcx, rbx
call qword [case.0x140017e6f.8]
test al, al
jne 0x140037ba0
test esi, esi
jne 0x1400375dc
test edi, edi
je 0x1400375ef
imul ecx, esi, 0xf
add ecx, edi
xor edx, edx
mov eax, dword [rbp + 0x3d8]
div ecx
mov dword [rsp + 0x58], eax
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x48], rax
mov r9, qword [rbp + 0x48]
lea rsi, vtable.CBufferTemplate_wchar_t_.0
mov qword [rbp - 0x40], rsi
mov r13, r14
mov qword [rbp - 0x38], r14
mov r15, r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
mov ecx, dword [rbp + 0x3d0]
mov edi, ecx
mov dword [rbp - 0x60], ecx
jmp 0x140037633
xor r14d, r14d
mov dword [rsp + 0x60], edi
cmp r9, qword [rax]
jb 0x140037654
mov rax, qword [rax + 0x19968]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140037b7b
mov r9, r14
movzx ecx, word [rax + r9*2 + 8]
mov word [rbp - 0x18], cx
lea rcx, [rax + 0xa]
lea rcx, [rcx + r9*2]
mov qword [rbp + 0x90], rcx
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140037674
add rax, 2
add r9, rax
mov qword [rbp - 0x50], r9
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x1400376a3
mov rcx, rbx
call qword [case.0x140017e6f.8]
test al, al
jne 0x140037b7b
mov rsi, r14
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x1400376d0
mov rcx, rdx
nop dword [rax]
nop word [rax + rax]
mov rax, rcx
inc rsi
add rcx, 2
cmp r14w, word [rax]
jne 0x1400376c0
sub rsi, 1
mov rbx, r14
mov qword [rbp - 0x28], rbx
mov rdi, r15
mov qword [rbp - 0x20], r15
je 0x1400377cf
lea r14, [rsi + 0x800]
and r14, 0xfffffffffffff800
cmp r14, r13
jbe 0x140037758
lfence
lea rdx, [r14 + r14]
mov r15, qword [rbp - 0x30]
mov rcx, r15
call fcn.14004e0ec
mov rdi, rax
test rax, rax
jne 0x140037739
mov ebx, 0x5c
movzx r14d, bx
mov word [rbp - 0x68], bx
mov r12, qword [rsp + 0x78]
mov rdi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x28]
mov r13, qword [rbp - 0x38]
jmp 0x1400377fb
mov r15, rax
mov qword [rbp - 0x30], rax
mov r13, r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x20], rax
mov r12, qword [rsp + 0x78]
mov rbx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x58]
test rdi, rdi
je 0x1400377cf
lea r8, [rsi + rsi]
mov rcx, rdi
call fcn.14004d720
cmp rsi, 0xffffffffffffffff
jne 0x140037798
xor r8d, r8d
mov ecx, r8d
mov rdx, rdi
nop dword [rax + rax]
mov rsi, rcx
mov rax, rdx
inc rcx
add rdx, 2
cmp r8w, word [rax]
jne 0x140037780
test rcx, rcx
je 0x1400377cf
mov rax, rdi
sub rax, r15
sar rax, 1
inc rax
add rax, rsi
cmp rax, r13
ja 0x1400377cf
mov rbx, rsi
mov qword [rbp - 0x28], rbx
xor eax, eax
mov word [rdi + rsi*2], ax
test rsi, rsi
je 0x1400377cf
mov eax, 0x5c
cmp ax, word [r15 + rsi*2 - 2]
je 0x14003787c
mov esi, 0x5c
mov r14d, esi
mov word [rbp - 0x68], si
cmp r15, rdi
je 0x1400377fb
test rbx, rbx
je 0x1400377f4
lea r8, [rbx + rbx]
mov rdx, rdi
mov rcx, r15
call fcn.14004d720
mov rdi, r15
mov qword [rbp - 0x20], r15
lea rsi, [rbx + 0x801]
and rsi, 0xfffffffffffff800
cmp rsi, r13
jbe 0x14003784d
lfence
lea rdx, [rsi + rsi]
mov r15, qword [rbp - 0x30]
mov rcx, r15
call fcn.14004e0ec
mov rdi, rax
test rax, rax
je 0x140037a6a
mov r15, rax
mov qword [rbp - 0x30], rax
mov r13, rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x20], rax
mov r12, qword [rsp + 0x78]
mov rbx, qword [rbp - 0x28]
movzx r14d, word [rbp - 0x68]
lea rax, [rdi + rbx*2]
test rax, rax
je 0x14003787c
mov word [rax], r14w
mov rax, rdi
sub rax, r15
sar rax, 1
add rax, 2
add rax, rbx
cmp rax, r13
ja 0x14003787c
inc rbx
mov qword [rbp - 0x28], rbx
xor eax, eax
mov word [rdi + rbx*2], ax
xor r8d, r8d
mov edx, r8d
mov rax, qword [rbp + 0x90]
test rax, rax
je 0x1400378b0
mov rcx, rax
nop dword [rax]
nop word [rax + rax]
mov rax, rcx
inc rdx
add rcx, 2
cmp r8w, word [rax]
jne 0x1400378a0
lea r14, [rdx - 1]
test r14, r14
je 0x14003799b
cmp r15, rdi
je 0x1400378dd
test rbx, rbx
je 0x1400378d6
lea r8, [rbx + rbx]
mov rdx, rdi
mov rcx, r15
call fcn.14004d720
mov rdi, r15
mov qword [rbp - 0x20], r15
lea rsi, [rbx + 0x800]
add rsi, r14
and rsi, 0xfffffffffffff800
cmp rsi, r13
jbe 0x14003792d
lfence
lea rdx, [rsi + rsi]
mov r15, qword [rbp - 0x30]
mov rcx, r15
call fcn.14004e0ec
mov rdi, rax
test rax, rax
je 0x140037a80
mov r15, rax
mov qword [rbp - 0x30], rax
mov r13, rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x20], rax
mov r12, qword [rsp + 0x78]
mov rbx, qword [rbp - 0x28]
lea rsi, [rdi + rbx*2]
test rsi, rsi
je 0x14003799b
lea r8, [r14 + r14]
mov rdx, qword [rbp + 0x90]
mov rcx, rsi
call fcn.14004d720
cmp r14, 0xffffffffffffffff
jne 0x140037977
xor edx, edx
mov ecx, edx
nop dword [rax]
nop word [rax + rax]
mov r14, rcx
mov rax, rsi
inc rcx
add rsi, 2
cmp dx, word [rax]
jne 0x140037960
test rcx, rcx
je 0x14003799b
mov rax, rdi
sub rax, r15
sar rax, 1
inc rax
add rax, rbx
add rax, r14
cmp rax, r13
ja 0x14003799b
add rbx, r14
mov qword [rbp - 0x28], rbx
xor eax, eax
mov word [rdi + rbx*2], ax
xor r14d, r14d
mov qword [rbp - 0x80], r14
mov rsi, r12
mov qword [rbp - 0x78], r12
test rbx, rbx
je 0x140037aa9
lea r14, [rbx + 0x800]
and r14, 0xfffffffffffff800
cmp r14, qword [rsp + 0x70]
jbe 0x140037a08
lfence
lea rdx, [r14 + r14]
mov r12, qword [rsp + 0x78]
mov rcx, r12
call fcn.14004e0ec
mov rsi, rax
test rax, rax
je 0x140037a96
mov r12, rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x78], rax
mov rdi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x28]
mov r15, qword [rbp - 0x30]
mov r13, qword [rbp - 0x38]
test rsi, rsi
je 0x140037aa6
lea r8, [rbx + rbx]
mov rdx, rdi
mov rcx, rsi
call fcn.14004d720
xor r14d, r14d
cmp rbx, 0xffffffffffffffff
jne 0x140037a48
mov ecx, r14d
mov rdx, rsi
nop
mov rbx, rcx
mov rax, rdx
inc rcx
add rdx, 2
cmp r14w, word [rax]
jne 0x140037a30
test rcx, rcx
je 0x140037aa9
mov rax, rsi
sub rax, r12
sar rax, 1
inc rax
add rax, rbx
cmp rax, qword [rsp + 0x70]
ja 0x140037aa9
mov qword [rbp - 0x80], rbx
xor eax, eax
mov word [rsi + rbx*2], ax
jmp 0x140037aa9
mov r12, qword [rsp + 0x78]
mov rdi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x28]
mov r13, qword [rbp - 0x38]
jmp 0x14003787c
mov r12, qword [rsp + 0x78]
mov rdi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x28]
mov r13, qword [rbp - 0x38]
jmp 0x14003799b
mov rsi, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x20]
mov r15, qword [rbp - 0x30]
mov r13, qword [rbp - 0x38]
xor r14d, r14d
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx + 0x40]
test byte [rbp - 0x18], 1
je 0x140037aec
test rax, rax
je 0x140037ae3
mov r9b, 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call qword [case.0x140017e6f.8]
test al, al
mov edi, dword [rbp - 0x60]
mov rax, qword [rsp + 0x48]
mov r9, qword [rbp - 0x50]
je 0x140037633
mov edi, dword [rbp - 0x60]
add edi, dword [rsp + 0x58]
jmp 0x140037b2d
mov r14d, dword [rsp + 0x60]
test rax, rax
je 0x140037b20
mov edi, r14d
mov dword [rbp - 0x60], r14d
xor r9d, r9d
mov r8, rsi
mov rdx, rsi
mov rcx, rbx
call qword [case.0x140017e6f.8]
test al, al
mov rax, qword [rsp + 0x48]
mov r9, qword [rbp - 0x50]
je 0x140037630
mov edi, dword [rsp + 0x58]
add edi, r14d
mov r14d, 0
mov r8, qword [rbx + 0x30]
mov r9, qword [rbp - 0x50]
mov rax, qword [rsp + 0x48]
test r8, r8
mov dword [rbp - 0x60], edi
je 0x140037633
mov eax, 0x431bde83
mul edi
shr edx, 0x12
cmp dword [rbx + 0x58], edx
mov rax, qword [rsp + 0x48]
je 0x140037633
mov dword [rbx + 0x58], edx
mov rcx, rbx
mov rax, r8
call qword [case.0x140017e6f.8]
mov rax, qword [rsp + 0x48]
mov r9, qword [rbp - 0x50]
jmp 0x140037633
lea rax, vtable.CBufferTemplate_wchar_t_.0
mov qword [rbp - 0x40], rax
test r15, r15
je 0x140037b93
mov rcx, r15
call fcn.14004e0d0
mov esi, dword [rsp + 0x44]
mov edi, dword [rsp + 0x40]
mov r15d, dword [rsp + 0x58]
xor r13b, r13b
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x140037bbd
mov rcx, rbx
call qword [case.0x140017e6f.8]
test al, al
jne 0x140037db9
test byte [rbx + 0x18], 1
jne 0x140037bcb
mov r13b, 1
jmp 0x140037db9
mov r8d, r15d
imul r8d, edi
test esi, esi
jne 0x140037bda
test edi, edi
je 0x140037bee
imul ecx, esi, 0xf
add ecx, edi
imul eax, dword [rbp + 0x3d8], 0xf
xor edx, edx
div ecx
mov dword [rsp + 0x58], eax
mov rdi, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x48]
mov r14d, dword [rbp + 0x3d0]
add r14d, r8d
mov r12, qword [rbp + 0x38]
cmp rsi, qword [rdi]
jb 0x140037c1b
mov rdi, qword [rdi + 0x19968]
test rdi, rdi
je 0x140037d63
xor esi, esi
movzx r15d, word [rdi + rsi*2 + 8]
lea rbx, [rdi + rsi*2]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2 + 0xa], 0
jne 0x140037c30
add rax, 2
add rsi, rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x140037c5e
call qword [case.0x140017e6f.8]
test al, al
jne 0x140037d63
test r15b, 1
je 0x140037c04
lea rax, vtable.CBufferTemplate_wchar_t_.0
mov qword [rbp + 0x98], rax
xor eax, eax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
lea r8, [rbx + 0xa]
mov rdx, qword [rbp - 0x58]
lea rcx, [rsp + 0x68]
call fcn.140036670
lea r8, [rbx + 0xa]
mov rdx, r12
lea rcx, [rbp + 0x98]
call fcn.140036670
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x30], rax
mov r15d, dword [rsp + 0x58]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r14d
mov r9, qword [rbp - 0x48]
mov r8, qword [rbp + 0xb8]
mov rdx, qword [rbp - 0x78]
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1400367c0
test al, al
je 0x140037d44
add r14d, r15d
mov r8, qword [rbx + 0x30]
test r8, r8
je 0x140037d1c
mov eax, 0x431bde83
mul r14d
shr edx, 0x12
cmp dword [rbx + 0x58], edx
je 0x140037d1c
mov dword [rbx + 0x58], edx
mov rcx, rbx
mov rax, r8
call qword [case.0x140017e6f.8]
nop
lea rax, vtable.CBufferTemplate_wchar_t_.0
mov qword [rbp + 0x98], rax
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x140037c04
call fcn.14004e0d0
jmp 0x140037c04
lea rax, vtable.CBufferTemplate_wchar_t_.0
mov qword [rbp + 0x98], rax
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x140037d63
call fcn.14004e0d0
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x140037d7e
mov rcx, rbx
call qword [case.0x140017e6f.8]
test al, al
jne 0x140037db4
mov r13b, 1
mov r8, qword [rbx + 0x30]
test r8, r8
je 0x140037db4
mov ecx, dword [rbp + 0x3d0]
add ecx, dword [rbp + 0x3d8]
mov eax, 0x431bde83
mul ecx
shr edx, 0x12
cmp dword [rbx + 0x58], edx
je 0x140037db4
mov dword [rbx + 0x58], edx
mov rcx, rbx
mov rax, r8
call qword [case.0x140017e6f.8]
mov r12, qword [rsp + 0x78]
mov rbx, qword [rbp + 0x40]
mov rcx, rbx
call fcn.140036520
mov rax, qword [rbp + 0x48]
mov qword [rbx], rax
test rax, rax
jne 0x140036e8c
mov edx, 0x19970
mov rcx, rbx
call fcn.14003f710
jmp 0x140036e8c