Function at 0x4016c0
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x404397
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x408020]
xor eax, esp
mov dword [esp + 0x340], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x408020]
xor eax, esp
push eax
lea eax, [esp + 0x35c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x1c], ebx
push 0x405304
sub esp, 0x1c
lea eax, [esp + 0x38c]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov dword [esp + 0x388], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea esi, [esp + 0x7c]
call fcn.00401420
add esp, 0x1c
push eax
lea ecx, [esp + 0xf0]
mov byte [esp + 0x36c], 1
mov edi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push ecx
call edi
add esp, 0xc
mov ecx, esi
mov byte [esp + 0x364], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea esi, [esp + 0xcc]
call fcn.004012b0
push 1
push str._new_folder______________________________________________________________________________________________________________________.exe
sub esp, 0x1c
lea edx, [esp + 0x390]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x38c], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea esi, [esp + 0x48]
call fcn.00401420
add esp, 0x1c
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x374], 5
call edi
mov ebp, 8
add esp, 0xc
cmp dword [eax + 0x18], ebp
jb 0x4017bc
mov eax, dword [eax + 4]
jmp 0x4017bf
add eax, 4
mov ecx, dword [esp + 0xd4]
cmp dword [esp + 0xe8], ebp
jae 0x4017d6
lea ecx, [esp + 0xd4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x364], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0xec]
cmp dword [esp + 0x100], ebp
jae 0x401811
lea eax, [esp + 0xec]
lea ecx, [esp + 0x104]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x401a10
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x104]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401853
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x401a10
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x40530c
lea ecx, [esp + 0x134]
push ecx
call esi
test eax, eax
je 0x401911
push 0x405314
lea edx, [esp + 0x134]
push edx
call esi
test eax, eax
je 0x401911
lea eax, [esp + 0x130]
push eax
push 0x405318
sub esp, 0x1c
lea edx, [esp + 0x390]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea esi, [esp + 0x9c]
call fcn.00401420
add esp, 0x1c
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x370], 6
or ebx, 1
push eax
mov dword [esp + 0x2c], ebx
call edi
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x36c], 7
or ebx, 2
push ecx
mov dword [esp + 0x28], ebx
call edi
add esp, 0xc
or ebx, 4
cmp dword [eax + 0x18], ebp
jb 0x4018fe
mov eax, dword [eax + 4]
jmp 0x401901
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov byte [esp + 0x1b], 1
test eax, eax
jne 0x401916
mov byte [esp + 0x1b], 0
test bl, 4
je 0x40192c
and ebx, 0xfffffffb
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov dword [esp + 0x364], 6
test bl, 2
je 0x40194d
and ebx, 0xfffffffd
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov dword [esp + 0x364], 4
test bl, 1
je 0x40196a
lea ecx, [esp + 0x78]
and ebx, 0xfffffffe
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp byte [esp + 0x1b], 0
je 0x40182d
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x38], esp
lea edx, [esp + 0x14c]
push edx
push 0x405318
sub esp, 0x1c
mov dword [esp + 0x5c], esp
lea edx, [esp + 0x3ac]
mov ecx, esp
push edx
mov dword [esp + 0x60], eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea esi, [esp + 0xf0]
call fcn.00401420
add esp, 0x1c
push eax
lea eax, [esp + 0xbc]
push eax
mov byte [esp + 0x390], 8
call edi
add esp, 0xc
push eax
mov byte [esp + 0x388], 9
mov eax, dword [esp + 0x40]
push eax
call edi
add esp, 0xc
call fcn.004016c0
add esp, 0x1c
lea ecx, [esp + 0x94]
mov byte [esp + 0x364], 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, esi
mov byte [esp + 0x364], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x40182d
lea ecx, [esp + 0xcc]
mov byte [esp + 0x364], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x364], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x36c]
mov dword [esp + 0x364], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x35c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x340]
xor ecx, esp
call fcn.00403658
add esp, 0x354
ret