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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522067
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x56a434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x794]
mov dword [ebp - 0x1e4], eax
lea eax, [ebp - 0x208]
push eax
call fcn.00411420
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x41cb4c
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x1ac], 7
mov dword [ebp - 0x1b0], 0
mov word [ebp - 0x1c0], ax
cmp word [edx], ax
jne 0x41cb72
xor ecx, ecx
jmp 0x41cb86
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cb77
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c0]
call fcn.004031a0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1f4]
cmp eax, 8
jb 0x41cbb5
inc eax
lea ecx, [ebp - 0x208]
push eax
push dword [ebp - 0x208]
call fcn.004017f0
xor eax, eax
mov dword [ebp - 0x1f4], 7
mov dword [ebp - 0x1f8], 0
mov word [ebp - 0x208], ax
call fcn.004214b0
cmp dword [ebp - 0x1ac], 8
lea esi, [ebp - 0x1c0]
mov dword [ebp - 0x1e8], eax
cmovae esi, dword [ebp - 0x1c0]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41cc09
push esi
call edi
test eax, eax
je 0x41cc38
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x41cc38
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov edi, 1
jmp 0x41cc3a
xor edi, edi
xorps xmm0, xmm0
mov dword [ebp - method.Utils::HardDiskManager.virtual_0], vtable.Utils::HardDiskManager.0
movlpd qword [ebp - 0x1d8], xmm0
movlpd qword [ebp - 0x1d0], xmm0
movlpd qword [ebp - 0x1c8], xmm0
push 0
push 0
push 0
push 0
push 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1ac], 8
lea eax, [ebp - 0x1c0]
push 0
cmovae eax, dword [ebp - 0x1c0]
push 3
push ecx
push eax
call fcn.00503c52
add esp, 0x24
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1e0]
push eax
call fcn.00426fc0
mov esi, dword [ebp - 0x1e4]
add esi, 0x10
cmp dword [esi + 0x14], 8
jb 0x41ccb2
mov esi, dword [esi]
push dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x1d4]
mov ecx, 0x556ac0
test edi, edi
mov eax, 0x556ab8
cmove eax, ecx
mov ecx, dword [ebp - 0x1d8]
push eax
call fcn.004dd010
xor edx, edx
movsd qword [ebp - 0x1f0], xmm0
mov ecx, 0x40000000
call fcn.004dd010
movsd xmm1, qword [ebp - 0x1f0]
sub esp, 8
divsd xmm1, xmm0
mov eax, dword [ebp - 0x1e4]
cvttsd2si eax, qword [eax + 8]
movsd qword [esp], xmm1
push esi
push eax
push str.1.code_ld
lea eax, [ebp - 0x1a8]
push 0xc8
push eax
call fcn.0040f000
add esp, 0x24
lea eax, [ebx + 0x7c8]
push eax
push ecx
lea ecx, [ebp - 0x238]
call fcn.0041f330
lea eax, [ebp - 0x208]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x238]
push eax
push ecx
lea ecx, [ebp - 0x1f0]
call fcn.00417160
mov eax, dword [ebp - 0x1f0]
lea ecx, [ebp - 0x1f0]
push eax
push dword [eax]
lea eax, [ebp - 0x1e8]
push eax
call fcn.00401740
push dword [ebp - 0x1f0]
call fcn.00456e50
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x238]
push fcn.00401da0
push 1
push 0x30
push eax
call fcn.004dc9a4
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - method.Utils::HardDiskManager.virtual_0], vtable.Utils::HardDiskManager.0
cmp eax, 8
jb 0x41cdc1
inc eax
lea ecx, [ebp - 0x1c0]
push eax
push dword [ebp - 0x1c0]
call fcn.004017f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dc48a
mov esp, ebp
pop ebp
ret 4