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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x180
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x38], 0x1c
mov rcx, qword [rsp + 0x190]
call fcn.1400097a0
mov qword [rsp + 0x48], rax
lea rax, [0x1401b3914]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x198]
call fcn.1400097a0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14005df2d
mov rcx, qword [rsp + 0x198]
call fcn.1400097a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x34], 0
cmp dword [rsp + 0x1a0], 0
jg 0x14005df59
mov dword [rsp + 0x34], 0xffffffff
mov dword [rsp + 0x3c], 0
jmp 0x14005df6f
mov eax, dword [rsp + 0x1a0]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x1a0]
mov dword [rsp + 0x3c], eax
mov qword [rsp + 0x40], 0
cmp dword [rsp + 0x38], 0x1c
je 0x14005df8a
cmp dword [rsp + 0x38], 6
jne 0x14005e1fd
mov rcx, qword [rsp + 0x198]
call fcn.1400097a0
lea rdx, [0x1401b394c]
mov rcx, rax
call fcn.140140f2c
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14005dfdd
mov byte [rsp + 0x30], 0
mov rcx, qword [rsp + 0x190]
call fcn.140009960
nop
mov rcx, qword [rsp + 0x198]
call fcn.140009960
movzx eax, byte [rsp + 0x30]
jmp 0x14005e241
mov rcx, qword [rsp + 0x40]
call fcn.14005de30
mov qword [rsp + 0x58], rax
call fcn.14008ca30
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14005e003
jmp 0x14005e1fd
mov r8, qword [rsp + 0x48]
mov edx, 0x2712
mov rcx, qword [rsp + 0x28]
call fcn.14008f4c0
mov r8, qword [rsp + 0x40]
mov edx, 0x2711
mov rcx, qword [rsp + 0x28]
call fcn.14008f4c0
lea r8, [0x14005dd60]
mov edx, 0x4e2b
mov rcx, qword [rsp + 0x28]
call fcn.14008f4c0
xor r8d, r8d
mov edx, Ordinal_46
mov rcx, qword [rsp + 0x28]
call fcn.14008f4c0
mov r8d, 5
mov edx, 0x44
mov rcx, qword [rsp + 0x28]
call fcn.14008f4c0
mov r8d, 1
mov edx, reloc.WS2_32.dll_gethostbyname
mov rcx, qword [rsp + 0x28]
call fcn.14008f4c0
lea r8, [0x14005de00]
mov edx, 0x4e58
mov rcx, qword [rsp + 0x28]
call fcn.14008f4c0
mov r8, qword [rsp + 0x50]
mov edx, 0x2749
mov rcx, qword [rsp + 0x28]
call fcn.14008f4c0
mov r8d, 0xa
mov edx, Ordinal_79
mov rcx, qword [rsp + 0x28]
call fcn.14008f4c0
mov r8d, dword [rsp + 0x3c]
mov edx, reloc.WS2_32.dll_listen
mov rcx, qword [rsp + 0x28]
call fcn.14008f4c0
mov r8d, 1
mov edx, reloc.WS2_32.dll_send
mov rcx, qword [rsp + 0x28]
call fcn.14008f4c0
mov r8d, 5
mov edx, reloc.WS2_32.dll_sendto
mov rcx, qword [rsp + 0x28]
call fcn.14008f4c0
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xff
rep stosb byte [rdi], al
mov r8, qword [rsp + 0x58]
lea rdx, str._I64u_
lea rcx, [rsp + 0x70]
call fcn.140017d50
lea r8, [rsp + 0x70]
mov edx, 0x2717
mov rcx, qword [rsp + 0x28]
call fcn.14008f4c0
mov rcx, qword [rsp + 0x28]
call fcn.14008ca70
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x14005e151
mov byte [rsp + 0x20], 1
jmp 0x14005e15c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x38], 0x2a
jne 0x14005e168
jmp 0x14005e1fd
cmp dword [rsp + 0x38], 0x1c
jne 0x14005e17b
cmp dword [rsp + 0x34], 0xffffffff
je 0x14005e17b
jmp 0x14005e1fd
cmp dword [rsp + 0x34], 0xffffffff
je 0x14005e1a8
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jg 0x14005e19f
jmp 0x14005e1fd
cmp dword [rsp + 0x34], 0
jg 0x14005e1a8
jmp 0x14005e1fd
mov dword [rsp + 0x68], 0
lea r8, [rsp + 0x68]
mov edx, 0x200002
mov rcx, qword [rsp + 0x28]
call fcn.14008ca00
cmp dword [rsp + 0x68], 0x190
jb 0x14005e1d3
mov byte [rsp + 0x20], 0
mov rcx, qword [rsp + 0x28]
call fcn.14008c9d0
cmp qword [rsp + 0x40], 0
je 0x14005e1f8
mov rcx, qword [rsp + 0x40]
call fcn.140141014
mov qword [rsp + 0x40], 0
jmp 0x14005df78
cmp qword [rsp + 0x40], 0
je 0x14005e218
mov rcx, qword [rsp + 0x40]
call fcn.140141014
mov qword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x31], al
mov rcx, qword [rsp + 0x190]
call fcn.140009960
nop
mov rcx, qword [rsp + 0x198]
call fcn.140009960
movzx eax, byte [rsp + 0x31]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140138320
add rsp, 0x180
pop rdi
ret