joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400519c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14013d0f0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140140378]
mov edi, edx
cmp byte [rbx + 0x1f75], 0
jne 0x140051a20
cmp byte [rbx + 0x1f76], 0
jne 0x140051a20
mov r9d, dword [rbx + 0x3054]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140044a60
test dil, 1
je 0x140051b3e
jmp 0x140051aa8
movss xmm1, dword [rbx + 0x1610]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3054]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14012318c]
mulss xmm1, dword [0x140123180]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1d08], rax
mov dword [rbx + 0x1cf4], 1
movss dword [rbx + 0x1d00], xmm0
movss dword [rbx + 0x1d04], xmm1
movss xmm0, dword [rbx + 0x166c]
mulss xmm0, dword [0x140123000]
or dword [rbx + 0x1cf0], 0x41
movss dword [rbx + 0x1d50], xmm0
call fcn.140044a60
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140051af8
lea r11, [0x14011a230]
cmp r9b, 0x23
jne 0x140051adb
cmp byte [r8], r9b
jne 0x140051adb
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140051ac8
not ecx
call fcn.14004b610
test rax, rax
je 0x140051b3e
cmp byte [rax + 0x8e], 0
je 0x140051b3e
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3054]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x3054]
call fcn.140044a60
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14004dd00
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400fef80
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14006dc00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r8, qword [rcx + 0x190]
mov r9, rcx
movsxd rax, edx
imul rbx, rax, 0x68
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x7c], edx
test dword [rbx], 0x10000
movss xmm0, dword [rbx + 0x34]
je 0x14006dc3c
addss xmm0, dword [rcx + 0x94]
lea rsi, [r8 + 0xd8]
movss dword [rsi], xmm0
movss xmm1, dword [rcx + 0xc8]
addss xmm1, dword [rcx + 0x84]
movss dword [r8 + 0xf0], xmm0
subss xmm0, dword [r8 + 0x10]
movss dword [r8 + 0xdc], xmm1
subss xmm0, dword [r8 + 0x118]
movss dword [r8 + 0x11c], xmm0
mov eax, dword [rcx + 0x90]
mov dword [r8 + 0x110], eax
movsx eax, byte [rbx + 0x62]
mov dword [r8 + 0x124], eax
movss dword [r8 + 0x204], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r8 + 0x200], eax
mov eax, dword [rbx + 0x38]
mov dword [r8 + 0x208], eax
mov eax, dword [rbx + 0x3c]
mov dword [r8 + 0x194], eax
cmp byte [rbx + 0x5a], 0
jne 0x14006dcd7
maxss xmm1, dword [rcx + 0x88]
movss dword [r8 + 0xdc], xmm1
movzx eax, byte [rbx + 0x60]
mov byte [r8 + 0x93], al
cmp byte [rbx + 0x60], 0
je 0x14006dcfd
mov rax, qword [0x140140378]
xor ecx, ecx
mov dword [rax + 0x1cc0], ecx
mov dword [rax + 0x1cc8], ecx
test dword [r9 + 4], 0x100000
je 0x14006dd0e
mov eax, 2
jmp 0x14006dd8d
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r8 + 0x280]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r8 + 0x220], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r8 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx eax, byte [rbx + 0x57]
mov rdx, qword [r8 + 0x280]
mov r8d, eax
mov rcx, qword [r9 + 0x1a8]
call fcn.140063780
mov rdi, qword [0x140140378]
cmp byte [rdi + 0x30ec], 0
je 0x14006ddd5
cmp byte [rbx + 0x60], 0
jne 0x14006ddd5
xor r8d, r8d
lea rdx, [0x140120bc8]
mov rcx, rsi
call fcn.140056690
mov dword [rdi + 0x3120], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14006f1e0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x140140378]
mov rdx, qword [rax + 0x2018]
cmp ecx, 0xffffffff
jne 0x14006f1fa
cmp dword [rdx + 0x7c], ecx
cmovne ecx, dword [rdx + 0x7c]
cmp ecx, dword [rdx + 0x74]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x14006f277
mov r10d, dword [rdx]
lea r8, [0x140120bb9]
movzx eax, word [rdx + 0x80]
lea r11, [0x14011a230]
not r10d
mov byte [rdx + 0x1f0], cl
mov ecx, r10d
mov byte [rdx + 0x1fe], 1
mov word [rdx + 0x82], ax
mov r9b, reloc.WLDAP32.dll_Ordinal_35
cmp r9b, 0x23
jne 0x14006f253
cmp byte [r8], r9b
jne 0x14006f253
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14006f240
not ecx
jmp fcn.140051c10
ret
Function at 0x14007f6a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14013d0f0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x14007f706
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x14007f6d6
cmp byte [rax], cl
jne 0x14007f702
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x14007f6c7
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400fef80
add rsp, 0x90
pop rbx
ret
movzx ecx, byte [r8]
cmp cl, 0x25
jne 0x14007f6e6
cmp byte [r8 + 1], cl
je 0x14007f6e6
lea r11, [rsp + 0x20]
mov r9, r8
movzx edx, cl
nop dword [rax]
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14007f73d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x14007f765
sub dl, 0x61
cmp dl, 0x19
ja 0x14007f757
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x14007f765
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x14007f720
jmp 0x14007f768
inc r9
cmp r8, r9
jae 0x14007f79f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x14007f794
bt rdx, rax
jb 0x14007f79a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x14007f780
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.140044a60
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x14007f7d8
nop
inc rcx
cmp byte [rcx], 0x20
je 0x14007f7d0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14007f85b
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x14007f7fa
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x14007f808
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x14007f846
movss xmm2, dword [0x140123184]
nop
cmp al, 0x39
ja 0x14007f846
movzx eax, al
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x14007f820
cmp r9b, 0x2d
jne 0x14007f868
xorps xmm1, xmmword [0x140123640]
movaps xmm0, xmm1
jmp 0x14007f6e9
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14007f6e9
Function at 0x14007f870
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14013d0f0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x14007f8d6
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x14007f8a6
cmp byte [rax], cl
jne 0x14007f8d2
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x14007f897
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400fef80
add rsp, 0x90
pop rbx
ret
movzx ecx, byte [r8]
cmp cl, 0x25
jne 0x14007f8b6
cmp byte [r8 + 1], cl
je 0x14007f8b6
lea r11, [rsp + 0x20]
mov r9, r8
movzx edx, cl
nop dword [rax]
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14007f90d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x14007f935
sub dl, 0x61
cmp dl, 0x19
ja 0x14007f927
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x14007f935
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x14007f8f0
jmp 0x14007f938
inc r9
cmp r8, r9
jae 0x14007f96f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x14007f964
bt rdx, rax
jb 0x14007f96a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x14007f950
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140044a60
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x14007f9a8
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x14007f9a0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14007fa29
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x14007f9ca
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x14007f9d8
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x14007fa14
movsd xmm2, qword [0x140123098]
nop
cmp al, 0x39
ja 0x14007fa14
movzx eax, al
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x14007f9f0
cmp r9b, 0x2d
jne 0x14007fa32
xorps xmm1, xmmword [0x140123630]
movaps xmm0, xmm1
jmp 0x14007f8b9
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14007f8b9

