Function at 0x41ad50
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x48d4cc
push eax
mov eax, 0x1714
mov dword fs:[0], esp
call fcn.00436520
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
call fcn.00409d50
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esp + 0x172c], ebx
call fcn.004120c0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x172c], 1
push ecx
lea ecx, [esp + 0xe4]
call fcn.00412170
test eax, eax
je 0x41b198
lea edx, [esp + 0x10]
push edx
call fcn.0040aaa0
add esp, 4
push str.temp.hg
lea ecx, [esp + 0x14]
mov byte [esp + 0x1730], 2
call fcn.0043606e
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41adf7
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x434
xor eax, eax
lea edi, [esp + 0x654]
push str.360SD
rep stosd dword es:[edi], eax
mov ecx, 0x435
lea edi, [esp + 0x654]
lea edx, [esp + 0x658]
push 0x1e
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x65c], 0x10d4
call fcn.0041b1e0
push str.360RP
lea eax, [esp + 0x694]
push 0x1e
push eax
call fcn.0041b1e0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x6d4]
push ecx
push 0x104
push edx
call fcn.0041b1e0
lea eax, [esp + 0x24]
lea ecx, [esp + 0x650]
push eax
push ecx
lea ecx, [esp + 0xe8]
mov dword [esp + 0x1514], 0x2710
call fcn.004122b0
mov ebp, eax
cmp ebp, ebx
je 0x41b187
mov esi, dword [esp + 0x1734]
cmp esi, ebx
je 0x41affd
mov edx, dword [esi]
mov eax, 1
mov dword [esp + 0x138], 0x310
mov dword [esp + 0x13c], eax
mov dword [esp + 0x244], eax
mov eax, dword [edx - 8]
push eax
mov ecx, esi
call sub.MFC42u.DLL_CString::GetBuffer
push eax
lea eax, [esp + 0x144]
push 0x80
push eax
call fcn.0041b1e0
mov edx, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [edx - 8]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
push eax
lea eax, [esp + 0x24c]
push 0x80
push eax
call fcn.0041b1e0
mov edx, dword [esi + 0xc]
lea ecx, [esi + 0xc]
mov eax, dword [edx - 8]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
push eax
lea eax, [esp + 0x34c]
push 0x80
push eax
call fcn.0041b1e0
mov edx, dword [esi + 4]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x44a]
mov word [esp + 0x448], bx
rep stosd dword es:[edi], eax
lea ecx, [esi + 4]
stosw word es:[edi], ax
mov eax, dword [edx - 8]
push eax
call sub.MFC42u.DLL_CString::GetBuffer
lea esi, [esp + 0x448]
mov edx, 0x104
lea ecx, [esp + 0x448]
sub eax, esi
mov si, word [eax + ecx]
cmp si, bx
je 0x41af74
mov word [ecx], si
add ecx, 2
dec edx
jne 0x41af60
jmp 0x41af78
cmp edx, ebx
jne 0x41af7b
sub ecx, 2
lea eax, [esp + 0x448]
mov word [ecx], bx
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
lea ecx, [esp + 0x138]
mov word [esp + 0x240], ax
push ecx
push 0x20
lea ecx, [esp + 0xe8]
call fcn.00412490
test eax, eax
jne 0x41affd
push ebp
lea ecx, [esp + 0xe4]
call fcn.00412320
lea ecx, [esp + 0x10]
mov byte [esp + 0x172c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xe0]
mov byte [esp + 0x172c], bl
call fcn.00412110
lea ecx, [esp + 0x14]
mov dword [esp + 0x172c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
jmp 0x41b1c3
mov dword [esp + 0x34], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xdc], ebx
lea edx, [esp + 0x20]
mov byte [esp + 0x172c], 3
push edx
mov dword [esp + 0x2c], 0xb8
call fcn.0040d600
mov edi, dword [eax]
mov eax, dword [esp + 0x38]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
cmp eax, ebx
je 0x41b06d
push eax
call esi
mov dword [esp + 0x34], ebx
cmp edi, ebx
je 0x41b07c
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
lea eax, [esp + 0x28]
push ecx
push ebp
lea ecx, [esp + 0xe8]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x24], eax
call fcn.00412390
cmp eax, ebx
je 0x41b0e2
lea edx, [esp + 0x1c]
push 1
push edx
push ebp
lea ecx, [esp + 0xec]
call fcn.00412410
cmp eax, ebx
mov eax, dword [esp + 0x88]
je 0x41b0d9
cmp eax, 8
je 0x41b0de
mov dword [esp + 0x18], 1
jmp 0x41b0e2
cmp eax, 8
jne 0x41b0e2
mov dword [esp + 0x18], ebx
push ebp
lea ecx, [esp + 0xe4]
call fcn.00412320
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x41b109
push eax
call esi
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0xb8]
cmp eax, ebx
je 0x41b11e
push eax
call esi
mov dword [esp + 0xb8], ebx
mov eax, dword [esp + 0xbc]
cmp eax, ebx
je 0x41b133
push eax
call esi
mov dword [esp + 0xbc], ebx
mov eax, dword [esp + 0xc0]
cmp eax, ebx
je 0x41b148
push eax
call esi
mov dword [esp + 0xc0], ebx
mov eax, dword [esp + 0xc8]
cmp eax, ebx
je 0x41b15d
push eax
call esi
mov dword [esp + 0xc8], ebx
mov eax, dword [esp + 0xcc]
cmp eax, ebx
je 0x41b172
push eax
call esi
mov dword [esp + 0xcc], ebx
mov eax, dword [esp + 0xd8]
cmp eax, ebx
je 0x41b187
push eax
call esi
mov dword [esp + 0xd8], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x172c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xe0]
mov byte [esp + 0x172c], bl
call fcn.00412110
lea ecx, [esp + 0x14]
mov dword [esp + 0x172c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1724]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1720
ret 4