Function at 0x414310
Capabilities:
Check http status code
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4455
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov dword [ebp - 4], 1
mov ecx, 0x5344c0
call fcn.004c63e1
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x24], 0x1c
push 0x104
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.004c9920
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.00404ca0
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0x24], 0
jne 0x41437a
lea ecx, [ebp - 0x23c]
mov dword [ebp + 0x24], ecx
lea ecx, [ebp + 0x20]
call fcn.004086f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41439c
lea ecx, [ebp + 0x20]
call fcn.004086f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
cmp dword [ebp + 0x28], 0
jg 0x4143c0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x28], 0
jmp 0x4143cc
mov edx, dword [ebp + 0x28]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x24], 0x1c
je 0x4143e3
cmp dword [ebp - 0x24], 6
jne 0x414634
push 0x4fbc20
lea ecx, [ebp + 0x20]
call fcn.004086f0
push eax
call fcn.004d29ec
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x414429
mov byte [ebp - 0x19], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00403800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004082a0
mov al, byte [ebp - 0x19]
jmp 0x414671
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00414680
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
call fcn.0042cac0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41444e
jmp 0x414634
mov edx, dword [ebp - 0x30]
push edx
push 0x2712
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042fbc0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
push 0x2711
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042fbc0
add esp, 0xc
push 0x414160
push 0x4e2b
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042fbc0
add esp, 0xc
push 0
push 0x2b
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042fbc0
add esp, 0xc
push 5
push 0x44
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042fbc0
add esp, 0xc
push 1
push 0x34
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042fbc0
add esp, 0xc
push 0x413fc0
push 0x4e58
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042fbc0
add esp, 0xc
mov edx, dword [ebp + 0x24]
push edx
push 0x2749
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042fbc0
add esp, 0xc
push 0xa
push 0x4e
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042fbc0
add esp, 0xc
mov edx, dword [ebp - 0x28]
push edx
push 0xd
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042fbc0
add esp, 0xc
push 1
push 0x13
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042fbc0
add esp, 0xc
push 5
push 0x14
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042fbc0
add esp, 0xc
push 0xff
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.004c9920
add esp, 0xc
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push str._I64u_
push 0xff
lea eax, [ebp - 0x138]
push eax
call fcn.00414d30
add esp, 0x14
lea ecx, [ebp - 0x138]
push ecx
push 0x2717
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042fbc0
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042cb20
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x414595
mov byte [ebp - 0x11], 1
jmp 0x4145a0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x24], 0x2a
jne 0x4145ab
jmp 0x414634
cmp dword [ebp - 0x24], 0x1c
jne 0x4145b9
cmp dword [ebp - 0x20], 0xffffffff
je 0x4145b9
jmp 0x414634
cmp dword [ebp - 0x20], 0xffffffff
je 0x4145e1
mov ecx, dword [ebp - 0x20]
sub ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x28]
sub edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
jg 0x4145d9
jmp 0x414634
cmp dword [ebp - 0x20], 0
jg 0x4145e1
jmp 0x414634
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0x200002
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042caa0
add esp, 0xc
cmp dword [ebp - 0x2c], 0x190
jb 0x41460a
mov byte [ebp - 0x11], 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042ca80
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x41462f
mov eax, dword [ebp - 0x18]
push eax
call fcn.004d2b28
add esp, 4
mov dword [ebp - 0x18], 0
jmp 0x4143d3
cmp dword [ebp - 0x18], 0
je 0x41464d
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004d2b28
add esp, 4
mov dword [ebp - 0x18], 0
mov dl, byte [ebp - 0x11]
mov byte [ebp - 0x1a], dl
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00403800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004082a0
mov al, byte [ebp - 0x1a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret