Function at 0x10006800
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x10012192
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x10019024]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10019024]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov eax, dword [esp + 0x288]
mov esi, dword [esp + 0x28c]
mov ebp, dword [esp + 0x290]
mov edi, dword [esp + 0x294]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
xor ebx, ebx
push 0x103
lea eax, [esp + 0x69]
mov dword [esp + 0x284], ebx
push ebx
push eax
mov dword [esp + 0x28], ebx
mov byte [esp + 0x70], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x103
lea ecx, [esp + 0x171]
push ebx
push ecx
mov byte [esp + 0x178], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push edi
lea edx, [esp + 0x30]
mov byte [esp + 0x1f], bl
push edx
mov ebx, ebp
lea edi, [esp + 0x2a0]
mov byte [esp + 0x288], 1
call fcn.100061e0
mov esi, dword [esp + 0x30]
mov edi, 0x10
cmp dword [esp + 0x44], edi
jae 0x100068e1
lea esi, [esp + 0x30]
lea eax, [esp + 0x16c]
push eax
lea ecx, [esp + 0x68]
call fcn.10002970
add esp, 4
push 0x1001484e
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x280], 2
lea esi, [ebp + 4]
cmp dword [ebp + 0x18], edi
jb 0x10006918
mov ecx, dword [esi]
jmp 0x1000691a
mov ecx, esi
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x4c]
lea ebx, [esp + 0x68]
call fcn.10002640
add esp, 4
test al, al
jne 0x10006983
mov eax, ebx
push eax
call dword [sym.imp.MSVCR90.dll_remove]
add esp, 4
mov dword [esp + 0x1c], 0
cmp dword [ebp + 0x18], edi
jb 0x10006950
mov ecx, dword [esi]
jmp 0x10006952
mov ecx, esi
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x4c]
lea ebx, [esp + 0x170]
call fcn.10002640
add esp, 4
test al, al
je 0x10006988
lea eax, [esp + 0x64]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.MSVCR90.dll_rename]
add esp, 8
test eax, eax
jne 0x10006988
mov byte [esp + 0x1b], 1
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x28]
mov dword [eax], edx
call dword [sym.imp.MSVCP90.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__::operator_char_const__]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x16c]
push edx
call dword [sym.imp.MSVCP90.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__::operator_char_const__]
lea ecx, [esp + 0x48]
mov byte [esp + 0x280], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x280], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0x298]
push eax
mov dword [esp + 0x284], 0xffffffff
call fcn.10003ce0
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.10010d80
add esp, 0x270
ret 0x118