joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401e3d20
Capabilities:
Generate random numbers via winapi

Disassembly:
mov rcx, rdx
mov rdx, r8
jmp sym.Curl_win32_random

Function at 0x1401e4690
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
xor eax, eax
mov rsi, r8
mov rbp, rcx
xor ecx, ecx
xor r8d, r8d
mov qword [rsp + 0x40], rcx
mov rdi, rsi
mov r12, rdx
mov rbx, r9
mov qword [rsp + 0x48], rcx
mov rcx, r9
xor edx, edx
rep stosb byte [rdi], al
mov dword [rsp + 0x34], r8d
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov dword [rsp + 0x3c], r9d
mov r9d, 0x18
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x20], 0xf0000040
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1401e479f
lea rax, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1401e477d
xor r9d, r9d
mov rcx, qword [rsp + 0x48]
mov r8d, r12d
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1401e477d
xor edx, edx
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x38]
mov rbp, qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov dword [rsp + 0x20], edx
lea r8, [rsp + 0x34]
mov edx, 4
call rbp
test eax, eax
je 0x1401e477d
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x48]
cmp rbx, rax
jb 0x1401e477d
xor eax, eax
lea r9, [rsp + 0x3c]
mov r8, rsi
mov edx, 2
mov dword [rsp + 0x20], eax
call rbp
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1401e478d
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1401e479f
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1401e6090
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1c8
mov rax, qword [rdx + 0x20]
mov rax, qword [rax + 0x2b0]
mov eax, dword [rax + 0x84]
mov rsi, rcx
mov rbx, rdx
and eax, 0x800
jne 0x1401e6174
lea rbp, [rsp + 0x40]
mov ecx, 0x20
lea r8, [rsp + 0x3c]
mov dword [rsp + 0x3c], pe_nt_image_headers64
mov rdi, rbp
mov rdx, rbp
rep stosd dword [rdi], eax
mov rcx, qword [rsi + 0x98]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1401e6119
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, [rsp + 0xc0]
mov r8d, 0x100
mov ecx, eax
mov esi, eax
call sym.Curl_strerror
mov r8d, esi
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r9, rax
jmp 0x1401e616b
mov edx, dword [rsp + 0x3c]
lea r9, [rsi + 0x144]
lea r8, [rsi + 0x114]
mov rcx, rbp
call sym.Curl_addr2string
test al, al
jne 0x1401e6174
mov rsi, qword [sym.imp.msvcrt.dll__errno]
call rsi
lea rdx, [rsp + 0xc0]
mov r8d, 0x100
mov ecx, dword [rax]
call sym.Curl_strerror
mov qword [rsp + 0x28], rax
call rsi
mov r9, qword [rsp + 0x28]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r8d, dword [rax]
mov rcx, rbx
call sym.Curl_failf
nop
add rsp, 0x1c8
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x1401e6840
Capabilities:
Parse credit card information

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov eax, dword [rcx + 0x10]
and eax, 3
mov rbx, rcx
mov rdi, rdx
mov rsi, r8
cmp eax, 1
je 0x1401e6872
cmp eax, 2
je 0x1401e689a
test eax, eax
jne 0x1401e6880
call sym.parser_skip_inner_list
test eax, eax
jne 0x1401e6915
mov eax, dword [rbx + 0x10]
and eax, 0xfffffffc
or eax, 2
mov dword [rbx + 0x10], eax
jmp 0x1401e689a
mov r8d, 0x283
lea rdx, str.nghttp2_lib_sfparse.c
lea rcx, [0x140296ce7]
call qword [sym.imp.msvcrt.dll__assert]
mov rax, qword [rbx]
mov rbp, qword [rbx + 8]
cmp rax, rbp
je 0x1401e68ab
cmp byte [rax], 0x3b
je 0x1401e68b6
or dword [rbx + 0x10], 3
mov eax, 0xfffffffe
jmp 0x1401e6915
inc rax
mov rcx, rbx
mov qword [rbx], rax
call sym.parser_discard_sp
cmp rbp, qword [rbx]
jne 0x1401e68ce
or eax, 0xffffffff
jmp 0x1401e6915
mov rdx, rdi
call sym.parser_key
test eax, eax
jne 0x1401e6915
mov rdx, qword [rbx]
cmp rbp, rdx
je 0x1401e68e7
cmp byte [rdx], 0x3d
je 0x1401e68fa
test rsi, rsi
je 0x1401e6915
xor edx, edx
mov dword [rsi + 8], 1
mov qword [rsi], rdx
jmp 0x1401e6915
inc rdx
mov qword [rbx], rdx
cmp rdx, rbp
je 0x1401e68c9
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp sym.parser_bare_item
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x1401e9350
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x140
mov r8d, 1
mov rbx, rcx
mov dword [rsp + 0x3c], 1
mov rcx, rdx
lea r9, [rsp + 0x3c]
mov dword [rsp + 0x20], 4
mov edx, 6
call qword [sym.imp.WS2_32.dll_setsockopt]
test rbx, rbx
je 0x1401e93c1
test eax, eax
jns 0x1401e93c1
test byte [rbx + 0xa0e], 0x20
je 0x1401e93c1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, [rsp + 0x40]
mov r8d, 0x100
mov ecx, eax
call sym.Curl_strerror
lea rdx, str.Could_not_set_TCP_NODELAY:__s
mov rcx, rbx
mov r8, rax
call sym.Curl_infof
nop
add rsp, 0x140
pop rbx
ret
Function at 0x140016640
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400167cb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x1400ec2b8]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.140033c00
xorps xmm15, xmm15
mov r14, qword [0x140301850]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x1400166a5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x1400166b4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x1400166d3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x1400166e3
cmp rbx, 0x1000
jae 0x1400166ab
jmp 0x14001674d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x1400166f5
xor edx, edx
jmp 0x140016744
mov rcx, qword [0x1400ec2b8]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.140033c00
xorps xmm15, xmm15
mov r14, qword [0x140301850]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x1400166d9
jmp 0x1400166c8
call fcn.1400644c0
xorps xmm15, xmm15
mov r14, qword [0x140301850]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.140038020
lea rax, [0x14012c054]
mov ebx, 0x18
nop dword [rax]
call fcn.1400388a0
mov rax, qword [rsp + 0x38]
call fcn.1400385e0
lea rax, [0x14012c6e4]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.1400388a0
mov rax, qword [rsp + 0x30]
call fcn.1400385e0
call fcn.140038260
call fcn.140038080
lea rax, [0x14012ee77]
mov ebx, 0x21
call fcn.140036680
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140060e00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140016640
Function at 0x140016800
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140016a26
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x1400ec2b0]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.140033c80
xorps xmm15, xmm15
mov r14, qword [0x140301850]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x140016873
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x140016882
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x1400168a5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x1400168b5
cmp rbx, 0x1000
jae 0x140016879
nop
jmp 0x140016938
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x1400168cd
xor esi, esi
jmp 0x14001692a
mov rax, qword [0x1400ec2b0]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.140033c80
xorps xmm15, xmm15
mov r14, qword [0x140301850]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x1400168ab
jmp 0x140016896
call fcn.1400644c0
xorps xmm15, xmm15
mov r14, qword [0x140301850]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x1400169c0
nop dword [rax + rax]
call fcn.140038020
lea rax, [0x14012c6fd]
mov ebx, 0x19
call fcn.1400388a0
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.1400385e0
lea rax, [0x14012c6e4]
mov ebx, 0x19
call fcn.1400388a0
mov eax, dword [rsp + 0x34]
call fcn.1400385e0
nop
call fcn.140038260
call fcn.140038080
lea rax, [0x140128000]
mov ebx, 0xd
call fcn.140036680
nop dword [rax + rax]
cmp eax, 0x5af
je 0x140016960
call fcn.140038020
lea rax, [0x14012c6fd]
mov ebx, 0x19
call fcn.1400388a0
mov rax, qword [rsp + 0x38]
call fcn.1400385e0
lea rax, [0x14012c6e4]
mov ebx, 0x19
call fcn.1400388a0
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.1400385e0
call fcn.140038260
call fcn.140038080
lea rax, [0x14012e62f]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.140036680
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140060e00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.140016800
Function at 0x14001ff00
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x140301614], 0
jne 0x14001ffe7
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x50]
test byte [rdx], al
mov esi, dword [rax + 0x64]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], r8b
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x14001ffda
lea rbx, [0x1402d39f8]
mov rdx, qword [rbx + rdx*8]
test byte [rdx], al
mov rbx, rcx
shr rbx, 0x10
and ebx, 0x3f
shr rcx, 0xd
and ecx, 7
mov esi, 1
shl esi, cl
shr rax, 0x16
and eax, 0xfffff
mov rax, qword [rdx + rax*8]
test byte [rax], al
movzx edx, byte [rax + rbx + 0x11440]
lea rax, [rax + rbx]
lea rax, [rax + 0x11440]
test sil, dl
jne 0x14001ffc0
lock or byte [rax], sil
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rdi
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call fcn.1400630c0
lea rax, [0x140130e15]
mov ebx, 0x2c
call fcn.140036680
nop
int3

Function at 0x1400222c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400223c6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], dil
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x18], 0
jmp 0x140022303
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x1400223bb
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.1400230a0
test rax, rax
je 0x1400223bb
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rcx, [0x140022400]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x20]
mov qword [rsp], rbx
nop dword [rax]
call fcn.140060cc0
xorps xmm15, xmm15
mov r14, qword [0x140301850]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x1400223a9
xor eax, eax
jmp 0x1400223b3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x1400222f1
mov rax, qword [rsp + 0x18]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.140060e00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.1400222c0
Function at 0x140030380
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x140030606
push rbp
mov rbp, rsp
sub rsp, 0x38
test byte [rax], al
mov rcx, qword [rax + 0x1268]
lea rsi, [rax + 0x1278]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x1400305fa
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x140301614], 0
jne 0x1400303da
xor edx, edx
xor ebx, ebx
jmp 0x140030420
xor edx, edx
jmp 0x140030405
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call fcn.14001f760
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x1400303de
add rax, 0x1268
call fcn.140030300
add rsp, 0x38
pop rbp
ret
inc rdx
nop
cmp rdx, rcx
jge 0x140030594
mov rsi, qword [rax + rdx*8 + 0x1278]
cmp rsi, 0x1000
jb 0x14003041b
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
call fcn.140013960
test rax, rax
jne 0x14003046c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x14003041b
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
mov r8, rcx
shr r8, 3
movzx r9d, byte [rsi + r8]
and ecx, 7
mov r10d, 1
shl r10d, cl
nop
add rsi, r8
test r10b, r9b
je 0x1400304ac
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x14003041b
nop
lock or byte [rsi], r10b
mov rcx, qword [rbx + 0x18]
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
nop
nop
nop
cmp r8, 0x40
jae 0x1400305ed
lea r10, [0x1402d39f8]
mov r8, qword [r10 + r8*8]
test byte [r8], al
mov r10, rcx
shr r10, 0x10
and r10d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r11d, 1
shl r11d, cl
shr r9, 0x16
and r9d, 0xfffff
mov r8, qword [r8 + r9*8]
test byte [r8], al
movzx r9d, byte [r8 + r10 + 0x11440]
lea r8, [r8 + r10]
lea r8, [r8 + 0x11440]
test r11b, r9b
jne 0x14003052f
lock or byte [r8], r11b
movzx r8d, byte [rbx + 0x6a]
test r8b, 1
je 0x140030565
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x70]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x14003041b
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x1400305e5
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x14003041b
cmp rbx, 0x200
ja 0x1400305d4
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.140025f80
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call fcn.140030300
add rsp, 0x38
pop rbp
ret
mov rcx, rbx
mov edx, 0x200
nop dword [rax]
call fcn.140063120
mov rax, r8
call fcn.1400630a0
mov rax, r8
mov ecx, 0x40
call fcn.1400630c0
mov edx, 0x200
nop
call fcn.140063100
nop
mov qword [rsp + 8], rax
call fcn.140067940
mov rax, qword [rsp + 8]
jmp fcn.140030380
Function at 0x140045220
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140045387
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x140045232
cmp edx, ecx
jne 0x140045375
nop word [rax + rax]
test rsi, rsi
jne 0x140045375
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x140045294
nop
call fcn.1400648e0
xorps xmm15, xmm15
mov r14, qword [0x140301850]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.140045140
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x140045370
mov rdx, qword [0x1402ae5f8]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x140045365
mov rcx, qword [0x1402ae5f0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x1402af290]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x1402af290], rax
nop
mov edx, 1
lea rsi, [0x1402af298]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x140045353
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x140130503]
mov ebx, 0x28
nop
call fcn.140036680
mov rax, rsi
mov rcx, rdx
call fcn.1400630a0
call fcn.140034d00
lea rax, [0x14012f603]
mov ebx, 0x23
call fcn.140036680
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140060e00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140045220
Function at 0x140057ea0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140057f4f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x140057fa0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.140060cc0
xorps xmm15, xmm15
mov r14, qword [0x140301850]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.140060e00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.140057ea0
Function at 0x140062be0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140003ea3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.140009b80
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140060e00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x140003e80
cmp byte [0x14030160e], 0
je 0x140062bf5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x14005fe40
jmp 0x140003e80

Function at 0x140062c00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x140301920]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x14030160e], 0
je 0x140062c35
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x140301c00]
aesenc xmm0, xmmword [0x140301c10]
aesenc xmm0, xmmword [0x140301c20]
movq rax, xmm0
ret
jmp 0x140009da0

Function at 0x140062c40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x140301920]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x14030160e], 0
je 0x140062c76
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x140301c00]
aesenc xmm0, xmmword [0x140301c10]
aesenc xmm0, xmmword [0x140301c20]
movq rax, xmm0
ret
jmp 0x140009e00

Function at 0x14006d200
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x14006d26b
mov rax, 0
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x14006d224
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x14006d241
cmp rdx, 0
je 0x14006d28d
test rdx, 0xf
je 0x14006d21d
test rdx, 7
jne 0x14006d241
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x14006d21d
ret
Function at 0x14007d460
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
shr rdx, 2
dec rdx
movdqu xmm15, xmmword [0x140152170]
movdqu xmm14, xmmword [0x140152180]
movdqu xmm0, xmmword [rsi]
movdqu xmm11, xmmword [rsi + 0x10]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x20]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x30]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x40]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x50]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x60]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x70]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x80]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0x90]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xa0]
cmp rdx, 0xc
jb 0x14007d54b
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xb0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xc0]
je 0x14007d54b
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xd0]
aesenc xmm0, xmm11
movdqu xmm11, xmmword [rsi + 0xe0]
aesenclast xmm0, xmm11
pshufb xmm0, xmm15
pshufd xmm11, xmm0, 0xff
movdqu xmm12, xmm0
psrad xmm11, 0x1f
pand xmm11, xmm14
psrld xmm12, 0x1f
pslldq xmm12, 4
pslld xmm0, 1
pxor xmm0, xmm11
pxor xmm0, xmm12
movdqu xmmword [rdi + 0xe0], xmm0
pshufd xmm1, xmm0, 0x4e
pxor xmm1, xmm0
movdqu xmmword [rdi + 0xf0], xmm1
movdqu xmm2, xmm0
movdqu xmm3, xmm1
mov rax, 7
movdqu xmm11, xmm2
movdqu xmm12, xmm2
movdqu xmm13, xmm3
pclmulqdq xmm11, xmm0, 0
pclmulqdq xmm12, xmm0, 0x11
pclmulqdq xmm13, xmm1, 0
pxor xmm13, xmm11
pxor xmm13, xmm12
movdqu xmm4, xmm13
pslldq xmm4, 8
psrldq xmm13, 8
pxor xmm11, xmm4
pxor xmm12, xmm13
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm11, xmm2
movdqu xmm2, xmm14
pclmulqdq xmm2, xmm11, 1
pshufd xmm11, xmm11, 0x4e
pxor xmm2, xmm11
pxor xmm2, xmm12
movdqu xmmword [rdi + 0xc0], xmm2
pshufd xmm3, xmm2, 0x4e
pxor xmm3, xmm2
movdqu xmmword [rdi + 0xd0], xmm3
dec rax
lea rdi, [rdi - 0x20]
jne 0x14007d5b0
ret
Function at 0x14007f620
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14007f6ea
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.140003d40
xorps xmm15, xmm15
mov r14, qword [0x140301850]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x14007f6cf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x140108460]
xor ebx, ebx
mov rcx, rdx
call fcn.140049520
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.140080280
inc rbx
cmp rcx, rbx
jae 0x14007f6be
mov edi, 1
lea rsi, [0x140108460]
call fcn.140049600
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x140152c08]
lea rsi, [0x140152078]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140060e00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.14007f620