Function at 0x140153750
Capabilities:
Hash data using sha1

Disassembly:
mov rax, rsp
mov byte [rax + 0x20], r9b
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x950
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov r14, r8
mov r13, rdx
mov r15, rcx
test r9b, r9b
jne 0x14015379a
call fcn.140152eb0
test al, al
je 0x140153db4
call fcn.14014bbc0
mov rdi, rax
xor esi, esi
cmp qword [rax + 0x10], rsi
jne 0x1401537cd
lea ecx, [rsi + 0x10]
call fcn.14015c78c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1401537c6
mov rcx, rax
call 0x14014ffb0
jmp 0x1401537c9
mov rax, rsi
mov qword [rdi + 0x10], rax
mov rbx, qword [rdi + 0x10]
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov ecx, dword [rbx]
sub ecx, dword [rbx + 4]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x20]
lea rdx, [rsp + 0x30]
cmp rcx, 0x10
cmovbe rax, rdx
mov rbp, qword [rax]
mov rdi, rsi
or r12d, 0xffffffff
test rbp, rbp
je 0x140153854
nop word [rax + rax]
mov edx, dword [rbx + 4]
add rdx, rdi
shl rdx, 2
mov rcx, qword [rbx + 8]
mov rax, qword [rcx + 0x10]
sub rax, 4
cmp rdx, rax
ja 0x140153845
mov r9d, 4
lea r8, [rsp + 0x20]
call fcn.14014e440
test al, al
je 0x140153845
mov eax, dword [rsp + 0x20]
jmp 0x140153848
mov eax, r12d
mov dword [rsp + rdi*4 + 0x40], eax
inc rdi
cmp rdi, rbp
jb 0x140153810
mov qword [rsp + 0x20], 0x40
lea rdx, [rbp*4]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0xd0]
lea rcx, [rsp + 0x40]
call fcn.14014e790
mov rdx, qword [rsp + 0x20]
mov byte [rsp + rdx + 0xd0], 0
mov dword [rsp + 0x94], esi
mov dword [rsp + 0x90], esi
mov rdi, rsi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x98], 0x67452301
mov dword [rsp + 0x9c], 0xefcdab89
mov dword [rsp + 0xa0], 0x98badcfe
mov dword [rsp + 0xa4], 0x10325476
mov dword [rsp + 0xa8], 0xc3d2e1f0
mov byte [rsp + 0x40], dil
mov rax, qword [r13 + 0x10]
sub rax, 4
cmp rax, 0x10
jb 0x14015390a
mov r9d, 4
lea r8, [rsp + 0x20]
lea edx, [r9 + 0xc]
mov rcx, r13
call fcn.14014e440
test al, al
je 0x14015390a
mov ebx, dword [rsp + 0x20]
jmp 0x14015390d
mov ebx, r12d
mov rax, qword [r13 + 0x10]
sub rax, 4
cmp rax, 0xc
jb 0x14015393b
mov r9d, 4
lea r8, [rsp + 0x20]
lea edx, [r9 + 8]
mov rcx, r13
call fcn.14014e440
test al, al
je 0x14015393b
mov r12d, dword [rsp + 0x20]
mov ebp, ebx
test ebx, ebx
je 0x1401539be
mov ebx, r12d
mov rax, qword [r13 + 0x10]
dec rax
cmp rbx, rax
ja 0x140153971
mov r9d, 1
lea r8, [rsp + 0x28]
mov rdx, rbx
mov rcx, r13
call fcn.14014e440
test al, al
je 0x140153971
movzx eax, byte [rsp + 0x28]
jmp 0x140153973
mov al, 0xff
mov byte [rsp + rdi + 0x50], al
mov rdi, qword [rsp + 0x48]
inc rdi
mov qword [rsp + 0x48], rdi
add dword [rsp + 0x94], 8
jne 0x140153995
inc dword [rsp + 0x90]
cmp rdi, 0x40
jne 0x1401539aa
lea rcx, [rsp + 0x40]
call fcn.14014eb60
mov rdi, qword [rsp + 0x48]
inc rbx
sub rbp, 1
jne 0x140153944
cmp byte [rsp + 0x40], bpl
jne 0x140153a82
mov byte [rsp + rdi + 0x50], 0x80
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
cmp rax, 0x38
jbe 0x140153a00
cmp rax, 0x40
jae 0x1401539f1
lea rcx, [rsp + rax + 0x50]
mov r8d, 0x40
sub r8, rax
xor edx, edx
call fcn.140162660
lea rcx, [rsp + 0x40]
call fcn.14014eb60
mov rax, qword [rsp + 0x48]
cmp rax, 0x38
jae 0x140153a1b
lea rcx, [rsp + rax + 0x50]
mov r8d, 0x38
sub r8, rax
xor edx, edx
call fcn.140162660
mov eax, dword [rsp + 0x90]
shr eax, 0x10
rol ax, 8
movzx edx, ax
movzx eax, word [rsp + 0x90]
rol ax, 8
movzx ecx, ax
shl ecx, 0x10
or edx, ecx
mov dword [rsp + 0x88], edx
mov eax, dword [rsp + 0x94]
shr eax, 0x10
rol ax, 8
movzx edx, ax
movzx eax, word [rsp + 0x94]
rol ax, 8
movzx ecx, ax
shl ecx, 0x10
or edx, ecx
mov dword [rsp + 0x8c], edx
lea rcx, [rsp + 0x40]
call fcn.14014eb60
mov byte [rsp + 0x40], 1
mov rdi, rsi
nop word [rax + rax]
mov edx, dword [rsp + rdi + 0x98]
mov eax, edx
shr eax, 0x10
rol ax, 8
movzx ecx, ax
rol dx, 8
movzx eax, dx
shl eax, 0x10
or ecx, eax
mov dword [rsp + rdi + 0xb8], ecx
add rdi, 4
cmp rdi, 0x14
jb 0x140153a90
mov qword [rsp + 0x20], 0x40
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x110]
mov edx, shutdown
lea rcx, [rsp + 0xb8]
call fcn.14014e790
mov rdx, qword [rsp + 0x20]
mov byte [rsp + rdx + 0x110], 0
lea rax, [0x14016ea88]
lea rcx, [0x14016eaa0]
movzx r13d, byte [rsp + 0x998]
test r13b, r13b
cmovne rcx, rax
mov rax, rsi
cmp byte [r15 + 8], al
je 0x140153b2b
nop dword [rax]
inc rax
cmp byte [r15 + rax + 8], 0
jne 0x140153b20
movzx edx, byte [rcx]
test dl, dl
je 0x140153b4b
cmp rax, 0x800
jae 0x140153b4b
mov byte [r15 + rax + 8], dl
inc rax
inc rcx
mov dl, byte [rcx]
test dl, dl
jne 0x140153b32
mov byte [rax + r15 + 8], 0
mov r8b, 1
mov rdx, r14
mov rcx, r15
call fcn.140153560
lea rdx, [0x14016eab8]
mov rcx, rsi
cmp byte [r15 + 8], cl
je 0x140153b80
nop
inc rcx
cmp byte [r15 + rcx + 8], 0
jne 0x140153b70
nop dword [rax + rax]
cmp rcx, 0x800
jae 0x140153b9c
movzx eax, byte [rdx]
mov byte [r15 + rcx + 8], al
inc rcx
inc rdx
cmp byte [rdx], 0
jne 0x140153b80
mov byte [rcx + r15 + 8], 0
lea r12, [rsp + 0xd0]
mov rdi, rsi
cmp byte [r15 + 8], dil
je 0x140153bbe
inc rdi
cmp byte [r15 + rdi + 8], 0
jne 0x140153bb3
lea r14, [0x14016ea70]
cmp byte [rsp + 0xd0], 0
je 0x140153c59
cmp rdi, 0x7fc
jae 0x140153c59
movzx ebp, byte [r12]
mov ecx, ebp
call fcn.14015cf98
test eax, eax
jne 0x140153c43
cmp bpl, 0x2d
je 0x140153c43
cmp bpl, 0x5f
je 0x140153c43
cmp bpl, 0x2e
je 0x140153c43
cmp bpl, 0x7e
je 0x140153c43
cmp bpl, 0x20
jne 0x140153c15
mov byte [r15 + rdi + 8], 0x2b
inc rdi
jmp 0x140153c4b
mov byte [r15 + rdi + 8], 0x25
movzx ecx, bpl
mov rax, rcx
shr rax, 4
movzx eax, byte [rax + r14]
mov byte [r15 + rdi + 9], al
and ecx, 0xf
movzx eax, byte [rcx + r14]
mov byte [r15 + rdi + 0xa], al
add rdi, 3
jmp 0x140153c4b
mov byte [r15 + rdi + 8], bpl
inc rdi
inc r12
cmp byte [r12], 0
jne 0x140153bd3
mov byte [rdi + r15 + 8], 0
lea rdx, [0x14016eac0]
mov rcx, rsi
cmp byte [r15 + 8], cl
je 0x140153c80
nop
inc rcx
cmp byte [rcx + r15 + 8], 0
jne 0x140153c70
nop dword [rax + rax]
cmp rcx, 0x800
jae 0x140153c9c
movzx eax, byte [rdx]
mov byte [rcx + r15 + 8], al
inc rcx
inc rdx
cmp byte [rdx], 0
jne 0x140153c80
mov byte [rcx + r15 + 8], 0
lea rbp, [rsp + 0x110]
cmp byte [r15 + 8], 0
je 0x140153cbc
inc rsi
cmp byte [rsi + r15 + 8], 0
jne 0x140153cb1
cmp byte [rsp + 0x110], 0
je 0x140153d50
nop word [rax + rax]
cmp rsi, 0x7fc
jae 0x140153d50
movzx edi, byte [rbp]
mov ecx, edi
call fcn.14015cf98
test eax, eax
jne 0x140153d3f
cmp dil, 0x2d
je 0x140153d3f
cmp dil, 0x5f
je 0x140153d3f
cmp dil, 0x2e
je 0x140153d3f
cmp dil, 0x7e
je 0x140153d3f
cmp dil, 0x20
jne 0x140153d11
mov byte [rsi + r15 + 8], 0x2b
inc rsi
jmp 0x140153d47
mov byte [rsi + r15 + 8], 0x25
movzx ecx, dil
mov rax, rcx
shr rax, 4
movzx eax, byte [rax + r14]
mov byte [rsi + r15 + 9], al
and ecx, 0xf
movzx eax, byte [rcx + r14]
mov byte [rsi + r15 + 0xa], al
add rsi, 3
jmp 0x140153d47
mov byte [rsi + r15 + 8], dil
inc rsi
inc rbp
cmp byte [rbp], 0
jne 0x140153cd0
mov byte [rsi + r15 + 8], 0
test r13b, r13b
je 0x140153db2
lea r8, [r15 + 8]
mov edx, 0x800
lea rcx, [rsp + 0x150]
call fcn.14015d268
mov qword [rsp + 0x20], 0x800
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x150]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea r9, [rsp + 0x20]
lea r8, [r15 + 8]
lea rcx, [rsp + 0x150]
call fcn.14014e790
mov rdx, qword [rsp + 0x20]
mov byte [rdx + r15 + 8], 0
mov al, 1
lea r11, [rsp + 0x950]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret