Function at 0x405c9c
Capabilities:
Delete file

Disassembly:
push 0x84
mov eax, 0x42d62b
call fcn.0042a31b
mov eax, dword [ebp + 8]
mov edi, ecx
push 0x412720
xor ebx, ebx
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x70], ebx
call fcn.004136f0
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 4], ebx
call fcn.00413950
test al, al
pop ecx
je 0x405ec6
lea eax, [ebp - 0x68]
push eax
call fcn.00413c60
test al, al
pop ecx
je 0x405ec6
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.00405983
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.004056f9
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x88]
cmp ecx, ebx
je 0x405d37
call fcn.004056cd
cmp dword [ebp - 0x70], ebx
jne 0x405ea5
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x78], eax
je 0x405ea5
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 4
call fcn.004139a0
pop ecx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.00412380
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 5
call fcn.004139a0
pop ecx
push eax
call fcn.00413c60
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.00405c15
add esp, 0x1c
cmp al, bl
jne 0x405e5e
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 0x405e5e
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x405dc7
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 [0x42e180]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00405af2
cmp al, bl
pop ecx
je 0x405e51
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
jae 0x405e1a
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x6c]
push eax
call fcn.00406efc
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x6c]
cmp dword [eax - 4], 1
jle 0x405e3f
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.0040565b
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 0x405e9d
mov edi, dword [ebp - 0x7c]
jmp 0x405d37
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x80]
cmp ecx, ebx
je 0x405eb5
call fcn.004056cd
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x74]
cmp ecx, ebx
je 0x405ecd
call fcn.004056cd
jmp 0x405ecd
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.0042a377
ret