Function at 0x140029039
Capabilities:
Hash data using sha1

Disassembly:
jmp 0x140029030
test rcx, rcx
je 0x14002938d
mov r11, rsp
push rbp
push rbx
push r13
lea rbp, [r11 - 0x5f]
sub rsp, 0xf0
mov rax, qword [0x140188050]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov qword [rsp + 0x20], rdx
mov rbx, r8
mov qword [rsp + 0x28], rbx
mov r8, rdx
mov qword [rbp - 0x69], rcx
mov r13, rcx
test rdx, rdx
je 0x140029376
test rbx, rbx
je 0x140029376
movzx eax, word [rcx + 0x54]
add rax, rbx
cmp rax, 0x40
jb 0x140029355
mov qword [r11 + 0x20], rsi
lea rcx, [rbp - 0x29]
mov qword [r11 - 0x20], rdi
lea rax, [rbp - 0x59]
sub rax, r13
mov qword [r11 - 0x28], r12
add rax, 0xffffffffffffffaa
mov qword [r11 - 0x30], r14
mov rsi, r13
mov qword [r11 - 0x38], r15
sub rsi, rcx
mov dword [rbp - 0x41], 0x5a827999
add rsi, 0x14
mov dword [rbp - 0x3d], 0x6ed9eba1
lea rdi, [r13 + 0x56]
mov qword [rbp - 0x61], rsi
xor r14d, r14d
mov dword [rbp - 0x39], 0x8f1bbcdc
mov dword [rbp - 0x35], 0xca62c1d6
mov qword [rbp - 0x79], rdi
mov qword [rbp - 0x71], rax
nop
movzx eax, word [r13 + 0x54]
lea rcx, [r13 + 0x14]
mov edx, 0x40
add rcx, rax
sub rdx, rax
mov r9, rdx
call fcn.140029470
xor eax, eax
lea r8, [rbp - 0x29]
mov qword [rbp - 0x29], rax
mov ebx, r14d
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
lea r9d, [rax + 0x10]
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
nop dword [rax]
mov ecx, dword [rsi + r8]
lea r8, [r8 + 4]
mov edx, ecx
mov eax, ecx
shr eax, 0x10
and edx, 0xff0000
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov dword [r8 - 4], edx
sub r9, 1
jne 0x140029140
test rdi, rdi
je 0x14002918a
movups xmm0, xmmword [rdi]
mov eax, dword [rdi + 0x10]
mov dword [rbp - 0x49], eax
movups xmmword [rbp - 0x59], xmm0
jmp 0x1400291a7
xor eax, eax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rax
mov dword [rbp - 0x49], eax
call fcn.140008260
mov dword [rax], socket
call fcn.14000c430
mov r10d, dword [rbp - 0x51]
xor dil, dil
mov r15d, dword [rbp - 0x59]
xor r12b, r12b
xor sil, sil
nop dword [rax + rax]
movzx r11d, sil
and r11b, 0xf
cmp sil, 0x10
jb 0x140029208
movzx eax, r11b
lea r9, [rbp - 0x29]
lea r9, [r9 + rax*4]
movzx edx, r11b
lea eax, [rdx - 3]
and eax, 0xf
lea ecx, [rdx - 8]
and ecx, 0xf
mov r8d, dword [rbp + rcx*4 - 0x29]
xor r8d, dword [rbp + rax*4 - 0x29]
lea eax, [rdx + 2]
and eax, 0xf
xor r8d, dword [rbp + rax*4 - 0x29]
xor r8d, dword [r9]
rol r8d, 1
mov dword [r9], r8d
movzx r14d, dil
mov ecx, r14d
test dil, dil
je 0x140029240
sub ecx, 1
je 0x140029223
sub ecx, 1
je 0x14002922e
cmp ecx, 1
jne 0x14002924f
mov ebx, dword [rbp - 0x55]
xor ebx, r10d
xor ebx, dword [rbp - 0x4d]
jmp 0x14002924f
mov ebx, r10d
and r10d, dword [rbp - 0x4d]
xor ebx, dword [rbp - 0x4d]
and ebx, dword [rbp - 0x55]
xor ebx, r10d
jmp 0x14002924f
mov eax, dword [rbp - 0x55]
mov ebx, eax
not ebx
and eax, r10d
and ebx, dword [rbp - 0x4d]
xor ebx, eax
rol r15d, 5
lea rdx, [rbp - 0x59]
movzx eax, dil
lea rcx, [rbp - 0x55]
mov r8d, reloc.WSOCK32.dll_recv
add r15d, dword [rbp + rax*4 - 0x41]
movzx eax, r11b
add r15d, dword [rbp + rax*4 - 0x29]
add r15d, dword [rbp - 0x49]
add r15d, ebx
call fcn.14000bfe0
mov r10d, dword [rbp - 0x51]
inc r12b
ror r10d, 2
mov dword [rbp - 0x59], r15d
mov dword [rbp - 0x51], r10d
cmp r12b, 0x14
jne 0x1400292ae
xor r12b, r12b
lea edi, [r14 + 1]
and edi, 0x80000003
jge 0x1400292ae
dec edi
or edi, 0xfffffffc
inc edi
inc sil
cmp sil, 0x4f
jbe 0x1400291c0
mov rdi, qword [rbp - 0x79]
mov edx, 5
mov r13, qword [rbp - 0x71]
mov rcx, rdi
nop dword [rax + rax]
mov eax, dword [rcx + r13]
add dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1400292d0
mov r13, qword [rbp - 0x69]
xor r14d, r14d
mov rbx, qword [rsp + 0x28]
mov eax, 0x40
mov r8, qword [rsp + 0x20]
add rbx, 0xffffffffffffffc0
mov rsi, qword [rbp - 0x61]
movzx ecx, word [r13 + 0x54]
add qword [r13 + 0x6a], 0x200
sub rax, rcx
add r8, rax
mov word [r13 + 0x54], r14w
add rbx, rcx
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], rbx
cmp rbx, 0x40
jae 0x1400290f0
mov r15, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0x128]
test rbx, rbx
je 0x140029376
movzx eax, word [r13 + 0x54]
lea rcx, [r13 + 0x14]
add rcx, rax
mov r9, rbx
mov rdx, rbx
call fcn.140029470
add word [r13 + 0x54], bx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14000d260
add rsp, 0xf0
pop r13
pop rbx
pop rbp
ret