Function at 0x10037fd0
Capabilities:
Copy file
Delete file
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1008e6e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
mov al, byte [ecx + 0x10c]
push ebx
lea ebx, [ecx + 0x10c]
push ebp
push esi
push edi
test al, al
mov dword [esp + 0x44], ebx
jne 0x1003800d
mov eax, 1
jmp 0x10038552
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
mov dword [esp + 0x2b8], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x100aba18
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x100aba18
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
xor edx, edx
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov dword [esp + 0x34], edx
mov edi, 0x100a39e4
mov dword [esp + 0x38], edx
or ecx, 0xffffffff
mov dword [esp + 0x3c], edx
mov byte [esp + 0x2b4], 1
mov word [esp + 0x40], dx
mov byte [esp + 0x42], dl
mov edx, dword [eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x100a39e4
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_last_of_char_const___unsigned_int__unsigned_int_const]
mov edx, eax
cmp edx, 0xffffffff
je 0x100380e5
mov esi, dword [str._fatal]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push edx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::insert_unsigned_int__char_const___unsigned_int_]
jmp 0x10038103
mov edx, dword [str._fatal]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x52]
mov ecx, dword [esp + 0x50]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x52]
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x52]
push ecx
mov ecx, dword [esp + 0x54]
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
push ecx
lea edx, [esp + 0x4c]
push str._04d_02d_02d_02d_02d_02d
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edi, 0x100a39e4
or ecx, 0xffffffff
add esp, 0x20
mov edx, dword [eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x100a39e4
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_last_of_char_const___unsigned_int__unsigned_int_const]
mov esi, eax
cmp esi, 0xffffffff
je 0x10038202
push esi
lea ecx, [esp + 0x5c]
push 0
push ecx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x2b4], 2
mov ecx, dword [edx]
push ecx
push 0
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2b8], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 0x2a
push 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_unsigned_int__char_]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::insert_unsigned_int__char_const___unsigned_int_]
jmp 0x10038247
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x24]
mov ecx, dword [eax]
push ecx
push 0
push edx
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 0x2a
push 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_unsigned_int__char_]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x10038254
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0x16c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10038483
lea edi, [esp + 0x198]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x68]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x16c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x10038322
lea esi, [esp + 0x198]
lea eax, [esp + 0x68]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x100382dd
test cl, cl
je 0x100382d9
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x100382dd
add eax, 2
add esi, 2
test cl, cl
jne 0x100382b9
xor eax, eax
jmp 0x100382e2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jle 0x1003830e
lea edi, [esp + 0x198]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x68]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x16c]
inc ebx
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100382ae
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 4
jl 0x1003847f
mov edi, 0x100a27e8
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
repne scasb al, byte es:[edi]
mov edx, dword [edx]
not ecx
dec ecx
push ecx
push edx
push 0x100a27e8
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_last_of_char_const___unsigned_int__unsigned_int_const]
cmp eax, 0xffffffff
je 0x1003844a
inc eax
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x5c]
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x2b4], 3
mov edx, dword [ecx]
lea ecx, [esp + 0x14]
push edx
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2b8], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edi, [esp + 0x68]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x68]
push ecx
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x100383d3
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1003847f
mov ecx, dword [esp + 0x18]
xor esi, esi
cmp ecx, esi
je 0x10038408
mov al, byte [ecx - 1]
test al, al
je 0x100383fe
cmp al, 0xff
je 0x100383fe
dec al
mov byte [ecx - 1], al
jmp 0x10038408
dec ecx
push ecx
call fcn.10088e50
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], esi
cmp ecx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x10038440
mov al, byte [ecx - 1]
test al, al
je 0x10038436
cmp al, 0xff
je 0x10038436
dec al
mov byte [ecx - 1], al
mov eax, 6
jmp 0x10038552
dec ecx
push ecx
call fcn.10088e50
add esp, 4
mov eax, 6
jmp 0x10038552
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b8], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x2b8], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, 0xb
jmp 0x10038552
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
xor esi, esi
cmp eax, esi
jne 0x10038492
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x10038500
cmp ecx, esi
je 0x100384c4
mov al, byte [ecx - 1]
test al, al
je 0x100384ba
cmp al, 0xff
je 0x100384ba
dec al
mov byte [ecx - 1], al
jmp 0x100384c4
dec ecx
push ecx
call fcn.10088e50
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], esi
cmp ecx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x100384f9
mov al, byte [ecx - 1]
test al, al
je 0x100384ef
cmp al, 0xff
je 0x100384ef
dec al
mov byte [ecx - 1], al
mov eax, 5
jmp 0x10038552
dec ecx
push ecx
call fcn.10088e50
add esp, 4
mov eax, 5
jmp 0x10038552
cmp ecx, esi
je 0x10038520
mov al, byte [ecx - 1]
test al, al
je 0x10038516
cmp al, 0xff
je 0x10038516
dec al
mov byte [ecx - 1], al
jmp 0x10038520
dec ecx
push ecx
call fcn.10088e50
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], esi
cmp ecx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x10038550
mov al, byte [ecx - 1]
test al, al
je 0x10038546
cmp al, 0xff
je 0x10038546
dec al
mov byte [ecx - 1], al
jmp 0x10038550
dec ecx
push ecx
call fcn.10088e50
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2a8
ret