joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180071120
Capabilities:
Manipulate console buffer

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x180201ac0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, qword [rsp + 0xb8]
mov esi, r9d
movzx ebp, r8b
mov edi, edx
mov rbx, rcx
cmp dword [r14], 0
je 0x18007115e
mov eax, 0xffffffff
jmp 0x180071287
mov qword [rsp + 0x58], r12
xor r12d, r12d
mov qword [rsp + 0x50], r15
movzx r15d, byte [rsp + 0xb0]
mov rcx, qword [rbx + 0x110]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x180071193
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
movsx eax, word [rsp + 0x34]
mov edx, edi
movsx r8d, word [rsp + 0x38]
movsx r11d, word [rsp + 0x28]
sub r8d, eax
mov eax, dword [0x1802015c0]
inc r8d
movsx r9d, word [rsp + 0x2e]
mov dword [0x1802015c8], r11d
mov dword [0x1802015c4], r8d
cmp eax, 0xffffffff
jne 0x1800711d0
mov eax, r9d
jmp 0x1800711dd
mov ecx, r9d
sub ecx, r8d
inc ecx
cmp eax, ecx
cmovl eax, ecx
movsx r10d, word [rsp + 0x2a]
lea ecx, [r8 + rax]
cmp ecx, r10d
jle 0x1800711f2
mov eax, r10d
sub eax, r8d
test eax, eax
lea ecx, [r9 + rsi]
cmovs eax, r12d
mov dword [0x1802015c0], eax
test r15b, r15b
jne 0x18007120a
lea ecx, [rax + rsi]
cmp ecx, eax
jge 0x180071212
mov ecx, eax
jmp 0x18007121f
lea r9d, [r8 + rax]
cmp ecx, r9d
jl 0x18007121f
lea ecx, [r9 - 1]
test bpl, bpl
je 0x18007122b
movsx edx, word [rsp + 0x2c]
add edx, edi
test edx, edx
jns 0x180071234
mov edx, r12d
jmp 0x18007123d
cmp edx, r11d
jl 0x18007123d
lea edx, [r11 - 1]
mov word [rsp + 0x22], cx
mov rcx, qword [rbx + 0x110]
mov word [rsp + 0x20], dx
mov edx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
test eax, eax
jne 0x18007127b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x180071174
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov eax, 0xffffffff
jmp 0x18007127d
xor eax, eax
mov r12, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180133630
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800715e0
Capabilities:
Log keystrokes
Manipulate console buffer

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x180201ac0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov ecx, dword [rcx + 0x58]
btr ecx, 0xc
mov eax, ecx
sub dword [rbx + 0x7c], 1
mov dword [rbx + 0x58], ecx
jne 0x18007162b
test cl, 1
jne 0x18007162b
test cl, 4
je 0x18007162b
and eax, 0xfffffffb
mov dword [rbx + 0x58], eax
test al, 8
je 0x18007162b
mov rax, qword [rbx + 8]
dec dword [rax + 8]
mov eax, dword [rbx + 0x58]
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0x88], rdi
bt eax, 0x10
jae 0x1800716bd
bt eax, 0x19
jae 0x180071686
mov rcx, qword [rbx + 0x110]
lea r9, [rsp + 0x40]
xor eax, eax
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x70], eax
xorps xmm0, xmm0
mov eax, reloc.WS2_32.dll_recv
movups xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x60], ax
lea r8d, [rax - 0xf]
call qword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
test eax, eax
jne 0x1800716bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800716bf
bt eax, 0x15
jb 0x1800716bd
lea rcx, [0x180207cc0]
xor edi, edi
call fcn.18006c6e0
mov eax, 2
xchg dword [0x180207c78], eax
cmp eax, 1
je 0x1800716e5
lea rcx, [0x180207cc0]
call fcn.18006c6b0
or dword [rbx + 0x58], 0x200000
xor eax, eax
mov rdi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180133630
add rsp, 0x90
pop rbx
ret
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0xb0], rsi
lea rcx, str.conout_
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov qword [rsp + 0x80], r14
lea r8d, [r9 + 3]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180071748
lea rdx, [0x180207c80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x180071748
lock or dword [0x180207c7c], 1
mov ebp, 1
mov dword [rsp + 0x50], 0xd0001
mov r14d, reloc.WS2_32.dll_listen
mov word [rsp + 0x48], bp
mov ecx, r14d
mov dword [rsp + 0x4c], ebp
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov rcx, qword [rbx + 0x110]
lea r9, [rsp + 0x44]
mov r8d, ebp
mov word [rsp + 0x54], ax
lea rdx, [rsp + 0x48]
mov word [rsp + 0x56], r14w
mov dword [rsp + 0x58], edi
call qword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov r14, qword [rsp + 0x80]
test eax, eax
jne 0x1800717ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rsi, 0xffffffffffffffff
je 0x1800717bb
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0xb0]
test edi, edi
je 0x1800716b6
mov eax, edi
jmp 0x1800716bf
Function at 0x180074cd0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x48]
lea rcx, [0x180207d80]
mov dword [0x180207da8], eax
call fcn.18006c590
test eax, eax
jne 0x180074d2d
lea rax, [0x18048fdb8]
mov edx, 0x100
lea rcx, [0x180207db0]
xor r8d, r8d
nop
mov qword [rax], rcx
add rcx, 0x2880
mov qword [rax - 8], r8
lea rax, [rax + 0x10]
sub rdx, 1
jne 0x180074d10
add rsp, 0x58
ret
lea rdx, str.uv_mutex_init
mov ecx, eax
call fcn.18006c900
int3
Function at 0x180076020
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x478
mov rax, qword [0x180201ac0]
xor rax, rsp
mov qword [rsp + 0x460], rax
lea r8, [0x1804a4280]
xor edx, edx
lea rcx, str.0.0.0.0
call fcn.180068e50
test eax, eax
jne 0x1800761bd
lea r8, [0x1804a4260]
xor edx, edx
lea rcx, [0x1801716e0]
call fcn.180068ea0
test eax, eax
jne 0x1800761bd
lea ecx, [rax + 0x43]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
je 0x1800761a5
mov ecx, 0x202
lea rdx, [rsp + 0x2c0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1800761c3
mov qword [rsp + 0x480], rbx
lea edx, [rax + 1]
xor r8d, r8d
mov qword [rsp + 0x470], rdi
lea ecx, [rax + 2]
mov dword [0x1804a4294], 1
call qword [sym.imp.WS2_32.dll_socket]
xor edi, edi
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180076123
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x274
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x2005
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x18007611a
mov eax, dword [0x1804a4294]
test dword [rsp + 0x40], 0x20000
cmovne eax, edi
mov dword [0x1804a4294], eax
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
xor r8d, r8d
mov dword [0x1804a4290], 1
lea edx, [r8 + 1]
lea ecx, [rdx + 0x16]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180076195
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x274
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x2005
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x18007618c
mov eax, dword [0x1804a4290]
test dword [rsp + 0x40], 0x20000
cmovne eax, edi
mov dword [0x1804a4290], eax
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rsp + 0x480]
mov rdi, qword [rsp + 0x470]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.180133630
add rsp, 0x478
ret
call fcn.180144c1c
int3
lea rdx, str.WSAStartup
mov ecx, eax
call fcn.18006c900
int3
Function at 0x1800775b0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x40
mov rax, qword [0x180201ac0]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp byte [reloc.WS2_32.dll_accept], 0
mov rbp, r8
mov rsi, rdx
je 0x1800776cc
cmp byte [0x18049fe18], 0
je 0x1800776cc
xor ebx, ebx
test ecx, ecx
je 0x180077608
sub ecx, 1
je 0x180077603
sub ecx, 1
je 0x1800775fc
cmp ecx, 1
jne 0x180077608
mov ebx, 1
jmp 0x180077608
mov ebx, 3
test ebx, ebx
je 0x1800776cc
mov qword [rsp + 0x60], rdi
mov ecx, 0xfffffff4
mov qword [rsp + 0x78], r14
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx r14d, word [rsp + 0x28]
mov ecx, 2
call fcn.180142bec
mov rcx, rax
call fcn.180143090
sub ebx, 1
je 0x180077672
sub ebx, 1
je 0x18007766b
cmp ebx, 1
je 0x180077664
mov eax, 8
jmp 0x180077677
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x180077677
mov eax, 0xa
jmp 0x180077677
mov eax, listen
movzx edx, ax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, 2
call fcn.180142bec
mov r9, rax
mov r8d, 1
mov rdx, rbp
mov rcx, rsi
call fcn.180143b9c
mov ecx, 2
call fcn.180142bec
mov rcx, rax
call fcn.180143090
movzx edx, r14w
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x60]
jmp 0x1800776ea
mov ecx, 2
call fcn.180142bec
mov r9, rax
mov r8d, 1
mov rdx, rbp
mov rcx, rsi
call fcn.180143b9c
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180133630
add rsp, 0x40
pop rsi
pop rbp
pop rbx
ret

