Function at 0x4378b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543848
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5868f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xorps xmm0, xmm0
xor ebx, ebx
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00438e90
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov eax, dword [edi + 8]
test eax, eax
je 0x437b16
cmp eax, dword [ebp + 0xc]
jbe 0x437b16
mov esi, dword [edi + 4]
mov edi, esi
mov esi, dword [esi]
xor ebx, ebx
cmp esi, edi
je 0x437a33
cmp dword [esi + 0x1c], 8
lea ebx, [esi + 8]
jb 0x43792e
mov eax, dword [ebx]
jmp 0x437930
mov eax, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x437a0c
cmp eax, 0xffffffff
je 0x437a0c
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push ecx
push 0
push 0
push eax
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x4379ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebx + 0x14], 8
jb 0x43798c
mov ebx, dword [ebx]
push eax
push ebx
push str.Failed_to_get_file_last_write_time_for___s_._Error:__u
push 0x58ba20
call fcn.004372e0
add esp, 0x10
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x437915
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x20]
xor eax, eax
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
adc ecx, 0
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x1c]
push ebx
call fcn.004391f0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004392b0
mov dword [ebp - 4], 0
jmp 0x437915
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebx + 0x14], 8
jb 0x437a1a
mov ebx, dword [ebx]
push eax
push ebx
push str.CreateFile_failed_for___s_._Error:__u
push 0x58ba20
call fcn.004372e0
add esp, 0x10
jmp 0x437915
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x18], eax
jbe 0x437b16
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], ebx
mov esi, dword [edi]
cmp esi, edi
je 0x437b16
nop
xor eax, eax
mov dword [ebp - 0x34], 7
push 0xffffffffffffffff
push eax
lea ebx, [esi + 0x10]
mov dword [ebp - 0x38], 0
push ebx
lea ecx, [ebp - 0x48]
mov word [ebp - 0x48], ax
call fcn.00403ec0
mov eax, dword [ebx + 0x18]
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
dec eax
cmp eax, dword [ebp + 0xc]
mov eax, dword [ebp - 0x34]
jbe 0x437b02
inc ecx
mov dword [ebp - 0x4c], ecx
cmp eax, 8
jb 0x437ab8
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403300
cmp byte [esi + 0xd], 0
jne 0x437af8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x437add
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x437af8
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x437ad1
jmp 0x437af8
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x437af6
cmp esi, dword [eax + 8]
jne 0x437af6
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x437ae6
mov esi, eax
cmp esi, edi
jne 0x437a50
jmp 0x437b14
cmp eax, 8
jb 0x437b14
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00403300
xor ebx, ebx
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x4c]
push edi
lea ecx, [ebp - 0x1c]
push dword [edi]
push eax
call fcn.004061b0
push dword [ebp - 0x1c]
call fcn.00451480
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fdf3d
mov esp, ebp
pop ebp
ret 8