Function at 0x140032fa0
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x878
mov qword [rsp + 0x158], 0xfffffffffffffffe
mov rax, qword [0x140079aa0]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov dword [rsp + 0x24], 0
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0x880]
cmp qword [rax + 0x18], 8
jb 0x14003300a
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x880]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
jmp 0x140033017
mov rax, qword [rsp + 0x880]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.14002ce90
movzx eax, al
test eax, eax
jne 0x14003302f
xor al, al
jmp 0x1400339c5
mov rax, qword [rsp + 0x888]
cmp qword [rax + 0x18], 8
jb 0x14003305d
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x888]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x14003306a
mov rax, qword [rsp + 0x888]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.14002bda0
movzx eax, al
test eax, eax
jne 0x140033123
mov rax, qword [rsp + 0x888]
cmp qword [rax + 0x18], 8
jb 0x1400330b3
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x888]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
jmp 0x1400330c3
mov rax, qword [rsp + 0x888]
mov qword [rsp + 0xa8], rax
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400330dc
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x888]
cmp qword [rax + 0x18], 8
jb 0x14003310a
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x888]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
jmp 0x140033117
mov rax, qword [rsp + 0x888]
mov qword [rsp + 0x78], rax
mov dl, 1
mov rcx, qword [rsp + 0x78]
call fcn.140034370
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x2b0]
call fcn.1400149e0
nop
lea rax, [rsp + 0x2b0]
test rax, rax
je 0x14003315f
lea rax, [rsp + 0x2b0]
add rax, 0x10
mov qword [rsp + 0xd0], rax
jmp 0x14003316b
mov qword [rsp + 0xd0], 0
mov rax, qword [rsp + 0x880]
cmp qword [rax + 0x18], 8
jb 0x14003319f
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x880]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
jmp 0x1400331af
mov rax, qword [rsp + 0x880]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.14003a570
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x880]
mov rcx, qword [rsp + 0xd0]
call fcn.14000dea0
mov rcx, qword [rsp + 0x138]
mov rdx, rcx
mov rcx, rax
call fcn.14000dae0
lea rdx, [0x1400589a8]
mov rcx, rax
call fcn.14000dae0
lea rdx, [rsp + 0x590]
lea rcx, [rsp + 0x2b0]
call fcn.1400281d0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x18], 8
jb 0x14003324c
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
jmp 0x14003325c
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x610]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x590]
call fcn.14001fb50
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x1400332c1
mov byte [rsp + 0x2b], 0
lea rax, [rsp + 0x348]
mov rcx, rax
call fcn.140018230
lea rax, [rsp + 0x348]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
movzx eax, byte [rsp + 0x2b]
jmp 0x1400339c5
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x3b0]
call fcn.1400149e0
nop
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x1b0]
call fcn.1400149e0
nop
cmp qword [rsp + 0x50], 0
je 0x140033947
lea rdx, [rsp + 0x610]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140033947
lea rax, [rsp + 0x3b0]
test rax, rax
je 0x14003333d
lea rax, [rsp + 0x3b0]
add rax, 0x10
mov qword [rsp + 0xd8], rax
jmp 0x140033349
mov qword [rsp + 0xd8], 0
mov rax, qword [rsp + 0x880]
cmp qword [rax + 0x18], 8
jb 0x14003337d
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x880]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
jmp 0x14003338d
mov rax, qword [rsp + 0x880]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.14003a570
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0x880]
mov rcx, qword [rsp + 0xd8]
call fcn.14000dea0
mov rcx, qword [rsp + 0xf8]
mov rdx, rcx
mov rcx, rax
call fcn.14000dae0
lea rdx, [rsp + 0x63c]
mov rcx, rax
call fcn.14000dae0
lea rax, [rsp + 0x1b0]
test rax, rax
je 0x1400333fd
lea rax, [rsp + 0x1b0]
add rax, 0x10
mov qword [rsp + 0xe0], rax
jmp 0x140033409
mov qword [rsp + 0xe0], 0
mov rax, qword [rsp + 0x888]
cmp qword [rax + 0x18], 8
jb 0x14003343d
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x888]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
jmp 0x14003344d
mov rax, qword [rsp + 0x888]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.14003a570
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0x888]
mov rcx, qword [rsp + 0xe0]
call fcn.14000dea0
mov rcx, qword [rsp + 0xe8]
mov rdx, rcx
mov rcx, rax
call fcn.14000dae0
lea rdx, [rsp + 0x63c]
mov rcx, rax
call fcn.14000dae0
lea rdx, [rsp + 0x5d0]
lea rcx, [rsp + 0x1b0]
call fcn.1400281d0
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x18], 8
jb 0x1400334ec
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
jmp 0x1400334f6
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov dl, 1
mov rcx, qword [rsp + 0x70]
call fcn.140034370
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x5d0]
call fcn.14001fb50
mov eax, dword [rsp + 0x610]
and eax, 0x10
test eax, eax
je 0x140033785
lea rdx, [rsp + 0x63c]
lea rcx, [rsp + 0x4b0]
call fcn.140014880
nop
lea rdx, [0x140057d34]
lea rcx, [rsp + 0x550]
call fcn.140014880
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x4b0]
call fcn.1400218a0
test eax, eax
jne 0x140033597
mov dword [rsp + 0x30], 1
jmp 0x14003359f
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400335b2
mov dword [rsp + 0x38], 1
jmp 0x1400335ba
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140033647
lea rdx, [0x1400589b0]
lea rcx, [rsp + 0x5f0]
call fcn.140014880
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x24]
or eax, 2
mov dword [rsp + 0x24], eax
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x4b0]
call fcn.1400218a0
test eax, eax
jne 0x140033611
mov dword [rsp + 0x48], 1
jmp 0x140033619
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
test eax, eax
jne 0x14003362c
mov dword [rsp + 0x40], 1
jmp 0x140033634
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x140033647
mov dword [rsp + 0x34], 1
jmp 0x14003364f
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x2c], al
mov eax, dword [rsp + 0x24]
and eax, 2
test eax, eax
je 0x14003367b
and dword [rsp + 0x24], 0xfffffffd
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x5f0]
call fcn.14001fb50
nop
mov eax, dword [rsp + 0x24]
and eax, 1
test eax, eax
je 0x14003369d
and dword [rsp + 0x24], 0xfffffffe
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x550]
call fcn.14001fb50
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x14003376e
lea rdx, [rsp + 0x570]
lea rcx, [rsp + 0x1b0]
call fcn.1400281d0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x120], rax
lea rdx, [rsp + 0x5b0]
lea rcx, [rsp + 0x3b0]
call fcn.1400281d0
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x130]
call fcn.140032fa0
movzx eax, al
test eax, eax
jne 0x14003372a
mov dword [rsp + 0x3c], 1
jmp 0x140033732
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x28], al
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x5b0]
call fcn.14001fb50
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x570]
call fcn.14001fb50
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x14003376e
mov byte [rsp + 0x20], 0
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x4b0]
call fcn.14001fb50
jmp 0x1400338c2
lea rdx, [rsp + 0x530]
lea rcx, [rsp + 0x1b0]
call fcn.1400281d0
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x510]
lea rcx, [rsp + 0x3b0]
call fcn.1400281d0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 8
jb 0x140033803
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
jmp 0x140033813
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x18], 8
jb 0x140033847
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
jmp 0x140033857
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xb0], rax
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14003387e
mov dword [rsp + 0x44], 1
jmp 0x140033886
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x29], al
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x510]
call fcn.14001fb50
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x530]
call fcn.14001fb50
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x1400338c2
mov byte [rsp + 0x20], 0
lea rdx, [0x140059320]
lea rcx, [rsp + 0x4d0]
call fcn.140014880
nop
lea rax, [rsp + 0x3c8]
lea rdx, [rsp + 0x4d0]
mov rcx, rax
call fcn.140034f00
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x4d0]
call fcn.14001fb50
lea rdx, [0x140059320]
lea rcx, [rsp + 0x4f0]
call fcn.140014880
nop
lea rax, [rsp + 0x1c8]
lea rdx, [rsp + 0x4f0]
mov rcx, rax
call fcn.140034f00
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x4f0]
call fcn.14001fb50
jmp 0x1400332f3
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindClose]
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x2a], al
lea rax, [rsp + 0x248]
mov rcx, rax
call fcn.140018230
lea rax, [rsp + 0x248]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
nop
lea rax, [rsp + 0x448]
mov rcx, rax
call fcn.140018230
lea rax, [rsp + 0x448]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
nop
lea rax, [rsp + 0x348]
mov rcx, rax
call fcn.140018230
lea rax, [rsp + 0x348]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
movzx eax, byte [rsp + 0x2a]
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140040570
add rsp, 0x878
ret