joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e7a80
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
cmp edx, 0x1f
jne 0x1400e7c1f
mov rdi, rcx
mov rsi, qword [rcx]
mov rbx, qword [rsi + 0x1e0]
lea r12, [rbx + 0x1eb8]
mov word [rbx + 0x1cb8], 0xfaff
lea r14, [rbx + 0x1cbb]
mov qword [rbx + 0x1eb8], r14
mov byte [rbx + 0x1cba], 0x1f
movzx ecx, word [rbx + 0x1ca8]
mov r15, qword [sym.imp.WS2_32.dll_htons]
call r15
mov ebp, eax
movzx ecx, word [rbx + 0x1caa]
call r15
mov r9, qword [rbx + 0x1eb8]
cmp r9, r12
jae 0x1400e7b01
lea rcx, [r9 + 1]
mov qword [r12], rcx
mov byte [r9], bpl
mov r9, qword [r12]
cmp r9, r12
jae 0x1400e7b18
shr ebp, 8
lea rcx, [r9 + 1]
mov qword [r12], rcx
mov byte [r9], bpl
mov r9, qword [r12]
cmp r9, r12
jae 0x1400e7b2c
lea rcx, [r9 + 1]
mov qword [r12], rcx
mov byte [r9], al
mov r9, qword [r12]
cmp r9, r12
jae 0x1400e7b43
shr eax, 8
lea rcx, [r9 + 1]
mov qword [r12], rcx
mov byte [r9], al
mov r9, qword [r12]
cmp r9, r12
jae 0x1400e7b58
lea rax, [r9 + 1]
mov qword [r12], rax
mov byte [r9], 0xff
mov r9, qword [r12]
lea r15, [rbx + 0x1cb8]
lea r8, [rbx + 0x1cba]
cmp r9, r12
jae 0x1400e7b7b
lea rax, [r9 + 1]
mov qword [r12], rax
mov byte [r9], 0xf0
mov r9, qword [r12]
mov qword [rbx + 0x1ec0], r9
mov qword [rbx + 0x1eb8], r15
sub r9, r15
add r9, 0xfffffffffffffffe
mov rcx, rsi
mov edx, 0x3e
call fcn.1400e7c30
mov rcx, qword [rdi + 0x4c0]
mov rdx, r15
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400e7bd2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rsi
mov r8d, eax
call fcn.1400b8d80
mov r8d, 4
mov rcx, rdi
mov rdx, r14
call fcn.1400e7570
add rbx, 0x1cbf
mov rcx, qword [rdi + 0x4c0]
mov rdx, rbx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400e7c1f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rsi
mov r8d, eax
call fcn.1400b8d80
nop
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400f4c20
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get local ipv4 addresses
Get socket information
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration
Start tcp server

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, r9
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x2c], 0x10
mov dword [rsp + 0x28], 1
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movdqa xmm0, xmmword [0x140275a70]
movdqa xmmword [rsp + 0x30], xmm0
mov ecx, 2
mov edx, 1
mov r8d, 6
call qword [sym.imp.WS2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x1400f4e0a
mov rdi, rax
mov qword [rsp + 0x50], 0
mov word [rsp + 0x48], 2
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x4c], eax
mov word [rsp + 0x4a], 0
pcmpeqd xmm0, xmm0
movdqu xmmword [rsi], xmm0
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x28]
mov rcx, rdi
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400f4dc2
lea rdx, [rsp + 0x48]
mov rcx, rdi
mov r8d, 0x10
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1400f4dc2
lea rdx, [rsp + 0x48]
lea r8, [rsp + 0x2c]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1400f4dc2
mov rcx, rdi
mov edx, 1
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x1400f4dc2
mov ecx, 2
mov edx, 1
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
je 0x1400f4dc2
lea rdx, [rsp + 0x48]
mov rcx, rax
mov r8d, 0x10
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1400f4dc2
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rsi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x1400f4dc2
lea r8, [0x14027b19d]
lea rbx, [rsp + 0x30]
mov edx, Ordinal_14
mov rcx, rbx
mov r9, rsi
call fcn.1400c5cf0
mov rcx, rbx
call fcn.1401c0bd0
mov r14, rax
mov rcx, qword [rsi]
mov rdx, rbx
mov r8d, r14d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cdqe
cmp r14, rax
je 0x1400f4e11
mov rbx, qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, rdi
call rbx
mov rcx, qword [rsi]
call rbx
mov rdi, qword [rsi + 8]
mov ebx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x1400f4dfc
call fcn.14019f290
int3
mov eax, ebx
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ebx, 0xffffffff
jmp 0x1400f4de5
lea r15, [rsp + 0x3c]
mov rcx, qword [rsi + 8]
xor ebx, ebx
mov rdx, r15
mov r8d, Ordinal_14
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
cdqe
cmp r14, rax
jne 0x1400f4dc2
lea rcx, [rsp + 0x30]
mov rdx, r15
mov r8, r14
call fcn.1401d7ed0
test eax, eax
jne 0x1400f4dc2
jmp 0x1400f4ddc
Function at 0x1400f7950
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r14, r9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rsp + 0x90]
mov qword [rax], 0
mov rcx, qword [rcx]
xor edx, edx
mov r8b, 1
call fcn.1400bdc30
test rax, rax
js 0x1400f7a26
xor r12d, r12d
movabs r13, 0x7fffffffffffffff
mov r15, qword [sym.imp.WS2_32.dll_recv]
mov ebp, 0xffffffff
jmp 0x1400f79da
movsxd rdx, eax
mov rcx, r14
sub rcx, rdx
je 0x1400f7a3e
test eax, eax
je 0x1400f7a2b
add rsi, rdx
add r12, rdx
mov r14, rcx
mov rcx, qword [rbx]
xor edx, edx
mov r8b, 1
call fcn.1400bdc30
test rax, rax
js 0x1400f7a26
test rax, rax
cmove rax, r13
mov rcx, rdi
mov rdx, 0xffffffffffffffff
mov r8, 0xffffffffffffffff
mov r9, rax
call fcn.1400d8a90
test eax, eax
jle 0x1400f7a2b
mov rcx, rdi
mov rdx, rsi
mov r8d, r14d
xor r9d, r9d
call r15
cmp eax, 0xffffffff
jne 0x1400f79ac
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1400f79c8
mov ebp, 0x38
jmp 0x1400f7a2b
mov ebp, 0x1c
mov eax, ebp
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
add r12, r14
mov rax, qword [rsp + 0x90]
mov qword [rax], r12
xor ebp, ebp
jmp 0x1400f7a2b
Function at 0x1401001b0
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov ebx, edx
mov rdi, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, qword [rcx + 0x58]
mov r12, qword [r14]
mov ebp, dword [r12 + 0x798]
test ebp, ebp
jne 0x1401001ea
mov ebp, dword [rdi + 0x50]
cmp byte [0x1402cc640], 1
je 0x140100216
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
imul rcx, rcx, 0x10624dd3
shr rcx, 0x26
imul edx, ecx, 0x3e8
sub eax, edx
imul eax, eax, 0x3e8
jmp 0x14010024f
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsi]
mov r8, qword [0x1402cc648]
cqo
idiv r8
mov rcx, rax
imul rax, rdx, 0xf4240
cqo
idiv r8
movsxd rsi, ebp
movabs r15, 0x7fffffffffffffff
movabs r13, 0x20c49ba5e353f6
sub rcx, qword [rdi + 0x40]
mov rdx, r15
cmp rcx, r13
jg 0x1401002ad
movabs rdx, 0xffdf3b645a1cac0a
cmp rcx, rdx
jl 0x1401002a9
imul rcx, rcx, 0x3e8
sub eax, dword [rdi + 0x48]
cdqe
imul rax, rax, 0x10624dd3
mov rdx, rax
shr rdx, 0x3f
sar rax, 0x26
add eax, edx
movsxd rdx, eax
add rdx, rcx
jmp 0x1401002ad
lea rdx, [r15 + 1]
sub rsi, rdx
test bl, bl
jne 0x140100385
mov ebx, dword [r12 + 0x788]
test ebx, ebx
je 0x140100385
cmp byte [0x1402cc640], 1
je 0x1401002f4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
imul rcx, rcx, 0x10624dd3
shr rcx, 0x26
imul edx, ecx, 0x3e8
sub eax, edx
imul eax, eax, 0x3e8
jmp 0x14010032d
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x28]
mov qword [rdi], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov r8, qword [0x1402cc648]
cqo
idiv r8
mov rcx, rax
imul rax, rdx, 0xf4240
cqo
idiv r8
movsxd rdx, ebx
sub rcx, qword [r14 + 0x490]
cmp rcx, r13
jg 0x14010037b
movabs r8, 0xffdf3b645a1cac0a
cmp rcx, r8
jl 0x140100378
imul rcx, rcx, 0x3e8
sub eax, dword [r14 + 0x498]
cdqe
imul rax, rax, 0x10624dd3
mov r8, rax
shr r8, 0x3f
sar rax, 0x26
add eax, r8d
movsxd r15, eax
add r15, rcx
jmp 0x14010037b
inc r15
sub rdx, r15
cmp rsi, rdx
cmovge rsi, rdx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x14010039c
call fcn.14019f290
int3
mov rax, rsi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140100780
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [rcx + 0x58]
test rbx, rbx
je 0x140100969
mov rdi, r8
mov rsi, rcx
lea rcx, str._s_r_n
call fcn.1400c5d80
mov ebp, reloc.WLDAP32.dll_Ordinal_27
test rax, rax
je 0x14010096e
mov r14, rax
mov rcx, rax
mov rdx, rdi
call fcn.1400c5e60
mov rdi, rax
mov rax, qword [fcn.1400581d0]
mov rcx, r14
call qword [0x1402a7b00]
test rdi, rdi
je 0x14010096e
mov rcx, rdi
call fcn.1401c0bd0
mov r14, rax
mov r15, rax
mov rax, qword [rsi + 0x58]
mov qword [rsi + 0x10], 0
mov rax, qword [rax]
mov rax, qword [rax + 0x1128]
mov qword [rsi + 0x18], rax
mov byte [rsi + 0x20], 1
cmp byte [0x1402cc640], 1
je 0x14010084e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
imul rcx, rcx, 0x10624dd3
shr rcx, 0x26
imul edx, ecx, 0x3e8
sub eax, edx
imul eax, eax, 0x3e8
jmp 0x140100889
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x28]
mov qword [r12], rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r12]
mov r8, qword [0x1402cc648]
cqo
idiv r8
mov rcx, rax
imul rax, rdx, 0xf4240
cqo
idiv r8
movabs r13, 0xaaaaaaaa00000000
mov eax, eax
or rax, r13
mov qword [rsi + 0x40], rcx
mov qword [rsi + 0x48], rax
mov rax, qword [rbx + 0x4c0]
lea rcx, [rsp + 0x28]
mov dword [rcx], 0
xor edx, edx
cmp rax, qword [rbx + 0x4c8]
sete dl
mov rax, qword [rbx + rdx*8 + 0x4f8]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov r8, rdi
mov r9, r15
call qword [0x1402a7b00]
mov r12, rax
test rax, rax
js 0x140100998
mov rcx, qword [rbx]
cmp byte [rcx + 0xf1e], 1
jne 0x140100902
mov edx, 2
mov r8, rdi
mov r9, r12
call fcn.1400b8c80
sub r14, r12
jne 0x140100959
mov rax, qword [fcn.1400581d0]
mov rcx, rdi
call qword [0x1402a7b00]
xorps xmm0, xmm0
movups xmmword [rsi + 0x28], xmm0
mov qword [rsi + 0x38], 0
cmp byte [0x1402cc640], 1
je 0x1401009c4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
imul rcx, rcx, 0x10624dd3
shr rcx, 0x26
imul edx, ecx, 0x3e8
sub eax, edx
imul eax, eax, 0x3e8
jmp 0x1401009fd
mov qword [rsi + 0x28], rdi
mov qword [rsi + 0x38], r15
mov qword [rsi + 0x30], r14
xor ebp, ebp
jmp 0x14010096e
mov ebp, 0x37
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x140100985
call fcn.14019f290
int3
mov eax, ebp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebp, dword [rsp + 0x28]
test ebp, ebp
je 0x1401009ad
cmp ebp, 0x51
jne 0x1401009b2
xor r12d, r12d
jmp 0x1401008e6
mov ebp, 0x37
mov rax, qword [fcn.1400581d0]
mov rcx, rdi
call qword [0x1402a7b00]
jmp 0x14010096e
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x28]
mov qword [rdi], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov r8, qword [0x1402cc648]
cqo
idiv r8
mov rcx, rax
imul rax, rdx, 0xf4240
cqo
idiv r8
mov eax, eax
or rax, r13
mov qword [rsi + 0x40], rcx
mov qword [rsi + 0x48], rax
jmp 0x140100965
Function at 0x140106d80
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm0
mov dword [rsp + 0x20], 0xf0000040
xor r14d, r14d
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140106deb
lea rax, [rsp + 0x38]
mov rcx, qword [rax - 8]
mov qword [rsp + 0x20], rax
mov edx, 0x8002
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
mov r8d, edi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
lea rdi, [rsp + 0x4c]
mov dword [rdi], r14d
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], r14d
mov edx, 2
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rdi], 0x10
jne 0x140106e47
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
mov edx, 2
mov r8, rsi
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140106e57
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140106e69
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x140106e80
call fcn.14019f290
int3
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140106eb0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov ebp, r8d
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, dword [rcx + 0x18]
mov ecx, dword [rcx + 0x20]
add eax, eax
add rcx, rax
add rcx, 0x18
mov rax, qword [fcn.14009ead0]
call qword [0x1402a7b00]
mov rdi, rax
test rax, rax
je 0x140107019
mov qword [rdi], rsi
lea rcx, [rdi + 0x18]
mov qword [rdi + 8], rcx
mov eax, dword [rsi + 0x18]
add rax, rdi
add rax, 0x18
mov qword [rdi + 0x10], rax
cmp ebp, dword [rsi + 0x1c]
jbe 0x140106f58
mov rax, qword [rsi]
call qword [0x1402a7b00]
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 8]
mov rdx, rbx
mov r8d, ebp
call qword [0x1402a7b00]
mov ebx, dword [rsi + 0x18]
add rbx, qword [rdi + 0x10]
mov rax, qword [rsi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, rbx
call qword [0x1402a7b00]
mov ebp, dword [rsi + 0x20]
mov rcx, qword [rdi + 8]
mov byte [rsp + 0x27], 0xaa
mov rax, qword [rsi]
call qword [0x1402a7b00]
mov rax, qword [rsi]
mov rcx, qword [rdi + 0x10]
call qword [0x1402a7b00]
mov r15d, ebp
test ebp, ebp
je 0x140106fcc
xor r12d, r12d
lea r14, [rsp + 0x27]
mov al, byte [rbx + r12]
xor al, 0x36
mov byte [rsp + 0x27], al
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 8]
mov rdx, r14
mov r8d, 1
call qword [0x1402a7b00]
mov al, byte [rbx + r12]
xor al, 0x5c
mov byte [rsp + 0x27], al
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 0x10]
mov rdx, r14
mov r8d, 1
call qword [0x1402a7b00]
inc r12
cmp r15, r12
jne 0x140106f82
cmp r15d, dword [rsi + 0x1c]
jae 0x140107019
lea rbx, str.6kernel32.dll
lea r14, [0x1402a5384]
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 8]
mov rdx, rbx
mov r8d, 1
call qword [0x1402a7b00]
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 0x10]
mov rdx, r14
mov r8d, 1
call qword [0x1402a7b00]
inc r15
mov eax, dword [rsi + 0x1c]
cmp r15, rax
jb 0x140106fe0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x140107030
call fcn.14019f290
int3
mov rax, rdi
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140107420
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x14010746c
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140107477
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14010745a
mov qword [rdi], rsi
call fcn.1401074f0
mov ecx, ebx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1401074f0
mov r14, qword [rdi]
cmp qword [0x1402c9688], 0
je 0x1401074a8
mov rcx, qword [0x1402c9688]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402a7b00]
mov qword [rdi], 0
jmp 0x140107448
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14028e385]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401074e9
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1401074e3
call qword [0x1402a7b00]
mov rcx, rax
xor edx, edx
call fcn.14003d980
jmp 0x140107489
xor ecx, ecx
mov dl, 1
jmp 0x1401074dc
xor ecx, ecx
jmp 0x1401074da
Function at 0x140131150
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x14013124e
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x14027bce0]
nop dword [rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x1401311c0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
pmovzxdq xmm3, qword [0x14027bd00]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x1401312de
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x1401312b4
pmovzxdq xmm1, qword [0x14027bd00]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x14027bcf0], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x14014c810
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140275a70]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, [0x140286da8]
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x60
call fcn.140133460
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14014ce00
test esi, esi
js 0x14014c8f0
lea r9, [rsp + 0x30]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14014c8fc
mov esi, dword [rsp + 0x30]
test esi, esi
js 0x14014c8f7
lea rcx, [rsp + 0x50]
call fcn.14014c910
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x14014c8df
call fcn.14019f290
int3
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14014c8bb
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x14014c8bb
Function at 0x140151870
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x1402b7040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movsd xmm0, qword [0x1402c96b8]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x1401518a0
jnp 0x1401518c5
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1402b7040]
je 0x1401518b7
call fcn.14019f290
int3
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1402c96c8]
mov ecx, dword [0x1402c6098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401519dd
mov eax, dword [0x1402c96d8]
mov ecx, dword [0x1402c6098]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140151a17
rdtsc
mov rdi, rax
mov rbx, rdx
xor r15d, r15d
lea r14, [rsp + 0x28]
mov qword [r14], r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r12, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r14], r15
lea rsi, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r12, qword [0x1402c96d0]
xorps xmm1, xmm1
cvtsi2sd xmm1, r12
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x14027b4e0]
ucomisd xmm2, xmm1
ja 0x1401518a0
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1402c96c0]
movq xmm0, rdi
punpckldq xmm0, xmmword [0x14027b4f0]
subpd xmm0, xmmword [0x14027b500]
haddpd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [0x1402c96b8], xmm0
jmp 0x1401518a0
lea rcx, [0x1402c96c8]
call fcn.14019ce70
cmp dword [0x1402c96c8], 0xffffffff
jne 0x14015190e
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1402c96c0], rdx
lea rcx, [0x1402c96c8]
call fcn.14019cd94
jmp 0x14015190e
lea rcx, [0x1402c96d8]
call fcn.14019ce70
cmp dword [0x1402c96d8], 0xffffffff
jne 0x140151933
lea rdi, [rsp + 0x28]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x1402c96d0], rax
lea rcx, [0x1402c96d8]
call fcn.14019cd94
jmp 0x140151933