Function at 0x14007fa40
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
xorps xmm0, xmm0
mov ebx, edx
movups xmmword [0x1401403b8], xmm0
mov ecx, ebx
mov dword [0x1401403b8], 1
xor edx, edx
movups xmmword [0x1401403c8], xmm0
movups xmmword [0x1401403d8], xmm0
movups xmmword [0x1401403e8], xmm0
movups xmmword [0x1401403f8], xmm0
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor edx, edx
mov dword [0x1401403e0], 1
mov ecx, ebx
mov word [0x1401403c2], ax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, Ordinal_45
mov dword [0x1401403ec], 2
lea rdx, [0x1401403b8]
mov word [0x1401403ea], ax
lea ecx, [r8 - 0x26]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_SendInput]
Function at 0x14007fad0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov esi, edx
movsxd rbx, r8d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140140390], xmm0
mov ecx, esi
mov dword [0x140140390], 1
xor edx, edx
mov qword [0x1401403b0], rax
movups xmmword [0x1401403a0], xmm0
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, Ordinal_45
lea rdx, [0x140140390]
mov word [0x14014039a], ax
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140140390], xmm0
mov qword [0x1401403b0], rax
movups xmmword [0x1401403a0], xmm0
call fcn.1400fc510
imul rdi, rbx, 0x2710
movabs rbp, 0x7fffffffffffffff
movabs r14, 0x7ffffffffff0bdbe
add rdi, rax
call fcn.1400fc510
cmp rax, rdi
jge 0x14007fbd2
call fcn.1400fc410
mov rbx, rax
call fcn.1400fc3f4
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r14
jg 0x14007fbc1
add rax, 0xf4240
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.140002a00
jmp 0x14007fb70
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rbp
call fcn.140002a00
jmp 0x14007fb70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140140390], xmm0
xor edx, edx
mov dword [0x140140390], 1
mov ecx, esi
mov qword [0x1401403b0], rax
movups xmmword [0x1401403a0], xmm0
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, Ordinal_45
mov dword [0x14014039c], 2
lea rdx, [0x140140390]
mov word [0x14014039a], ax
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov rbx, qword [rsp + 0x50]
xorps xmm0, xmm0
mov rbp, qword [rsp + 0x60]
xor eax, eax
movups xmmword [0x140140390], xmm0
mov qword [0x1401403b0], rax
movups xmmword [0x1401403a0], xmm0
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x14007fc60
Capabilities:
Log keystrokes

