Function at 0x44fa60
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3ea4
mov eax, dword fs:[0]
push eax
sub esp, 0x540
mov eax, dword [0x56b114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x544], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54c], esi
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x53c], 1
test esi, esi
je 0x44fafc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44fafc
test al, 0x10
jne 0x44fafc
push 0
push esi
call fcn.004a8ea1
mov edi, eax
add esp, 8
mov dword [ebp - 0x538], edi
test edi, edi
je 0x44fafc
lea eax, [ebp - 0x530]
push eax
push 0xffffffffffffffff
push edi
call fcn.004a8d91
add esp, 0xc
test eax, eax
je 0x44fb1b
push edi
call fcn.004a8610
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c360c
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x530]
push 0
push eax
push 0x464
push dword [ebp - 0x544]
mov dword [ebp - 0x548], eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor esi, esi
mov dword [ebp - 0x534], esi
cmp dword [ebp - 0x548], esi
jle 0x450113
nop
lea eax, [ebp - 0x300]
push eax
push esi
push edi
call fcn.004a8d91
add esp, 0xc
test eax, eax
jne 0x450109
mov eax, dword [ebp - 0xf4]
test al, 0x10
je 0x44fdbb
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0040dc30
mov esi, eax
push 0x51db98
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
call fcn.0040dc30
mov edx, dword [ebp - 0x540]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 1
call fcn.0040e810
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
sub eax, edi
mov edx, dword [esi + 0x10]
cmp edx, eax
jbe 0x44fbe7
mov eax, dword [esi + 0x14]
sub eax, edx
cmp eax, edi
jb 0x44fbe7
cmp dword [ecx + 0x14], 8
jb 0x44fbdb
mov ecx, dword [ecx]
push edi
push ecx
push ecx
mov ecx, esi
call fcn.0040ef70
jmp 0x44fbf6
cmp dword [esi + 0x14], 8
jb 0x44fbef
mov esi, dword [esi]
push edx
push esi
call fcn.00413350
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
movq qword [ebp - 0x30], xmm0
cmp edx, 8
jb 0x44fc58
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fc4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45012c
push edx
push ecx
call fcn.004c3d01
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x44fca9
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fc9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45012c
push edx
push ecx
call fcn.004c3d01
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x44fd04
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fcfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45012c
push edx
push ecx
call fcn.004c3d01
add esp, 8
push dword [ebp - 0x54c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44fd19
test al, 0x10
jne 0x44fd35
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call sym.R2ClientInstall.exe_int___cdecl_FileOps::MakeSureDirExist_wchar_t_const__
add esp, 4
test eax, eax
je 0x45003e
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x44fd6f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fd65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45012c
push edx
push ecx
call fcn.004c3d01
add esp, 8
mov edi, dword [ebp - 0x538]
mov esi, dword [ebp - 0x534]
push 0
inc esi
push esi
push 0x465
push dword [ebp - 0x544]
mov dword [ebp - 0x534], esi
call dword [sym.imp.USER32.dll_PostMessageW]
cmp esi, dword [ebp - 0x548]
jl 0x44fb50
push dword [ebp - 0x538]
call fcn.004a8610
mov eax, dword [ebp - 0x53c]
add esp, 4
jmp 0x44fafe
test al, 0x20
je 0x44fd7b
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040dc30
mov esi, eax
push 0x51db98
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 3
call fcn.0040dc30
mov edx, dword [ebp - 0x540]
lea ecx, [ebp - 0x88]
push eax
mov byte [ebp - 4], 4
call fcn.0040e810
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 5
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
sub eax, edi
mov edx, dword [esi + 0x10]
cmp edx, eax
jbe 0x44fe35
mov eax, dword [esi + 0x14]
sub eax, edx
cmp eax, edi
jb 0x44fe35
cmp dword [ecx + 0x14], 8
jb 0x44fe29
mov ecx, dword [ecx]
push edi
push ecx
push ecx
mov ecx, esi
call fcn.0040ef70
jmp 0x44fe44
cmp dword [esi + 0x14], 8
jb 0x44fe3d
mov esi, dword [esi]
push edx
push esi
call fcn.00413350
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x44feb7
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fead
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45012c
push edx
push ecx
call fcn.004c3d01
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x44ff12
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ff08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45012c
push edx
push ecx
call fcn.004c3d01
add esp, 8
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x44ff73
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ff69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45012c
push edx
push ecx
call fcn.004c3d01
add esp, 8
xor eax, eax
mov dword [ebp - 0xa8], 0
cmp dword [ebp - 0x14], 8
mov word [ebp - 0xb8], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0xa4], 7
call sym.R2ClientInstall.exe_int___cdecl_FileOps::FileExist_wchar_t_const__
add esp, 4
test eax, eax
je 0x44ffba
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x534]
cmovae eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x538]
push eax
push esi
push edi
call fcn.004a92fb
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
test eax, eax
jne 0x45009f
cmp edx, 8
jb 0x450025
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45001b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45012c
push edx
push ecx
call fcn.004c3d01
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x44fd7b
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x53c], 0
cmp edx, 8
jb 0x450113
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45007c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45012c
push edx
push ecx
call fcn.004c3d01
add esp, 8
push dword [ebp - 0x538]
call fcn.004a8610
mov eax, dword [ebp - 0x53c]
add esp, 4
jmp 0x44fafe
mov dword [ebp - 0x53c], 0
cmp edx, 8
jb 0x4500dc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4500d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450131
push edx
push ecx
call fcn.004c3d01
add esp, 8
push dword [ebp - 0x538]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004a8610
mov eax, dword [ebp - 0x53c]
add esp, 4
jmp 0x44fafe
mov dword [ebp - 0x53c], 0
push dword [ebp - 0x538]
call fcn.004a8610
mov eax, dword [ebp - 0x53c]
add esp, 4
jmp 0x44fafe
call fcn.004cac9c
call fcn.004cac9c
int3