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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6447
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x5254e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x2a4], esi
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 4], ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x2ac], edi
mov dword [ebp - 0x2b0], eax
cmp dword [eax + 0x10], esi
jbe 0x4503f9
cmp dword [eax + 0x14], 8
jb 0x4503b6
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x4503f9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x4503f9
lea edx, [ebp - 0x2a4]
push edx
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x2a4], str.TransportConnection::Connect___DeleteFile_failed
call fcn.004a936f
push 0x515244
lea eax, [ebp - 0x2c0]
push eax
call fcn.004aba66
lea ebx, [edi + 0x278]
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
lea esi, [ebx + 0xc]
call fcn.00459ee0
mov ecx, dword [edi + 4]
mov edx, dword [ebp + 0x18]
lea eax, [edi + 0x254]
mov dword [ecx + 0x270], edx
mov edx, dword [ebp - 0x2a8]
mov dword [ecx + 0x26c], eax
mov eax, dword [ebp + 0x10]
push ebx
push edx
mov dword [ecx + 0x298], eax
call fcn.00459280
test al, al
jne 0x450456
mov byte [ebp - 0x29d], al
push 0x515354
lea eax, [ebp - 0x29d]
push eax
call fcn.004aba66
mov eax, dword [edi + 4]
lea esi, [ebp - 0x29c]
call fcn.0044f410
lea esi, [edi + 0xc]
push eax
mov eax, esi
mov byte [ebp - 4], 1
call fcn.00417d30
lea ecx, [ebp - 0x29c]
push ecx
mov byte [ebp - 4], 0
call fcn.00414e20
push 0xf8
call fcn.004a9f06
mov ebx, eax
add esp, 4
mov dword [ebp - 0x2b4], ebx
mov byte [ebp - 4], 2
test ebx, ebx
je 0x4504e9
push esi
lea esi, [ebp - 0x34]
call fcn.0043c770
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x2a4], 1
jb 0x4504c1
mov esi, dword [eax]
jmp 0x4504c3
mov esi, eax
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [ebp + 0xc]
push ecx
push eax
lea eax, [edi + 0x254]
push eax
push esi
push edx
push ebx
call fcn.00428520
jmp 0x4504eb
xor eax, eax
mov dword [ebp - 4], 0
test byte [ebp - 0x2a4], 1
mov dword [edi + 8], eax
je 0x450510
cmp dword [ebp - 0x20], 0x10
jb 0x450510
mov eax, dword [ebp - 0x34]
push eax
call fcn.004a9dd8
add esp, 4
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [edi + 0x278]
push eax
mov eax, dword [ebp - 0x2a8]
push eax
call edx
test al, al
jne 0x450546
mov ecx, str.LocalProxy::Start_failed
lea esi, [ebp - 0x50]
call fcn.00428400
push 0x5152b4
mov eax, esi
push eax
call fcn.004aba66
lea ecx, [edi + 0x254]
call fcn.00445150
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
call eax
mov eax, dword [edi + 4]
lea esi, [ebp - 0x29c]
call fcn.0044f410
push eax
lea eax, [edi + 0xc]
mov byte [ebp - 4], 5
call fcn.00417d30
mov ecx, esi
push ecx
mov byte [ebp - 4], 0
call fcn.00414e20
mov edx, dword [edi + 8]
push edx
lea ecx, [edi + 0xc]
call fcn.00428b10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret 0x14