Function at 0x60fec0
Capabilities:
Delete file
Receive http response
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.00610a10
mov ecx, dword [ebp - 8]
call fcn.00610540
movzx eax, al
test eax, eax
jne 0x60fee7
xor al, al
jmp 0x61021f
mov byte [ebp - 1], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call fcn.006105b0
movzx edx, al
test edx, edx
jne 0x60ff27
xor al, al
jmp 0x61021f
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
call fcn.00610900
movzx ecx, al
test ecx, ecx
jne 0x60ff4e
mov edx, dword [ebp - 8]
mov dword [edx + 0xa0], 4
xor al, al
jmp 0x61021f
mov ecx, dword [ebp - 8]
call fcn.00610990
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 8], 0x194
jne 0x60ff7c
mov eax, dword [ebp - 8]
mov dword [eax + 0xa0], 5
xor al, al
jmp 0x61021f
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x60ffb5
mov edx, dword [ebp - 8]
mov dword [edx + 0xa0], 7
xor al, al
jmp 0x61021f
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x610011
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
jmp 0x61021f
push 0x1000
call fcn.006394f3
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, 1
test eax, eax
je 0x6101f4
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x9c], 0
je 0x610069
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x98]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x9c]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x9c]
mov eax, dword [edx + 4]
call eax
movzx ecx, al
test ecx, ecx
je 0x610069
jmp 0x6101f4
cmp dword [ebp - 0x10], 0x1000
jbe 0x61008d
mov edx, dword [ebp - 0x14]
push edx
call fcn.00632f24
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call fcn.006394f3
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x6100af
jmp 0x6101f4
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x6100d3
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x34]
je 0x6100d8
jmp 0x6101f4
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x9c], 0
je 0x610155
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
cvtsi2sd xmm0, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x6ead30]
sub esp, 8
movsd qword [esp], xmm0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
cvtsi2sd xmm0, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x6ead30]
sub esp, 8
movsd qword [esp], xmm0
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x98]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x9c]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x9c]
mov eax, dword [edx]
call eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x61016f
jmp 0x6101f4
cmp dword [ebp - 0x10], 0
ja 0x6101ef
mov byte [ebp - 1], 1
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x9c], 0
je 0x6101ed
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
cvtsi2sd xmm0, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6ead30]
sub esp, 8
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
cvtsi2sd xmm0, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x6ead30]
sub esp, 8
movsd qword [esp], xmm0
push 2
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x98]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x9c]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x9c]
mov eax, dword [edx]
call eax
jmp 0x6101f4
jmp 0x610021
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00632f24
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x61021c
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 8