Disassembly:
sub rsp, 0x28
xor ecx, ecx
mov eax, edx
xorps xmm0, xmm0
mov qword [0x1401403b0], rcx
movups xmmword [0x140140390], xmm0
mov ecx, eax
mov dword [0x140140390], 1
xor edx, edx
movups xmmword [0x1401403a0], xmm0
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, Ordinal_45
lea rdx, [0x140140390]
mov word [0x14014039a], ax
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140140390], xmm0
mov qword [0x1401403b0], rax
movups xmmword [0x1401403a0], xmm0
add rsp, 0x28
ret

Function at 0x14007fce0
Capabilities:
Log keystrokes

Disassembly:
sub rsp, 0x28
xor ecx, ecx
mov eax, edx
xorps xmm0, xmm0
mov qword [0x1401403b0], rcx
movups xmmword [0x140140390], xmm0
mov ecx, eax
mov dword [0x140140390], 1
xor edx, edx
movups xmmword [0x1401403a0], xmm0
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, Ordinal_45
mov dword [0x14014039c], 2
lea rdx, [0x140140390]
mov word [0x14014039a], ax
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140140390], xmm0
mov qword [0x1401403b0], rax
movups xmmword [0x1401403a0], xmm0
add rsp, 0x28
ret
Function at 0x14007ff40
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub rsp, 0x28
lea rcx, [0x140140498]
call qword [sym.imp.USER32.dll_ClipCursor]
mov r8d, dword [0x1401404b8]
xor eax, eax
mov ecx, dword [0x1401404c8]
mov edx, 0x10000
mov qword [0x140140414], rax
mov qword [0x14014041c], rax
mov qword [0x14014042c], rax
mov dword [0x140140434], eax
mov dword [0x140140410], eax
mov qword [0x140140424], 0x8001
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, dword [0x1401404bc]
mov edx, 0x10000
mov ecx, dword [0x1401404cc]
mov dword [0x140140418], eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r8d, Ordinal_45
lea rdx, [0x140140410]
mov dword [0x14014041c], eax
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
mov edx, dword [0x1401404cc]
mov ecx, dword [0x1401404c8]
call qword [sym.imp.USER32.dll_SetCursorPos]
lea rcx, [0x1401404d0]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x1401404d0]
mov ecx, dword [0x1401404c8]
sub eax, ecx
mov r8d, dword [0x1401404cc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xf
jge 0x140080023
mov eax, dword [0x1401404d4]
sub eax, r8d
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xf
jl 0x140080035
mov edx, r8d
call qword [sym.imp.USER32.dll_SetCursorPos]
lea rcx, [0x1401404d0]
jmp 0x14007ffeb
add rsp, 0x28
ret

Function at 0x140084970
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rdx + 0x10]
movabs rax, 0xbffffffffffffffd
cmp rcx, rax
ja 0x140084ab3
xor edi, edi
mov qword [rsi], rdi
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], dil
add rcx, 2
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
mov r8b, 0x3d
mov rcx, rsi
call fcn.14001e4f0
mov r10d, edi
mov r11d, edi
mov rcx, rbx
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400849f1
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x10]
add r8, rcx
cmp rdx, 0x10
jb 0x140084a01
mov rbx, qword [rbx]
cmp rbx, r8
je 0x140084a9d
lea r14, [0x14011e1c0]
movsx eax, byte [rbx]
movzx ecx, al
shl r11d, 8
or r11d, ecx
add r10d, 8
cmp r10d, 6
jl 0x140084a6b
movsxd rcx, r10d
mov eax, 0xaaaaaaab
mul r10d
shr edx, 2
mov r9d, edx
imul eax, edx, 0xfffffffa
add r10d, eax
nop
sub rcx, 6
mov rax, r11
shr rax, cl
and eax, 0x3f
movzx edx, byte [rax + r14]
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140084a5f
mov rax, qword [rsi]
mov byte [rax + rdi], dl
inc rdi
sub r9, 1
jne 0x140084a40
inc rbx
cmp rbx, r8
jne 0x140084a11
test r10d, r10d
jle 0x140084a9d
mov ecx, 6
sub ecx, r10d
mov edx, r11d
shl edx, cl
and edx, 0x3f
movzx ecx, byte [rdx + r14]
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140084a9a
mov rax, qword [rsi]
mov byte [rax + rdi], cl
mov rax, rsi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
lea rdx, str.Converting_too_large_a_string_to_base64.
lea rcx, [rsp + 0x28]
call fcn.140083da0
lea rdx, [0x14013a1e8]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1400899a0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r8
test r8, r8
jne 0x140089a29
cmp edx, 1
jne 0x1400899e9
mov rcx, qword [rcx + 0x398]
movzx r8d, dl
lea edx, [rbx + 7]
call qword [sym.imp.ImageRecognition.dll_public:_bool___cdecl_ImageRecognition::ImageRecognition::isSpellOnCoolDown_enum_ImageRecognition::ImageRecognition::SPELL__bool____ptr64]
test al, al
jne 0x140089ada
mov r8d, dword [0x14014079c]
mov edx, dword [0x140140690]
call fcn.14007fad0
mov al, 1
add rsp, 0x20
pop rbx
ret
cmp edx, 2
jne 0x140089ada
mov rcx, qword [rcx + 0x398]
mov r8b, 1
mov edx, 8
call qword [sym.imp.ImageRecognition.dll_public:_bool___cdecl_ImageRecognition::ImageRecognition::isSpellOnCoolDown_enum_ImageRecognition::ImageRecognition::SPELL__bool____ptr64]
test al, al
jne 0x140089ada
mov r8d, dword [0x14014079c]
mov edx, dword [0x1401406b8]
call fcn.14007fad0
mov al, 1
add rsp, 0x20
pop rbx
ret
cmp edx, 1
jne 0x140089a84
mov rcx, qword [rcx + 0x398]
movzx r8d, dl
mov edx, 7
call qword [sym.imp.ImageRecognition.dll_public:_bool___cdecl_ImageRecognition::ImageRecognition::isSpellOnCoolDown_enum_ImageRecognition::ImageRecognition::SPELL__bool____ptr64]
test al, al
jne 0x140089ada
lea rcx, [0x1401404c8]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
call fcn.14007fe70
mov r8d, dword [0x14014079c]
mov edx, dword [0x140140690]
call fcn.14007fad0
call fcn.14007ff40
mov al, 1
add rsp, 0x20
pop rbx
ret
cmp edx, 2
jne 0x140089ada
mov rcx, qword [rcx + 0x398]
mov r8b, 1
mov edx, 8
call qword [sym.imp.ImageRecognition.dll_public:_bool___cdecl_ImageRecognition::ImageRecognition::isSpellOnCoolDown_enum_ImageRecognition::ImageRecognition::SPELL__bool____ptr64]
test al, al
jne 0x140089ada
lea rcx, [0x1401404c8]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
call fcn.14007fe70
mov r8d, dword [0x14014079c]
mov edx, dword [0x1401406b8]
call fcn.14007fad0
call fcn.14007ff40
mov al, 1
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140089af0
Capabilities:
Log keystrokes

Disassembly:
sub rsp, 0x28
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140140bc8], eax
jle 0x140089b3d
lea rcx, [0x140140bc8]
call fcn.1400ff1a0
cmp dword [0x140140bc8], 0xffffffff
jne 0x140089b3d
call fcn.1400fc510
lea rcx, [0x140140bc8]
mov qword [0x140140bd0], rax
call fcn.1400ff140
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x140089b5e
call fcn.1400fc510
sub rax, qword [0x140140bd0]
cmp rax, 0x8f0d180
jl 0x140089be3
mov eax, dword [0x1401407e0]
dec eax
mov qword [rsp + 0x20], rbx
mov ebx, Ordinal_50
cmp eax, 6
ja case.default.0x140089b88
lea rdx, sym.MZ_nyCnSWP__Q4bo9___O__p_usQOz0HoGZaLz6d:w:___2QRWXp_O_
cdqe
mov ecx, dword [rdx + rax*4 + 0x89be8]
add rcx, rdx
jmp rcx
mov ebx, Ordinal_50
jmp case.default.0x140089b88
mov ebx, reloc.WLDAP32.dll_Ordinal_50
jmp case.default.0x140089b88
mov ebx, 0x33
jmp case.default.0x140089b88
mov ebx, 0x34
jmp case.default.0x140089b88
mov ebx, gethostname
jmp case.default.0x140089b88
mov ebx, gethostname
jmp case.default.0x140089b88
mov ebx, gethostname
mov byte [reloc.WS2_32.dll_accept], 0
call fcn.1400fc510
mov r8d, dword [0x14014079c]
mov edx, ebx
mov qword [0x140140bd0], rax
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp fcn.14007fad0
add rsp, 0x28
ret
Function at 0x1400bec30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1400bec72
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, gethostname
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400bee10
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x14013d0f0]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rsi, qword [rsp + 0x190]
mov rbp, rcx
mov rcx, qword [rcx + 0x18]
mov r15, r8
movsxd r8, edx
mov r12, r9
mov rax, r8
shl rax, 5
lea rbx, [rcx + 0x238]
mov r14, qword [rcx + r8*8 + 0x1f0]
add rbx, rax
mov rax, qword [rcx + 0x3f0]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x7c], 3
je 0x1400bef19
lea rax, [0x1400becc0]
cmp qword [rcx + r8*8 + 0x218], rax
jne 0x1400bef19
cmp qword [rbx], 0
je 0x1400bee9e
test rdi, rdi
je 0x1400bef19
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, r14
call fcn.1400cea00
cmp eax, 0xffffffff
je 0x1400bef19
test al, 1
je 0x1400bef19
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400beef8
mov eax, dword [rbp + 0x704]
add eax, eax
movsxd rcx, eax
mov qword [rbx + 8], rcx
call qword [section..data]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
je 0x1400bef53
mov rdi, qword [rbx + 8]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rcx
mov r8d, edi
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x1400bef19
add qword [rbx + 0x10], rcx
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
mov dword [rsi], 0
cmp rbx, 0xffffffffffffffff
jne 0x1400bef92
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
jne 0x1400bef62
xor ebx, ebx
mov dword [rsi], 0x51
jmp 0x1400bef92
mov dword [rsi], reloc.WLDAP32.dll_Ordinal_27
mov rax, 0xffffffffffffffff
jmp 0x1400bef95
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, edi
call fcn.1400ec050
mov r8, rax
lea rdx, str.Send_failure:__s
mov rcx, rbp
call fcn.1400be8e0
mov dword [rbp + 0xdcc], edi
mov dword [rsi], gethostname
mov rax, rbx
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400fef80
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400bf410
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x288], 0
je 0x1400bf42d
call fcn.1400b8950
test eax, eax
jne 0x1400bf453
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x1f0]
cmp rcx, 0xffffffffffffffff
je 0x1400bf426
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1400bf426
mov al, 1
add rsp, 0x28
ret