Function at 0x180077eb0
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x180201ac0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x180077f1a
lea rax, [rsp + 0x28]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180077ef0
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.18002c300
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180133630
add rsp, 0x40
pop rbx
ret
mov qword [rbx + 0x10], 0
cmp qword [rbx + 0x18], 0x10
jb 0x180077f2c
mov rbx, qword [rbx]
mov byte [rbx], 0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180133630
add rsp, 0x40
pop rbx
ret
Function at 0x180078680
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x180201ac0]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rbx, rcx
mov r8, rcx
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.18002c870
mov rax, qword [rbx]
mov qword [rbx + 8], rax
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, reloc.WS2_32.dll_ntohs
test eax, eax
je 0x180078791
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov byte [rsp + 0x20], 0
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180078703
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.18002c300
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x180078747
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov rdx, rdi
mov byte [rsp + 0x20], 0
add qword [rbx + 8], 0x20
jmp 0x180078759
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.180041890
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x180078791
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007878c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800788f3
call fcn.180133ca4
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], 7
mov eax, dword [str.C:_tmp_]
mov dword [rsp + 0x20], eax
movzx eax, word [0x180171e7c]
mov word [rsp + 0x24], ax
movzx eax, byte [0x180171e7e]
mov byte [rsp + 0x26], al
mov byte [rsp + 0x27], 0
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x1800787f8
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov rdx, rdi
mov byte [rsp + 0x20], 0
add qword [rbx + 8], 0x20
jmp 0x18007880a
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.180041890
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x180078842
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007883d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800788f3
call fcn.180133ca4
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], 8
movabs rax, 0x5c706d65745c3a43
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x28], 0
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x18007888b
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov byte [rsp + 0x20], 0
add qword [rbx + 8], 0x20
jmp 0x18007889d
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.180041890
mov rdi, qword [rsp + 0x38]
cmp rdi, 0x10
jb 0x1800788d2
lea rdx, [rdi + 1]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800788cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800788f3
call fcn.180133ca4
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.180133630
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.18013a40c
int3
Function at 0x180083150
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x180201ac0]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x67452301
mov rbx, r8
mov dword [rsp + 0x2c], 0xefcdab89
mov r8, rdx
mov dword [rsp + 0x30], 0x98badcfe
mov rdx, rcx
mov dword [rsp + 0x34], 0x10325476
xor eax, eax
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x20], rax
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
call fcn.180083dc0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1800831f0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180133630
add rsp, 0x90
pop rbx
ret

Function at 0x180083f30
Capabilities:
Encode data using base64

Disassembly:
push rbx
push rsi
sub rsp, 0x58
mov rax, qword [0x180201ac0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, qword [rsp + 0x90]
lea eax, [rdx*8]
mov r11d, r9d
mov dword [rsp + 0x20], eax
mov r10, r8
shl r11w, 3
mov r9, rcx
movzx r8d, r11w
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.180085620
mov r11, qword [0x1802017a0]
lea rbx, [rsp + 0x30]
mov rax, rsi
mov qword [rsp + 0x50], rdi
mov r9d, reloc.WS2_32.dll_sendto
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rbx]
lea r10, [rax + 2]
mov ecx, r8d
shr rcx, 2
movzx ecx, byte [rcx + r11]
mov byte [rax], cl
sub r9d, 1
je 0x18008402c
movzx edx, byte [rbx + 1]
and r8d, 3
mov ecx, edx
shl r8, 4
shr rcx, 4
and edx, 0xf
or rcx, r8
lea rdi, [rdx*4]
movzx ecx, byte [rcx + r11]
mov byte [rax + 1], cl
lea rax, [r10 + 1]
sub r9d, 1
je 0x18008401c
movzx edx, byte [rbx + 2]
add rbx, 3
mov ecx, edx
and edx, 0x3f
shr rcx, 6
or rcx, rdi
movzx ecx, byte [rcx + r11]
mov byte [r10], cl
movzx ecx, byte [rdx + r11]
mov byte [rax], cl
inc rax
sub r9d, 1
jne 0x180083fa0
jmp 0x180084047
movzx ecx, byte [rdi + r11]
mov byte [r10], cl
mov byte [rax], 0x3d
inc rax
jmp 0x180084047
mov rcx, r8
and ecx, 3
add rcx, rcx
movzx ecx, byte [r11 + rcx*8]
mov byte [rax + 1], cl
lea rax, [r10 + 2]
mov word [r10], 0x3d3d
mov rdi, qword [rsp + 0x50]
sub eax, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180133630
add rsp, 0x58
pop rsi
pop rbx
ret
Function at 0x180085620
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x180201ac0]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
movzx eax, r8w
mov ebp, 0x200
mov r14, rcx
lea rcx, [rsp + 0x40]
mov rbx, r9
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
cmp r8w, bp
jbe 0x18008567b
mov r8d, eax
call fcn.1800857c0
jmp 0x180085688
lea r8d, [rax + 7]
shr r8, 3
call fcn.180135a90
mov edi, 0x40
lea rax, [rsp + 0x40]
mov ecx, edi
nop dword [rax]
nop dword [rax + rax]
xor byte [rax], 0x36
lea rax, [rax + 1]
sub rcx, 1
jne 0x1800856a0
lea rcx, [rsp + 0x20]
call fcn.1800859b0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180085b20
mov esi, dword [rsp + 0xe0]
cmp esi, ebp
jb 0x1800856fc
mov ebp, esi
shr rbp, 9
nop word [rax + rax]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180085b20
add rbx, rdi
add esi, 0xfffffe00
sub rbp, 1
jne 0x1800856e0
movzx r8d, si
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.1800859e0
lea rax, [rsp + 0x40]
xor byte [rax], 0x6a
lea rax, [rax + 1]
sub rdi, 1
jne 0x180085712
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.180085980
lea rcx, [rsp + 0x20]
call fcn.1800859b0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180085b20
mov r8d, 0xa0
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.1800859e0
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.180085980
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180133630
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800857c0
Capabilities:
Hash data using sha1

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rax, qword [0x180201ac0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov dword [rbp - 0x49], 0x67452301
mov r14d, r8d
mov dword [rbp - 0x45], 0xefcdab89
mov rbx, rdx
mov dword [rbp - 0x41], 0x98badcfe
mov r15, rcx
mov dword [rbp - 0x3d], 0x10325476
mov dword [rbp - 0x39], 0xc3d2e1f0
mov qword [rbp - 0x31], 0
test r8d, 0xfffffe00
je 0x180085842
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.180085b20
add rbx, 0x40
add r14d, 0xfffffe00
test r14d, 0xfffffe00
jne 0x180085822
mov r12d, 0x200
cmp r14w, r12w
jb 0x18008587a
movzx edi, r14w
mov esi, 0xfe00
shr rdi, 9
nop dword [rax + rax]
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.180085b20
add r14w, si
add rbx, 0x40
sub rdi, 1
jne 0x180085860
xorps xmm0, xmm0
movzx edi, r14w
movzx esi, r14w
lea rcx, [rbp - 0x29]
add qword [rbp - 0x31], rsi
mov rdx, rbx
movups xmmword [rbp - 0x29], xmm0
lea r8d, [rdi + 7]
shr r8, 3
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
call fcn.180135a90
and edi, 7
shr rsi, 3
movzx ecx, dil
mov eax, 0x80
sar eax, cl
or byte [rbp + rsi - 0x29], al
mov eax, 0x1bf
cmp r14w, ax
jbe 0x1800858f2
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x49]
call fcn.180085b20
sub qword [rbp - 0x31], r12
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
xor dl, dl
lea r8, [rbp + 0xf]
nop dword [rax + rax]
movzx eax, dl
lea rcx, [rbp - 0x2a]
sub rcx, rax
lea r8, [r8 + 1]
inc dl
movzx eax, byte [rcx]
mov byte [r8 - 1], al
cmp dl, 8
jb 0x180085900
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x49]
call fcn.180085b20
lea rdx, [rbp - 0x49]
mov ecx, 5
sub rdx, r15
nop word [rax + rax]
mov eax, dword [rdx + r15]
lea r15, [r15 + 4]
bswap eax
mov dword [r15 - 4], eax
sub rcx, 1
jne 0x180085940
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.180133630
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x1800859b0
Capabilities:
Hash data using sha1

Disassembly:
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
mov qword [rcx + 0x18], 0
ret
Function at 0x180085b20
Capabilities:
Hash data using sha1

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 - 0x37]
sub rsp, 0xd0
mov rax, qword [0x180201ac0]
xor rax, rsp
mov qword [rbp + 0x27], rax
lea rax, [0x180085790]
mov qword [rbp - 0x71], rcx
mov qword [rbp - 0x41], rax
mov r9, rcx
lea rcx, [0x1800857b0]
mov dword [rbp - 0x51], 0x5a827999
lea rax, [0x1800857a0]
mov qword [rbp - 0x39], rcx
mov r8, rdx
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x19]
mov qword [rbp - 0x29], rcx
sub r8, rax
mov dword [rbp - 0x4d], 0x6ed9eba1
mov dword [rbp - 0x49], 0x8f1bbcdc
lea rcx, [rbp - 0x19]
mov dword [rbp - 0x45], 0xca62c1d6
mov edx, reloc.WS2_32.dll_recv
nop dword [rax]
mov eax, dword [r8 + rcx]
lea rcx, [rcx + 4]
bswap eax
mov dword [rcx - 4], eax
sub rdx, 1
jne 0x180085bb0
movups xmm0, xmmword [r9]
mov eax, dword [r9 + 0x10]
xor dil, dil
xor r15b, r15b
mov dword [rbp - 0x59], eax
movups xmmword [rbp - 0x69], xmm0
mov edx, dword [rbp - 0x61]
xor r14b, r14b
mov r13d, dword [rbp - 0x69]
movzx esi, r14b
movzx r12d, r15b
and esi, 0xf
mov dword [rbp - 0x79], eax
cmp r14b, 0x10
jb 0x180085c27
lea rax, [rsi - 3]
and eax, 0xf
lea rcx, [rsi - 8]
and ecx, 0xf
mov r8d, dword [rbp + rcx*4 - 0x19]
xor r8d, dword [rbp + rax*4 - 0x19]
lea rax, [rsi + 2]
and eax, 0xf
xor r8d, dword [rbp + rax*4 - 0x19]
xor r8d, dword [rbp + rsi*4 - 0x19]
rol r8d, 1
mov dword [rbp + rsi*4 - 0x19], r8d
mov r8d, dword [rbp - 0x5d]
mov ecx, dword [rbp - 0x65]
movzx ebx, dil
call qword [rbp + rbx*8 - 0x41]
rol r13d, 5
lea rdx, [rbp - 0x69]
add r13d, eax
lea rcx, [rbp - 0x65]
add r13d, dword [rbp + rbx*4 - 0x51]
mov r8d, reloc.WS2_32.dll_recv
add r13d, dword [rbp + rsi*4 - 0x19]
add r13d, dword [rbp - 0x79]
call fcn.180135a90
mov edx, dword [rbp - 0x61]
inc r15b
ror edx, 2
mov dword [rbp - 0x69], r13d
mov dword [rbp - 0x61], edx
movzx eax, r15b
cmp r12b, 0x13
jne 0x180085c7f
inc dil
and dil, 3
xor r15d, r15d
inc r14b
cmp r12b, 0x13
cmovne r15d, eax
cmp r14b, 0x4f
ja 0x180085c9b
mov eax, dword [rbp - 0x59]
jmp 0x180085be2
mov r9, qword [rbp - 0x71]
lea r8, [rbp - 0x69]
mov rax, r9
sub r8, r9
mov edx, 5
nop
mov ecx, dword [r8 + rax]
add dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x180085cb0
add qword [r9 + 0x18], 0x200
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180133630
lea r11, [rsp + 0xd0]
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