Function at 0x180129250
Capabilities:
Enumerate files on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x1c58
call fcn.1800e9570
sub rsp, rax
mov rax, qword [0x180173200]
xor rax, rsp
mov qword [rsp + 0x1c40], rax
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x68], 0xffffffffffffffff
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x3c], 0
cmp qword [rsp + 0x1c68], 0
je 0x1801292c7
mov rax, qword [rsp + 0x1c68]
movsx eax, byte [rax]
test eax, eax
jne 0x1801292d1
mov rax, qword [rsp + 0x58]
jmp 0x18012994f
mov edx, 0x4e20
mov rcx, qword [rsp + 0x1c60]
call fcn.18000bb40
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1801292fa
mov rax, qword [rsp + 0x30]
jmp 0x18012994f
lea rdx, [0x18017545c]
mov rcx, qword [rsp + 0x1c68]
call fcn.1800fb190
test eax, eax
jne 0x18012931a
mov dword [rsp + 0x40], 0
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax], 0
mov rdx, qword [rsp + 0x1c68]
lea rcx, [rsp + 0x330]
call fcn.1800faf60
lea rcx, [rsp + 0x330]
call fcn.1800fb030
movsx eax, byte [rsp + rax + 0x32f]
cmp eax, 0x5c
jne 0x180129391
lea rcx, [rsp + 0x330]
call fcn.1800fb030
dec rax
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0x105
jae 0x18012937d
jmp 0x180129382
call fcn.1800e9a54
mov rax, qword [rsp + 0x70]
mov byte [rsp + rax + 0x330], 0
jmp 0x180129341
lea rcx, [rsp + 0x330]
call fcn.1800fb030
movsx eax, byte [rsp + rax + 0x32f]
cmp eax, 0x2f
jne 0x1801293e1
lea rcx, [rsp + 0x330]
call fcn.1800fb030
dec rax
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0x105
jae 0x1801293cd
jmp 0x1801293d2
call fcn.1800e9a54
mov rax, qword [rsp + 0x78]
mov byte [rsp + rax + 0x330], 0
jmp 0x180129391
lea rcx, [rsp + 0x330]
call fcn.1800fb030
cmp rax, 2
jne 0x18012941e
mov eax, 1
imul rax, rax, 1
movsx eax, byte [rsp + rax + 0x330]
cmp eax, 0x3a
jne 0x18012941e
lea rdx, [0x180175460]
lea rcx, [rsp + 0x330]
call fcn.1800faec0
mov r8d, 0x1000
lea rdx, [rsp + 0xc40]
lea rcx, [rsp + 0x330]
call fcn.1800223e0
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0xc40]
call fcn.1801002fc
test eax, eax
je 0x18012957b
cmp dword [rsp + 0x1c78], 0
je 0x180129473
mov rcx, qword [rsp + 0x1c68]
call fcn.1801299f0
mov dword [rsp + 0x3c], eax
jmp 0x18012947b
mov dword [rsp + 0x3c], 1
cmp dword [rsp + 0x3c], 0
je 0x180129494
mov rdx, qword [rsp + 0x1c68]
mov rcx, qword [rsp + 0x30]
call fcn.1800faf60
cmp dword [rsp + 0x1c70], 0
je 0x180129576
mov rax, qword [rsp + 0x1c60]
add rax, 0xc30
mov r8d, 0x800
mov rdx, qword [rsp + 0x1c68]
mov rcx, rax
call fcn.18000c140
mov rax, qword [rsp + 0x1c60]
add rax, 0xc30
mov edx, 0x5c
mov rcx, rax
call fcn.1800ea858
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18012950d
mov rax, qword [rsp + 0x1c60]
add rax, 0xc30
cmp qword [rsp + 0x48], rax
je 0x18012950d
mov rax, qword [rsp + 0x48]
mov byte [rax], 0
jmp 0x180129576
mov rax, qword [rsp + 0x1c60]
add rax, 0xc30
mov edx, Ordinal_50
mov rcx, rax
call fcn.1800ea858
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18012953f
mov rax, qword [rsp + 0x48]
mov byte [rax], 0
jmp 0x180129576
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x1c60]
movsx eax, byte [rcx + rax + 0xc30]
cmp eax, 0x5c
je 0x180129576
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x1c60]
mov byte [rcx + rax + 0xc30], 0
jmp 0x180129908
lea rdx, [rsp + 0x330]
mov rcx, qword [rsp + 0x1c68]
call fcn.1800faf60
movzx eax, word [rsp + 0xae]
and eax, 0x8000
test eax, eax
je 0x18012966b
mov rdx, qword [rsp + 0x1c68]
mov rcx, qword [rsp + 0x30]
call fcn.1800faf60
cmp dword [rsp + 0x1c70], 0
je 0x180129666
mov rax, qword [rsp + 0x1c60]
add rax, 0xc30
mov r8d, 0x800
mov rdx, qword [rsp + 0x1c68]
mov rcx, rax
call fcn.18000c140
mov rax, qword [rsp + 0x1c60]
add rax, 0xc30
mov edx, 0x5c
mov rcx, rax
call fcn.1800ea858
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x18012961b
mov rax, qword [rsp + 0x50]
mov byte [rax], 0
jmp 0x180129666
mov rax, qword [rsp + 0x1c60]
add rax, 0xc30
mov edx, Ordinal_50
mov rcx, rax
call fcn.1800ea858
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x18012964d
mov rax, qword [rsp + 0x50]
mov byte [rax], 0
jmp 0x180129666
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x1c60]
mov byte [rcx + rax + 0xc30], 0
jmp 0x180129908
cmp dword [rsp + 0x1c70], 0
je 0x180129699
mov rax, qword [rsp + 0x1c60]
add rax, 0xc30
mov r8d, 0x800
mov rdx, qword [rsp + 0x1c68]
mov rcx, rax
call fcn.18000c140
mov rax, qword [rsp + 0x1c60]
cmp dword [rax + 0x1438], 0
je 0x1801296bb
lea rax, [0x180175464]
mov qword [rsp + 0x80], rax
jmp 0x1801296ca
lea rax, [0x18017546c]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x330]
call fcn.1800faec0
mov rax, qword [rsp + 0x1c60]
cmp dword [rax + 0x1438], 0
je 0x180129701
lea rax, str..dat
mov qword [rsp + 0x88], rax
jmp 0x180129710
lea rax, str..lic
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
mov r8d, 0x1000
lea rdx, [rsp + 0xc40]
lea rcx, [rsp + 0x330]
call fcn.1800223e0
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xc40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0xffffffffffffffff
je 0x180129908
mov r8d, 0x800
lea rdx, [rsp + 0x440]
lea rcx, [rsp + 0x10c]
call fcn.180022450
lea rcx, [rsp + 0x440]
call fcn.1800fb030
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x60]
call fcn.1800fb030
mov rcx, qword [rsp + 0x90]
sub rcx, rax
mov rax, rcx
lea rax, [rsp + rax + 0x440]
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.180105d10
test eax, eax
jne 0x1801297f1
lea rax, [rsp + 0x440]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x1c68]
mov rcx, qword [rsp + 0x30]
call fcn.180129970
mov dword [rsp + 0x38], 0
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1801298fd
mov r8d, 0x800
lea rdx, [rsp + 0x440]
lea rcx, [rsp + 0x10c]
call fcn.180022450
lea rcx, [rsp + 0x440]
call fcn.1800fb030
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x60]
call fcn.1800fb030
mov rcx, qword [rsp + 0x98]
sub rcx, rax
mov rax, rcx
lea rax, [rsp + rax + 0x440]
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.180105d10
test eax, eax
jne 0x1801298f8
lea rcx, [rsp + 0x440]
call fcn.1800fb030
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x30]
call fcn.1800fb030
mov rcx, qword [rsp + 0xa0]
lea rax, [rcx + rax + 1]
cmp rax, 0x4e20
jae 0x1801298d8
lea rax, [rsp + 0x440]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x1c68]
mov rcx, qword [rsp + 0x30]
call fcn.180129970
mov dword [rsp + 0x38], 0
jmp 0x1801298f8
mov rcx, qword [rsp + 0x30]
call fcn.18000bb20
mov rax, qword [rsp + 0x1c60]
mov dword [rax + 0x228], 0xffffff9a
xor eax, eax
jmp 0x18012994f
jmp 0x1801297f1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x30]
call fcn.1800fb030
inc rax
mov edx, eax
mov rcx, qword [rsp + 0x1c60]
call fcn.18000bb40
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x180129940
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.1800faf60
mov rcx, qword [rsp + 0x30]
call fcn.18000bb20
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1c40]
xor rcx, rsp
call fcn.1800e95d0
add rsp, 0x1c58
ret