Function at 0x18001c280
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4d0]
sub rsp, 0x5d0
mov rax, qword [0x180055010]
xor rax, rsp
mov qword [rbp + 0x4c0], rax
mov rax, qword [rbp + 0x538]
xor r15d, r15d
mov qword [rsp + 0x40], rax
mov r13, r8
mov eax, dword [rbp + 0x548]
mov r8d, edx
add eax, 0xfffffdfb
mov r12d, r9d
mov rdx, rcx
cmp eax, 0x8a
ja case.0x18001c2f8.518
lea r9, [0x180000000]
movzx eax, byte [r9 + rax + 0x1c6fc]
mov ecx, dword [r9 + rax*4 + 0x1c6ec]
add rcx, r9
jmp rcx
lea rcx, [rsp + 0x50]
mov dword [rbp - 0x64], 0x67452301
mov dword [rbp - 0x60], 0xefcdab89
mov dword [rbp - 0x5c], 0x98badcfe
mov dword [rbp - 0x58], 0x10325476
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
call fcn.1800293e0
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x50]
call fcn.180029490
mov esi, 0x289
mov qword [rsp + 0x38], reloc.WS2_32.dll_recv
mov r14b, reloc.WS2_32.dll_recv
mov edi, send
jmp 0x18001c442
lea rcx, [rsp + 0x50]
mov dword [rbp - 0x64], 0x67452301
mov dword [rbp - 0x60], 0xefcdab89
mov dword [rbp - 0x5c], 0x98badcfe
mov dword [rbp - 0x58], 0x10325476
mov dword [rbp - 0x54], 0xc3d2e1f0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
call fcn.18002c200
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x50]
call fcn.18002c470
mov esi, 0x58
mov qword [rsp + 0x38], socket
mov r14b, 0x14
lea edi, [rsi - 0x42]
jmp 0x18001c442
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x5c], 0x6a09e667
mov dword [rsp + 0x60], 0xbb67ae85
mov dword [rsp + 0x64], 0x3c6ef372
mov dword [rsp + 0x68], 0xa54ff53a
mov dword [rsp + 0x6c], 0x510e527f
mov dword [rsp + 0x70], 0x9b05688c
mov dword [rsp + 0x74], 0x1f83d9ab
mov dword [rsp + 0x78], 0x5be0cd19
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
call fcn.18002cf90
test eax, eax
jne case.0x18001c2f8.518
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x50]
call fcn.18002d200
test eax, eax
jne case.0x18001c2f8.518
mov esi, 0x19e
mov qword [rsp + 0x38], 0x20
mov r14b, 0x20
mov edi, 0x22
cmp dword [rbp + 0x530], 0x285
mov dword [rsp + 0x30], edi
jne 0x18001c6c1
mov rax, qword [rbp + 0x550]
mov qword [rsp + 0x628], rbx
mov ebx, dword [rbp + 0x540]
mov dword [rbp + 0x90], r15d
mov dword [rbp + 0x80], 0xffffffff
mov qword [rbp + 0x88], rax
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x30], r15
mov qword [rbp + 0x18], r15
mov qword [rbp], r15
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x78], r15
cmp ebx, 0x200
ja 0x18001c6a7
mov r9d, r12d
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x90]
mov rcx, r13
call fcn.18001a530
test eax, eax
js 0x18001c668
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp + 0xc0]
mov r8d, ebx
call fcn.18002fd00
lea rax, [rbp - 0x40]
mov dword [rbp + 0x90], ebx
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x90]
mov r13d, 1
lea r8, [rbp + 0xc0]
mov edx, ebx
mov dword [rsp + 0x20], r13d
lea rcx, [rbp + 0xc0]
call fcn.18002a880
test eax, eax
js 0x18001c668
mov eax, dword [rbp + 0x90]
mov edx, r13d
cmp eax, 0xa
lea r8d, [rax - 0xa]
cmovbe r8d, r15d
lea r12d, [rax - 1]
cmp byte [rbp + 0xc1], r13b
jne 0x18001c54c
mov r9d, r15d
cmp byte [rbp + 0xc0], r15b
je 0x18001c550
mov r9d, r13d
nop
cmp edx, r12d
jae 0x18001c566
mov eax, edx
inc edx
cmp byte [rbp + rax + 0xc1], 0xff
je 0x18001c550
cmp edx, r12d
je 0x18001c575
lea eax, [rdx - 1]
cmp byte [rbp + rax + 0xc1], r15b
jne 0x18001c590
sub r12d, edx
cmp r12d, r8d
ja 0x18001c590
test r9d, r9d
jne 0x18001c590
mov eax, edx
lea r13, [rbp + 0xc1]
add r13, rax
jmp 0x18001c59b
mov r13, qword [rsp + 0x40]
mov r12d, 0xffffff37
test r12d, r12d
js 0x18001c668
mov r8, qword [rsp + 0x38]
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x52]
mov byte [rsp + 0x50], 4
mov byte [rsp + 0x51], r14b
call fcn.18002fd00
lea rdx, [rbp + 0x98]
mov ecx, esi
call fcn.18001c020
mov r14d, eax
lea rdx, [rbp + 0x91]
mov byte [rbp + 0x90], 0x30
lea ecx, [rdi + r14]
call fcn.18001bf80
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x2c0]
lea esi, [rax + 1]
mov r8d, esi
mov edi, esi
call fcn.18002fd00
lea rcx, [rbp + 0x2c0]
mov r8d, r14d
add rcx, rdi
lea rdx, [rbp + 0x98]
call fcn.18002fd00
mov r8d, dword [rsp + 0x30]
lea rdx, [r14 + rsi]
lea rcx, [rbp + 0x2c0]
add rcx, rdx
lea rdx, [rsp + 0x50]
call fcn.18002fd00
mov eax, dword [rsp + 0x30]
add eax, esi
add eax, r14d
cmp eax, r12d
jne 0x18001c668
movsxd r8, eax
lea rdx, [rbp + 0x2c0]
mov rcx, r13
call fcn.18003df60
test eax, eax
mov eax, 1
cmove r15d, eax
cmp dword [rbp + 0x80], 1
jne 0x18001c6a7
lea rcx, [rbp + 0x68]
call fcn.1800210b0
lea rcx, [rbp + 0x50]
call fcn.1800210b0
lea rcx, [rbp + 0x38]
call fcn.1800210b0
lea rcx, [rbp + 0x20]
call fcn.1800210b0
lea rcx, [rbp + 8]
call fcn.1800210b0
lea rcx, [rbp - 0x10]
call fcn.1800210b0
lea rcx, [rbp - 0x28]
call fcn.1800210b0
lea rcx, [rbp - 0x40]
call fcn.1800210b0
mov rbx, qword [rsp + 0x628]
mov eax, r15d
jmp 0x18001c6c8
xor eax, eax
mov rcx, qword [rbp + 0x4c0]
xor rcx, rsp
call fcn.18002d8d0
add rsp, 0x5d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret