Function at 0x418290
Capabilities:
Delete file
Move file

Disassembly:
push 0x70
mov eax, 0x42f79d
call fcn.00428d8c
mov esi, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x1c]
cmp eax, 0xc8
jne 0x418484
mov eax, dword [esi + 0x5b8]
or eax, dword [esi + 0x5bc]
jne 0x418318
push dword [0x4452e8]
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.0041bdcd
cmp dword [eax + 0x18], 0x10
jb 0x4182eb
mov eax, dword [eax + 4]
jmp 0x4182ee
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 0x4183be
lea ebx, [esi + 0x570]
cmp dword [ebx + 0x18], 8
jb 0x41833b
mov ecx, dword [ebx + 4]
jmp 0x41833e
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 [0x445300]
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.0041bdcd
push ebx
push eax
mov ecx, esi
call fcn.00417aa0
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.00417fad
push 0
mov ecx, esi
call fcn.004176e5
jmp 0x41847c
lea edi, [esi + 0x5a8]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x4183d5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [edi], 0xffffffff
lea edi, [esi + 0x570]
cmp dword [edi + 0x18], 8
jb 0x4183e6
mov eax, dword [edi + 4]
jmp 0x4183e9
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x18], 8
jb 0x4183fb
mov ecx, dword [edi + 4]
jmp 0x4183fe
lea ecx, [edi + 4]
lea eax, [esi + 0x58c]
cmp dword [eax + 0x18], 8
jb 0x41840f
mov eax, dword [eax + 4]
jmp 0x418412
add eax, 4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x41846e
push dword [0x445300]
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.0041bdcd
push edi
push eax
mov ecx, esi
call fcn.00417aa0
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 0x4183a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
push eax
call fcn.0041768d
call fcn.00428e64
ret 8
cmp eax, 0x130
jne 0x418476
add edi, 0x3c
push edi
lea ecx, [esi + 0x5c0]
call fcn.00417fad
push 1
jmp 0x4183b2