joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400136b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x140040170]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x538c], ecx
test rbx, rbx
je 0x14001371f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140013730
lea rdx, [0x140034c28]
mov rcx, rbx
mov rdi, rax
call fcn.14000a0d0
mov rbx, rax
test rax, rax
je 0x14001371a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x140016e30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
mov rbx, qword [0x140040170]
cmp byte [rbx + 0x5389], 0
jne 0x140016f8a
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140016f83
lea rdx, [0x140034c24]
mov qword [rsp + 0x40], rdi
call fcn.14000a0d0
mov rdi, rax
test rax, rax
je 0x140016f7e
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140016f6b
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140016f6b
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140016f6b
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140016f6b
cmp rsi, 0xffffffffffffffff
je 0x140016f6b
mov rax, qword [0x140040170]
test rax, rax
je 0x140016ef5
inc dword [rax + 0xf4]
mov rdx, qword [0x140040180]
mov rcx, rsi
call qword [section..data]
mov rbp, rax
test rax, rax
je 0x140016f6b
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x140016f31
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140016f47
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140016f47
mov rdx, rsi
mov rcx, rbp
call fcn.14000b460
mov rax, qword [0x140040170]
test rax, rax
je 0x140016f59
dec dword [rax + 0xf4]
mov rdx, qword [0x140040180]
mov rcx, rbp
call qword [0x140040008]
jmp 0x140016f74
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x5389], 1
movss xmm0, dword [rbx + 0x538c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140016fcd
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x538c], xmm0
jb 0x140016fcd
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140016fbc
call fcn.1400136b0
jmp 0x140016fc3
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x538c], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14002ca00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140040170]
mov rcx, qword [rax + 0x4308]
mov r10, qword [rax + 0x3ea0]
movsxd rax, dword [rcx + 0x7c]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x68
mov rax, qword [r10 + 0x280]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x220], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x57]
mov rdx, qword [r10 + 0x280]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp 0x140020d60

Function at 0x14002cad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140040170]
mov rcx, qword [rax + 0x4308]
mov r9, qword [rax + 0x3ea0]
movups xmm0, xmmword [r9 + 0x220]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x280]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 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 [r9 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rcx + 0x207]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x280]
add rsp, 0x38
jmp 0x140020d60
Function at 0x1400318d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003191a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003191a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003191a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003191a
cmp dword [rcx + 0x84], 0xe
jbe 0x14003191a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003191c
xor al, al
add rsp, 0x28
ret
Function at 0x14001a240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x14001a2d6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1402dec30]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14001c080
test rdi, rdi
je 0x14001a365
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14001a37e
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x14001a476
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x14001a4f8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14001a483
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x14001a340
cmp r9, 8
jae 0x14001a48c
jmp 0x14001a4f8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14001c080
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x14001a4f8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x14001a4f8
mov r8, rcx
cmp r9, 8
jb 0x14001a4f8
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x14001a490
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14001c080
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14001c0c2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14001c0ca
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14001c0db
jmp 0x14001c0f2
xor r10d, r10d
jmp 0x14001c17d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14001c0f2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14001c109
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14001c129
add r11, r8
jmp 0x14001c25a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14001c1f2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14001c1a0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x14001c210
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14001c222
jmp 0x14001c23c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14001c23c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14001c256
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140021e30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov r11, qword [rdx + 8]
mov r10, qword [rdx + 0x10]
lea rcx, [r10 + 1]
mov qword [rdx + 0x10], rcx
mov al, 1
cmp rcx, r11
jae 0x140021e71
mov rax, qword [rdx]
movzx edi, byte [rax + rcx]
mov al, 1
cmp edi, 0x2b
je 0x140021e66
cmp edi, 0x2d
jne 0x140021e71
xor eax, eax
add r10, 2
mov qword [rdx + 0x10], r10
mov rcx, r10
cmp rcx, r11
jae 0x140022001
mov rdi, qword [rdx]
movzx r10d, byte [rdi + rcx]
lea rbx, [rcx + 1]
mov qword [rdx + 0x10], rbx
add r10b, 0xd0
cmp r10b, 0xa
jae 0x14002200c
movzx r10d, r10b
cmp rbx, r11
jae 0x140021f10
mov ebx, 1
sub rbx, r11
add rcx, 2
jmp 0x140021ecc
movzx r11d, r11b
lea r10d, [r10 + r10*4]
lea r10d, [r11 + r10*2]
lea r11, [rbx + rcx]
inc r11
inc rcx
cmp r11, 2
je 0x140021f10
movzx r11d, byte [rdi + rcx - 1]
add r11b, 0xd0
cmp r11b, 0xa
jae 0x140021f10
mov qword [rdx + 0x10], rcx
cmp r10d, 0xccccccb
jle 0x140021eb0
cmp r10d, 0xccccccc
jne 0x140021ef8
cmp r11b, 7
jbe 0x140021eb0
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
mov rcx, rsi
call fcn.1402cfa00
jmp 0x140021fee
mov ecx, dword [rsp + 0x80]
test al, al
je 0x140021f2c
lea eax, [rcx + r10]
sar eax, 0x1f
add eax, 0x80000000
add ecx, r10d
jmp 0x140021f3c
xor eax, eax
cmp ecx, r10d
setns al
add eax, 0x7fffffff
sub ecx, r10d
cmovo ecx, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x1402dfba0]
subpd xmm1, xmmword [0x1402dfbb0]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, ecx
neg eax
cmovs eax, ecx
cmp eax, 0x135
jb 0x140021fa8
xorpd xmm1, xmm1
movsd xmm2, qword [0x1402dfbc0]
nop word [rax + rax]
ucomisd xmm0, xmm1
jne 0x140021f88
jnp 0x140021fd7
test ecx, ecx
jns 0x140022032
divsd xmm0, xmm2
add ecx, 0x134
mov eax, ecx
neg eax
cmovs eax, ecx
cmp eax, 0x134
ja 0x140021f80
mov eax, eax
mov r9, qword [0x14042e058]
movsd xmm1, qword [r9 + rax*8]
test ecx, ecx
js 0x140021ff6
mulsd xmm0, xmm1
ucomisd xmm0, qword [0x1402dfbc8]
jae 0x140022032
movsd xmm1, qword [0x1402dfbd0]
ucomisd xmm1, xmm0
jae 0x140022032
test r8b, r8b
jne 0x140021fe4
xorpd xmm0, xmmword [0x1402dfbe0]
movsd qword [rsi + 8], xmm0
xor eax, eax
mov qword [rsi], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
divsd xmm0, xmm1
test r8b, r8b
je 0x140021fdc
jmp 0x140021fe4
mov qword [rsp + 0x28], 5
jmp 0x140022015
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rcx, rdx
mov rdx, rax
call fcn.1402cfaa0
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140021fee
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rcx, rdx
mov rdx, rax
call fcn.1402cfaa0
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x140021feb

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

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x14008ebd0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
test rdx, rdx
je 0x14007566c
mov r15, qword [rdx + 8]
cmp qword [rdx], 0
mov qword [rdx], 0
jne 0x1400757f8
call fcn.1402910b0
cmp qword [rax], 0
je 0x14007567d
add rax, 8
jmp 0x140075687
mov rcx, rax
xor edx, edx
call fcn.140011990
mov r10, qword [rax]
mov rcx, qword [rax + 8]
lea r9, [r10 + 1]
movabs rdx, 0x736f6d6570736575
xor rdx, r10
movabs r8, 0x646f72616e646f6d
xor r8, rcx
add rdx, r8
rol r8, 0xd
mov qword [rax], r9
xor r8, rdx
rol rdx, 0x20
movabs rax, 0x6c7967656e657261
mov r9, r8
rol r9, 0x11
xor rax, r10
mov r10d, 1
movabs r11, 0x7465646279746573
movabs rdi, 0x800000000000000
nop dword [rax + rax]
mov r13, rcx
xor r13, r10
xor r13, r11
lea rbx, [rax + r13]
rol r13, 0x10
xor r13, rbx
lea r15, [rdx + r13]
rol r13, 0x15
xor r13, r15
add rbx, r8
mov r14, rbx
xor r14, r9
rol rbx, 0x20
xor r15, r10
add r15, r14
rol r14, 0xd
mov r12, r13
xor r14, r15
rol r15, 0x20
xor r12, rdi
add rbx, r12
shrd r12, r13, 0x30
xor r12, rbx
add r15, r12
rol r12, 0x15
add rbx, r14
rol r14, 0x11
xor r12, r15
xor r14, rbx
rol rbx, 0x20
xor r15, rdi
add r15, r14
rol r14, 0xd
xor r14, r15
rol r15, 0x20
xor rbx, 0xff
add rbx, r12
rol r12, 0x10
xor r12, rbx
add r15, r12
rol r12, 0x15
add rbx, r14
rol r14, 0x11
xor r14, rbx
rol rbx, 0x20
xor r12, r15
add r15, r14
rol r14, 0xd
xor r14, r15
rol r15, 0x20
add rbx, r12
rol r12, 0x10
xor r12, rbx
add r15, r12
rol r12, 0x15
add rbx, r14
rol r14, 0x11
xor r14, rbx
rol rbx, 0x20
xor r12, r15
add r15, r14
rol r14, 0xd
add rbx, r12
rol r12, 0x10
xor r12, rbx
rol r12, 0x15
xor r14, r15
add rbx, r14
rol r14, 0x11
mov r15, rbx
rol r15, 0x20
xor r15, r14
xor r15, r12
inc r10
xor r15, rbx
je 0x1400756f0
lea rax, [rsi + 8]
mov qword [rsi], 1
mov qword [rsi + 8], r15
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x140075640
Function at 0x1400a6d30
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov r14, rdx
mov qword [rbp - 0x30], rcx
add r9, r8
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x20], r9
mov word [rbp - 0x18], 0
mov dword [rbp - 0x10], 1
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x28]
call fcn.14014eb70
mov dword [rbp - 4], 0x800
mov dword [rbp - 8], 0
movzx eax, byte [0x140431071]
mov ecx, 0x800
mov edx, 1
call fcn.1400590e0
test rax, rax
je 0x1400a6ec4
mov rbx, rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 0x800
mov qword [rbp - 0x18], 0
mov rdi, qword [rbp - 0x50]
lea r12, [rbp - 4]
lea r15, [rbp - 8]
mov rsi, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov r13, qword [rbp - 0x20]
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
sub r13, rax
nop word cs:[rax + rax]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rsi
cmp eax, 0xea
jne 0x1400a6e2b
mov r8d, dword [rbp - 4]
cmp r13, r8
jae 0x1400a6df0
lea rcx, [rbp - 0x28]
mov rdx, qword [rbp - 0x38]
call fcn.1402cfe00
mov rbx, qword [rbp - 0x28]
jmp 0x1400a6dd6
test eax, eax
jne 0x1400a6e4a
mov eax, dword [rbp - 4]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
jbe 0x1400a6ea3
movabs rax, 0xde00000002
jmp 0x1400a6e52
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp - 0x30]
mov qword [rcx], rax
mov byte [rcx + 0x18], 0xc
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400a6e74
mov r8d, 1
mov rcx, rbx
call fcn.1400590f0
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x1400a6e8e
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.1400590f0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x30]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
mov rdx, qword [rbp - 0x48]
test rdx, rdx
jne 0x1400a6e7d
jmp 0x1400a6e8e
mov ecx, 1
mov edx, 0x800
call fcn.1402dbc30
ud2
Function at 0x140150ab0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
cmp dword [rcx], 2
jne 0x140150b46
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm2, xmm0, 0xee
pxor xmm2, xmmword [0x1402dec30]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmmword [rsp + 0x40], xmm2
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rsi, qword [rdx]
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14001c080
test rdi, rdi
je 0x140150bd5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x140150bee
mov rcx, qword [rdx]
mov r8, qword [rcx]
xor edx, edx
test r8, r8
setne dl
movabs rax, 0xcbf29ce484222325
xor rax, rdx
movabs rdx, 0x1efac7090aef4a21
imul rax, rdx
test r8, r8
je 0x140150ce6
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x140150d68
mov rcx, qword [rcx + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140150cf3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x140150bb0
cmp r9, 8
jae 0x140150cfc
jmp 0x140150d68
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14001c080
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x140150d68
movzx ecx, byte [rcx + 8]
xor rax, rcx
imul rax, rdx
jmp 0x140150d68
mov r8, rcx
cmp r9, 8
jb 0x140150d68
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x140150d00
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1401a3cd0
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1401a3d04
mov rdx, qword [rsp + 0x20]
mov al, cl
add rsp, 0x28
ret
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140228da0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
nop word [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140228db0
test al, 1
je 0x140228dcf
test al, 2
jne 0x140228de9
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140356650]
mov edx, 0x23
call fcn.1402dbed0
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140356610]
mov edx, 0x25
call fcn.1402dbed0
ud2

Function at 0x140242d40
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x140242d58
add rcx, 0x18
add rsp, 0x28
jmp 0x14024fd30
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Users_timot.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_srciopoll_evented.rs
lea r8, [0x14035aaf0]
mov edx, 0x2b
call fcn.1402dbed0
ud2
jmp 0x14029f1c0
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14029f1f8
xor eax, eax
add rsp, 0x38
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140242e30
Capabilities:
Set socket configuration

Disassembly:
jmp 0x14024c900
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1402a8290
movzx ecx, bl
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14024c941
xor eax, eax
add rsp, 0x30
pop rbx
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret

Function at 0x140242e40
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x14024c960
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.1402a8290
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14024c99f
xor eax, eax
add rsp, 0x30
pop rsi
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rsi
ret

Function at 0x140242e50
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x14024c8a0
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.1402a8290
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14024c8df
xor eax, eax
add rsp, 0x30
pop rsi
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rsi
ret