Function at 0x446417
Capabilities:
Delete file
Move file

Disassembly:
push 0x70
mov eax, 0x44e4b0
call fcn.0043961e
mov esi, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x1c]
cmp eax, 0xc8
jne 0x44660b
mov eax, dword [esi + 0x5b8]
or eax, dword [esi + 0x5bc]
jne 0x44649f
push dword [0x46b9a8]
lea ecx, [ebp - 0x28]
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__]
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [edi + 0x3c]
call fcn.00443cfe
cmp dword [eax + 0x18], 0x10
jb 0x446472
mov eax, dword [eax + 4]
jmp 0x446475
add eax, 4
push eax
call dword [sym.imp.MSVCR90.dll__atoi64]
pop ecx
lea ecx, [ebp - 0x60]
mov dword [esi + 0x5b8], eax
mov dword [esi + 0x5bc], edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esi + 0x5b0]
or eax, dword [esi + 0x5b4]
jne 0x446545
lea ebx, [esi + 0x570]
cmp dword [ebx + 0x18], 8
jb 0x4464c2
mov ecx, dword [ebx + 4]
jmp 0x4464c5
lea ecx, [ebx + 4]
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x46b9c0]
lea ecx, [ebp - 0x28]
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__]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x60]
add edi, 0x3c
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00443cfe
push ebx
push eax
mov ecx, esi
call fcn.00445e75
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push edi
lea ecx, [esi + 0x5c0]
call fcn.0043cbea
push 0
mov ecx, esi
call fcn.00445aba
jmp 0x446603
lea edi, [esi + 0x5a8]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x44655c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [edi], 0xffffffff
lea edi, [esi + 0x570]
cmp dword [edi + 0x18], 8
jb 0x44656d
mov eax, dword [edi + 4]
jmp 0x446570
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x18], 8
jb 0x446582
mov ecx, dword [edi + 4]
jmp 0x446585
lea ecx, [edi + 4]
lea eax, [esi + 0x58c]
cmp dword [eax + 0x18], 8
jb 0x446596
mov eax, dword [eax + 4]
jmp 0x446599
add eax, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4465f5
push dword [0x46b9c0]
lea ecx, [ebp - 0x44]
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 ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x7c]
add ebx, 0x3c
push eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.00443cfe
push edi
push eax
mov ecx, esi
call fcn.00445e75
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push ebx
jmp 0x44652c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
push eax
call fcn.00445a62
call fcn.004396f6
ret 8
cmp eax, 0x130
jne 0x4465fd
add edi, 0x3c
push edi
lea ecx, [esi + 0x5c0]
call fcn.0043cbea
push 1
jmp 0x446539