Function at 0x180126646
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
btr rbp, 0x64
push rbx
rcl bp, cl
btr bx, r9w
push rsi
neg rax
or bh, 0xbe
movsx rax, sp
push rdi
neg ax
push r12
push r13
push r14
bt r12w, 0x7d
lea rbp, [rsp - 0x240]
rcl r12w, cl
shrd rdi, r9, 0x19
sub rsp, 0x340
adc ah, dh
mov dil, 0xf5
adc di, 0x4134
mov rax, qword [0x180079010]
sub bh, 0x8a
rcl r12d, cl
shr dil, cl
xor rax, rsp
rcr dil, 0xc5
ror dil, 0xa1
mov qword [rbp + 0x230], rax
mov r12, r8
sal dil, 0xb5
mov rdi, rcx
movsx bx, bpl
shld rbx, rdx, 0x58
movabs rbx, 0x200000000801
clc
stc
jmp 0x1801266da
cmp rdx, rcx
jmp 0x1801266e2
je 0x18012672d
mov al, byte [rdx]
sub al, 0x2f
clc
cmp al, 0x2d
ja 0x180126708
movsx rax, al
bt rbx, rax
jmp 0x180126702
jb 0x18012672d
mov rcx, rdi
jmp 0x180126710
call fcn.180081102
mov rdx, rax
jmp 0x180126724
cmp rax, rdi
jne 0x1801266e8
mov r8b, byte [rdx]
cmp r8b, 0x3a
jmp 0x180126739
jne 0x18012677a
lea rax, [rdi + 1]
cmp r15b, 0xa9
cmp rdx, rax
jmp 0x18012674f
je 0x18012677a
mov r9, r12
xor r8d, r8d
xadd ecx, ecx
add cl, ch
xor edx, edx
bswap ecx
movsx rcx, dx
mov rcx, rdi
jmp 0x180126770
call fcn.1801262c1
jmp 0x180126ce1
sub r8b, 0x2f
cmp di, 0x490
sub r14d, r14d
cmc
clc
test r8w, bp
cmp r8b, 0x2d
ja 0x1801267ab
movsx rax, r8b
jmp 0x18012679f
bt rbx, rax
mov al, 1
jb 0x1801267b4
mov al, r14b
sub ch, 0x64
btr ecx, ecx
sub rdx, rdi
setp ch
bswap cx
mov qword [rsp + 0x40], r14
jmp 0x1801267c7
inc rdx
xor cl, 0xea
mov qword [rsp + 0x48], r14
bts cx, r14w
xor ch, 0x1e
neg al
cmovb cx, r12w
mov qword [rsp + 0x50], r14
setg ch
movsx rcx, r9w
mov ecx, 0x151a4470
lea rcx, [rsp + 0x70]
jmp 0x1801267fc
mov qword [rsp + 0x58], r14
jmp 0x180126806
sbb r13, r13
cmp al, 0xfe
stc
mov qword [rsp + 0x60], r14
and r13, rdx
mov byte [rsp + 0x68], r14b
cmp sil, 0x17
clc
jmp 0x180126823
xor edx, edx
jmp 0x18012682a
mov qword [rsp + 0x38], r13
jmp 0x180126834
call fcn.180126d46
mov rax, qword [rsp + 0x78]
movsxd rcx, r8d
and cx, 0x5345
mov ecx, 0xfde9
cmp sp, r9w
cmp dword [rax + 0xc], ecx
jmp 0x180126857
jne 0x18012688b
cmp byte [rbp - 0x78], r14b
je 0x18012687e
mov rax, qword [rsp + 0x70]
setne r9b
shr r9b, 0xa6
and dword [rax + 0x3a8], 0xfffffffd
mov r9b, sil
mov r9d, ecx
jmp 0x180126886
jmp 0x18012690c
call fcn.18012930b
test eax, eax
jmp 0x180126897
jne 0x1801268dc
cmp byte [rbp - 0x78], r14b
jmp 0x1801268a6
je 0x1801268cc
mov rax, qword [rsp + 0x70]
bts r9d, r15d
bt r9, 0x6a
and dword [rax + 0x3a8], 0xfffffffd
movzx r9, r15w
mov r9, 0x41422c65
mov r9d, 1
jmp 0x1801268d7
jmp 0x18012690c
cmp byte [rbp - 0x78], r14b
je 0x180126900
mov rax, qword [rsp + 0x70]
sub dl, r15b
and dword [rax + 0x3a8], 0xfffffffd
movzx r9d, si
movsx r9d, dx
not r9b
mov r9d, r14d
jmp 0x18012690c
lea r8, [rsp + 0x30]
movsx cx, bh
not dx
mov rcx, rdi
lea rdx, [rsp + 0x40]
jmp 0x180126925
call fcn.180125832
mov rcx, qword [rsp + 0x50]
lea r8, [rbp - 0x20]
test eax, eax
jmp 0x18012693a
mov dword [rsp + 0x28], r14d
jmp 0x180126944
mov qword [rsp + 0x20], r14
jmp 0x18012694e
cmovne rcx, r14
clc
xor r9d, r9d
sub edx, edx
jmp 0x18012695d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
test r11d, edx
cmp rax, 0xffffffffffffffff
jmp 0x180126972
jne 0x1801269cf
mov r9, r12
cmp r10w, 0x4f6e
sub r8d, r8d
shld rcx, r9, 0xd0
sal cx, cl
sub edx, edx
movzx cx, ch
setge cl
mov rcx, rdi
jmp 0x18012699d
call fcn.1801262c1
mov ebx, eax
test dx, 0x6d75
cmp byte [rsp + 0x68], r14b
je 0x1801269c3
mov rcx, qword [rsp + 0x50]
jmp 0x1801269be
call fcn.1801257ac
mov eax, ebx
jmp 0x1801269ca
jmp 0x180126ce1
mov rsi, qword [r12 + 8]
sub rsi, qword [r12]
bswap cx
sar cl, 0x5c
rol rcx, 0x13
sar rsi, 3
shld rcx, r12, 0x12
xor edx, edx
movsx rcx, r9w
mov qword [rbp - 0x50], r14
lea rcx, [rbp - 0x70]
jmp 0x1801269fe
mov qword [rbp - 0x48], r14
jmp 0x180126a07
mov qword [rbp - 0x40], r14
jmp 0x180126a10
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
jmp 0x180126a1d
mov byte [rbp - 0x28], r14b
jmp 0x180126a26
call fcn.180126d46
mov rax, qword [rbp - 0x68]
cmovns rcx, r15
mov ecx, 0xfde9
clc
cmp spl, 0xce
cmp dword [rax + 0xc], ecx
jmp 0x180126a45
jne 0x180126a7c
cmp byte [rbp - 0x58], r14b
je 0x180126a6f
mov rax, qword [rbp - 0x70]
shld r9, r13, 0xca
clc
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x180126a6f
mov r9d, ecx
jmp 0x180126a77
jmp 0x180126aee
call fcn.18012930b
test eax, eax
jne 0x180126abe
cmp byte [rbp - 0x58], r14b
jmp 0x180126a92
je 0x180126aae
mov rax, qword [rbp - 0x70]
not r9d
movzx r9d, ax
and dword [rax + 0x3a8], 0xfffffffd
not r9w
mov r9d, 1
jmp 0x180126ab9
jmp 0x180126aee
cmp byte [rbp - 0x58], r14b
jmp 0x180126ac7
je 0x180126aeb
mov rax, qword [rbp - 0x70]
rol r8, 0x91
or ecx, 0x32d45470
cmc
and dword [rax + 0x3a8], 0xfffffffd
movsx rcx, r8w
movzx r9, r10w
mov r9d, r14d
lea r8, [rsp + 0x30]
movsxd rdx, ecx
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xc]
jmp 0x180126b03
call fcn.180125b1e
mov r14, qword [rbp - 0x40]
adc cx, r15w
sar cx, 0xe0
bswap ecx
sub edx, edx
movsx rcx, r15w
test eax, eax
movsx cx, spl
not cx
movzx rcx, bp
mov rcx, r14
jmp 0x180126b32
cmovne rcx, rdx
stc
cmp byte [rcx], 0x2e
jmp 0x180126b3f
jne 0x180126b86
mov al, byte [rcx + 1]
test al, al
jne 0x180126b6b
cmp byte [rbp - 0x28], dl
jmp 0x180126b58
je 0x180126bd9
mov rcx, r14
call fcn.1801257ac
jmp 0x180126bd9
cmp al, 0x2e
jmp 0x180126b72
jne 0x180126b86
cmp byte [rcx + 2], dl
jmp 0x180126b80
je 0x180126b50
mov r9, r12
cwd
mov r8, r13
movsx dx, bl
mov edx, r8d
movsxd rdx, r14d
mov rdx, rdi
call fcn.1801262c1
mov r13d, eax
cmp r12b, 0x17
test eax, eax
jmp 0x180126bae
jne 0x180126c9a
cmp byte [rbp - 0x28], al
jmp 0x180126bbc
je 0x180126bcf
mov rcx, r14
jmp 0x180126bca
call fcn.1801257ac
mov r13, qword [rsp + 0x38]
cwd
cdq
not cl
lea rdx, [rbp - 0x20]
xchg ecx, ecx
cmovns ecx, ebx
mov rcx, rbx
jmp 0x180126bea
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
xor r14d, r14d
test eax, eax
jmp 0x180126bfa
jne 0x1801269eb
mov rax, qword [r12]
setns dl
or dh, 0xa4
mov rdx, qword [r12 + 8]
jmp 0x180126c19
sub rdx, rax
cmp r10, rsp
jmp 0x180126c24
sar rdx, 3
test sp, r12w
cmp rsi, rdx
jmp 0x180126c34
je 0x180126c70
sub rdx, rsi
jmp 0x180126c4a
lea rcx, [rax + rsi*8]
lea r9, [0x180063df8]
movsx r8, r13w
jmp 0x180126c62
lea r8d, [r14 + 8]
jmp 0x180126c6b
call fcn.18012c1e9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [rsp + 0x68], r14b
je 0x180126c93
mov rcx, qword [rsp + 0x50]
jmp 0x180126c8e
call fcn.1801257ac
sub eax, eax
jmp 0x180126ce1
cmp byte [rbp - 0x28], 0
jmp 0x180126ca3
je 0x180126cb1
mov rcx, r14
call fcn.1801257ac
mov rcx, rbx
jmp 0x180126cb9
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [rsp + 0x68], 0
jmp 0x180126cc9
je 0x180126cde
mov rcx, qword [rsp + 0x50]
jmp 0x180126cd9
call fcn.1801257ac
mov eax, r13d
mov rcx, qword [rbp + 0x230]
cmp r14w, ax
stc
xor rcx, rsp
jmp 0x180126cf5
call fcn.180115f01
add rsp, 0x340
mov r13, r8
mov r12, 0x4dad51d3
pop r14
jmp 0x180126d15
pop r13
pop r12
movsx esi, ax
movsxd rbp, edx
setge dil
pop rdi
movzx ebp, bp
pop rsi
bswap bp
movsx rbp, r13w
movzx ebp, r14w
pop rbx
movzx bp, al
movzx rbp, r15w
mov bpl, sil
pop rbp
jmp 0x180126d45
ret