Function at 0x405ca2
Capabilities:
Delete file

Disassembly:
push 0x84
mov eax, 0x42d58b
call fcn.0042a27b
mov eax, dword [ebp + 8]
mov edi, ecx
push 0x412670
xor ebx, ebx
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x70], ebx
call fcn.00413640
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 4], ebx
call fcn.004138a0
test al, al
pop ecx
je 0x405ecc
lea eax, [ebp - 0x68]
push eax
call fcn.00413bb0
test al, al
pop ecx
je 0x405ecc
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.00405989
mov byte [ebp - 4], 3
mov ecx, dword [eax]
add eax, 4
mov dword [ebp - 0x78], ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.004056ff
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x88]
cmp ecx, ebx
je 0x405d3d
call fcn.004056d3
cmp dword [ebp - 0x70], ebx
jne 0x405eab
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x78], eax
je 0x405eab
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 4
call fcn.004138f0
pop ecx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.004122d0
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 5
call fcn.004138f0
pop ecx
push eax
call fcn.00413bb0
pop ecx
sub esp, 0x1c
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x88], esp
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
call fcn.00405c1b
add esp, 0x1c
cmp al, bl
jne 0x405e64
push ebx
push edi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
je 0x405e64
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x405dcd
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push ebx
mov byte [ebp - 4], 6
mov esi, dword [edi + 0x14]
push edi
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_const]
push str..log
push esi
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP80.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__::replace_unsigned_int__unsigned_int__char_const__]
push eax
lea ecx, [ebp - 0x4c]
call dword [0x42e184]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00405af8
cmp al, bl
pop ecx
je 0x405e57
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
jae 0x405e20
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x6c]
push eax
call fcn.00406eef
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x6c]
cmp dword [eax - 4], 1
jle 0x405e45
push dword [eax - 0xc]
lea eax, [ebp - 0x6c]
push eax
call fcn.00407136
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
call fcn.00405661
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edi, [ebp - 0x78]
lea esi, [ebp - 0x4c]
call fcn.00407c5d
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 2
jmp 0x405ea3
mov edi, dword [ebp - 0x7c]
jmp 0x405d3d
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x80]
cmp ecx, ebx
je 0x405ebb
call fcn.004056d3
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x74]
cmp ecx, ebx
je 0x405ed3
call fcn.004056d3
jmp 0x405ed3
mov dword [ebp - 0x70], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x70]
call fcn.0042a2d7
ret