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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503575
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov dword [ebp - 4], 1
mov ecx, 0x546d80
call fcn.00501f54
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x24], 0x1c
push 0x104
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.004d75f0
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.00403d50
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0x24], 0
jne 0x4161ea
lea ecx, [ebp - 0x23c]
mov dword [ebp + 0x24], ecx
lea ecx, [ebp + 0x20]
call fcn.0040d2e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41620c
lea ecx, [ebp + 0x20]
call fcn.0040d2e0
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 0x416230
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x28], 0
jmp 0x41623c
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 0x416253
cmp dword [ebp - 0x24], 6
jne 0x4164a4
push 0x52dfd8
lea ecx, [ebp + 0x20]
call fcn.0040d2e0
push eax
call fcn.004e0a6e
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x416299
mov byte [ebp - 0x19], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00403eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.0040d100
mov al, byte [ebp - 0x19]
jmp 0x4164e1
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00416100
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
call fcn.0043a420
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4162be
jmp 0x4164a4
mov edx, dword [ebp - 0x30]
push edx
push 0x2712
mov eax, dword [ebp - 0x10]
push eax
call fcn.0043d870
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
push 0x2711
mov edx, dword [ebp - 0x10]
push edx
call fcn.0043d870
add esp, 0xc
push 0x415ec0
push 0x4e2b
mov eax, dword [ebp - 0x10]
push eax
call fcn.0043d870
add esp, 0xc
push 0
push 0x2b
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043d870
add esp, 0xc
push 5
push 0x44
mov edx, dword [ebp - 0x10]
push edx
call fcn.0043d870
add esp, 0xc
push 1
push 0x34
mov eax, dword [ebp - 0x10]
push eax
call fcn.0043d870
add esp, 0xc
push 0x415f60
push 0x4e58
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043d870
add esp, 0xc
mov edx, dword [ebp + 0x24]
push edx
push 0x2749
mov eax, dword [ebp - 0x10]
push eax
call fcn.0043d870
add esp, 0xc
push 0xa
push 0x4e
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043d870
add esp, 0xc
mov edx, dword [ebp - 0x28]
push edx
push 0xd
mov eax, dword [ebp - 0x10]
push eax
call fcn.0043d870
add esp, 0xc
push 1
push 0x13
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043d870
add esp, 0xc
push 5
push 0x14
mov edx, dword [ebp - 0x10]
push edx
call fcn.0043d870
add esp, 0xc
push 0xff
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.004d75f0
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.00415b10
add esp, 0x14
lea ecx, [ebp - 0x138]
push ecx
push 0x2717
mov edx, dword [ebp - 0x10]
push edx
call fcn.0043d870
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
call fcn.0043a480
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x416405
mov byte [ebp - 0x11], 1
jmp 0x416410
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x24], 0x2a
jne 0x41641b
jmp 0x4164a4
cmp dword [ebp - 0x24], 0x1c
jne 0x416429
cmp dword [ebp - 0x20], 0xffffffff
je 0x416429
jmp 0x4164a4
cmp dword [ebp - 0x20], 0xffffffff
je 0x416451
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 0x416449
jmp 0x4164a4
cmp dword [ebp - 0x20], 0
jg 0x416451
jmp 0x4164a4
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
push 0x200002
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043a400
add esp, 0xc
cmp dword [ebp - 0x2c], 0x190
jb 0x41647a
mov byte [ebp - 0x11], 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.0043a3e0
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x41649f
mov eax, dword [ebp - 0x18]
push eax
call fcn.004e0689
add esp, 4
mov dword [ebp - 0x18], 0
jmp 0x416243
cmp dword [ebp - 0x18], 0
je 0x4164bd
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004e0689
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.00403eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.0040d100
mov al, byte [ebp - 0x1a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret