Function at 0x42da80
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x43fe92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
mov al, byte [esp + 0xb]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x40], ecx
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov cl, byte [esp + 0x1b]
mov dword [esp + 0x260], ebx
mov byte [esp + 0x20], cl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dl, byte [0x451020]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], dl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x158]
mov byte [esp + 0x264], 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x154]
push str...360safe_fixedleak.log
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [esp + 0x154]
push 0x45071c
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x42dc26
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x50]
push ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x54]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
je 0x42dc1c
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
lea ecx, [esp + 0x50]
push 0xd
push ecx
call esi
add esp, 8
cmp eax, ebx
je 0x42db7e
mov byte [eax], bl
lea edx, [esp + 0x50]
lea ecx, [esp + 0x10]
push edx
call fcn.0043a78c
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push eax
push 1
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x26c], 2
call fcn.00409ba0
lea ecx, [esp + 0x10]
mov byte [esp + 0x260], 1
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x50]
push 0x2c
push edx
call esi
add esp, 8
cmp eax, ebx
je 0x42dbcc
mov byte [eax], bl
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov edx, dword [esp + 0x2c]
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
push ecx
push 1
push edx
lea ecx, [esp + 0x2c]
call fcn.00406f30
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x50]
push ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x54]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
jne 0x42db6c
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x42dc47
mov edx, dword [esp + 0x28]
sub edx, eax
sar edx, 2
jne 0x42dc8b
push eax
call sub.MFC42.DLL_operatordelete
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
add esp, 4
cmp esi, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x260], 0xffffffff
je 0x42de4e
push ebx
mov ecx, esi
call fcn.0042f2a0
add esi, 4
cmp esi, edi
jne 0x42dc77
jmp 0x42de4a
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString_3
push 0x451020
lea ecx, [esp + 0x18]
mov byte [esp + 0x264], 3
call fcn.0043a78c
push 0x451020
lea ecx, [esp + 0x20]
mov byte [esp + 0x264], 4
call fcn.0043a78c
mov byte [esp + 0x260], 5
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x42dd9c
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, dword [esp + 0x10]
sar ecx, 2
cmp eax, ecx
jae 0x42dd9c
mov edx, dword [esp + 0x40]
xor ebp, ebp
xor edi, edi
lea esi, [edx + 0x784]
mov ecx, esi
call fcn.00418300
test eax, eax
jle 0x42dd3b
lea eax, [esp + 0x44]
mov ecx, esi
push eax
push edi
call fcn.004173b0
test eax, eax
je 0x42dd28
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
cmp edx, dword [ecx + eax*4]
je 0x42dd36
mov ecx, esi
inc edi
call fcn.00418300
cmp edi, eax
jl 0x42dd06
jmp 0x42dd3b
mov ebp, 1
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], ebx
jne 0x42dd52
push str.__failedleak
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
lea ecx, [edx + eax*4]
push ecx
lea ecx, [esp + 0x20]
call fcn.0043a7b6
cmp ebp, ebx
jne 0x42dd72
push 0x450d1c
jmp 0x42dd77
push 0x450618
push str._install_
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Replace
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator
inc dword [esp + 0x10]
jmp 0x42dccc
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], ebx
je 0x42ddd7
push 0x45032c
lea ecx, [esp + 0x18]
call fcn.0043a834
push 0x451060
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x14]
push ecx
push str.statleak.360safe.com
call fcn.0043a290
mov ecx, eax
call fcn.0043a420
lea ecx, [esp + 0x1c]
mov byte [esp + 0x260], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x260], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x260], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x24]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
add esp, 4
cmp esi, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x260], 0xffffffff
mov edi, eax
je 0x42de4e
mov ecx, esi
call sub.MFC42.DLL_CString::CString
add esi, 4
cmp esi, edi
jne 0x42de3c
mov esi, dword [esp + 0x34]
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x25c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret