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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1402120d8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14007050d
xor eax, eax
jmp 0x140070653
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140070547
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140070547
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140070653
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140070646
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14007058a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140070599
movsx ecx, dil
jmp 0x1400705ed
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + gethostname]
test eax, eax
js 0x140070646
cmp eax, 1
jle 0x140070607
cmp eax, 3
jne 0x140070646
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.14017f77c
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14007064b
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140070634
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.1401802e0
cmp rsi, rax
jne 0x140070646
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14007064b
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401571e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400762f0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x160
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1402120d8]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rdx
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x20], 0
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x40]
call fcn.140175ab0
lea rdx, [rsp + 0x40]
mov ecx, 0x103
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
movsxd rcx, eax
cmp byte [rsp + rcx + 0x40], 0x5c
je 0x140076373
lea rax, [rsp + 0x40]
dec rax
nop word [rax + rax]
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x140076360
movzx ecx, word [0x1401dbe44]
mov word [rax], cx
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WSOCK32.dll_ntohs
mov byte [rbx], 0
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140076392
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140050e90
mov dword [rsp + 0x20], 1
mov r8d, reloc.WSOCK32.dll_send
lea rdx, str.native_push_sensors
mov rcx, rbx
call fcn.140055210
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401571e0
add rsp, 0x160
pop rbx
ret

Function at 0x140083340
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0xd0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1402120d8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r8, rcx
lea rdx, [rsp + 0xa0]
call fcn.14007e5f0
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call fcn.140089df0
nop
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.14007e4d0
nop
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140157540
mov rbx, rax
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14007e4d0
nop
mov qword [rsp + 0x70], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x140083d70]
xor edx, edx
xor ecx, ecx
call fcn.14017a9c4
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140083462
cmp dword [rsp + 0x38], 0
je 0x140083475
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.140136184
test eax, eax
jne 0x14008345a
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x48]
call fcn.140050da0
nop
lea rcx, [rsp + 0x80]
call fcn.140050da0
nop
lea rcx, [rsp + 0xa0]
call fcn.140050e10
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401571e0
add rsp, 0xd0
pop rbx
ret
mov ecx, eax
call fcn.140135d24
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.140135d60
nop
mov ecx, 1
call fcn.140135d60
int3
Function at 0x140086480
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1402120d8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r9
mov rax, qword [r9 + 0x10]
lea ecx, [rax*2 + 2]
mov rax, r9
cmp qword [r9 + 0x18], 8
jb 0x1400864d0
mov rax, qword [r9]
cmp qword [r8 + 0x10], 0
jne 0x1400864dc
xor r8d, r8d
jmp 0x1400864e6
cmp qword [r8 + 0x18], 8
jb 0x1400864e6
mov r8, qword [r8]
cmp qword [rdx + 0x18], 8
jb 0x1400864f0
mov rdx, qword [rdx]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
js 0x14008653f
mov rcx, rdi
call fcn.140050da0
nop
mov rcx, rbx
call fcn.140050da0
nop
mov rcx, rsi
call fcn.140050da0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401571e0
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
mov ecx, eax
call fcn.140082260
int3
Function at 0x140089fe0
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2d0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402120d8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rcx
xor r15d, r15d
mov r14d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov rbx, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x14008a042
mov rdi, qword [rcx]
cmp rbx, 8
jae 0x14008a057
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x50], xmm0
mov esi, 7
jmp 0x14008a095
mov rsi, rbx
or rsi, 7
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
cmova rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x50]
call fcn.140055430
mov qword [rsp + 0x50], rax
lea r8, [rbx*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.1401756a0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rbx
test rbx, rbx
je 0x14008a10b
lea rcx, [rbx - 1]
movdqa xmm0, xmmword [0x1401e3790]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r15w
cmp rbx, rcx
jb 0x14008a1d5
sub rbx, rcx
mov r8, 0xffffffffffffffff
cmp rbx, r8
cmovb r8, rbx
lea rax, [rsp + 0x50]
cmp rsi, 8
cmovae rax, qword [rsp + 0x50]
lea rdx, [rax + rcx*2]
lea rcx, [rsp + 0x28]
call fcn.1400550f0
mov r14d, 3
lea rdx, [rsp + 0x28]
call fcn.14008e730
test al, al
je 0x14008a10b
mov bl, 1
jmp 0x14008a10d
xor bl, bl
test r14b, 1
je 0x14008a11d
lea rcx, [rsp + 0x28]
call fcn.140050da0
test bl, bl
je 0x14008a14e
mov rax, qword [rsp + 0x60]
lea rcx, [rax - 1]
cmp rax, rcx
jb 0x14008a1d5
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rcx
mov word [rax + rcx*2], r15w
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14008a19a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
shr ebx, 4
and bl, 1
jmp 0x14008a19c
xor bl, bl
lea rcx, [rsp + 0x50]
call fcn.140050da0
movzx eax, bl
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1401571e0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400547a0
nop
int3
Function at 0x14008a1e0
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402120d8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
xor r12d, r12d
mov r15d, r12d
mov dword [rbp - 0x60], r12d
xor r14b, r14b
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
mov rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x14008a239
mov rbx, qword [rcx]
cmp rdi, 8
jae 0x14008a24d
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x50], xmm0
mov esi, 7
jmp 0x14008a289
mov rsi, rdi
or rsi, 7
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
cmova rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rbp - 0x50]
call fcn.140055430
mov qword [rbp - 0x50], rax
lea r8, [rdi*2 + 2]
mov rdx, rbx
mov rcx, rax
call fcn.1401756a0
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x40], rdi
mov rbx, 0xffffffffffffffff
test rdi, rdi
je 0x14008a2f9
lea rcx, [rdi - 1]
movdqa xmm0, xmmword [0x1401e3790]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r12w
cmp rdi, rcx
jb 0x14008a40a
sub rdi, rcx
mov r8, rbx
cmp rdi, rbx
cmovb r8, rdi
lea rax, [rbp - 0x50]
cmp rsi, 8
cmovae rax, qword [rbp - 0x50]
lea rdx, [rax + rcx*2]
lea rcx, [rbp - 0x30]
call fcn.1400550f0
lea r15d, [rbx + 4]
lea rdx, [rbp - 0x30]
call fcn.14008e730
test al, al
je 0x14008a2f9
mov dil, 1
jmp 0x14008a2fc
xor dil, dil
test r15b, 1
je 0x14008a30b
lea rcx, [rbp - 0x30]
call fcn.140050da0
test dil, dil
je 0x14008a338
mov rax, qword [rbp - 0x40]
lea rcx, [rax - 1]
cmp rax, rcx
jb 0x14008a40a
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rcx
mov word [rax + rcx*2], r12w
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
movdqa xmm0, xmmword [0x1401e3790]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r12w
nop dword [rax + rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14008a360
mov r8, rbx
lea rcx, [rbp - 0x30]
call fcn.1400550f0
nop
lea rcx, [rbp - 0x30]
call fcn.140089fe0
movzx ebx, al
lea rcx, [rbp - 0x30]
call fcn.140050da0
test bl, bl
jne 0x14008a3d2
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140089ef0
nop
lea rcx, [rbp - 0x30]
call fcn.14008a1e0
test al, al
je 0x14008a3c7
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne r14b
lea rcx, [rbp - 0x30]
call fcn.140050da0
jmp 0x14008a3d5
mov r14b, 1
lea rcx, [rbp - 0x50]
call fcn.140050da0
movzx eax, r14b
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401571e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400547a0
nop
Function at 0x14008ab90
Capabilities:
Get common file path
Get startup folder

Disassembly:
push rbx
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1402120d8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], ax
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140175ab0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14008ac13
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400550f0
mov r8d, 1
lea rdx, [0x1401dd7e4]
mov rcx, rbx
call fcn.140067fe0
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401571e0
add rsp, 0x270
pop rbx
ret
Function at 0x14008aec0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x180], rbx
mov rax, qword [0x1402120d8]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], reloc.WSOCK32.dll_ntohs
mov byte [rcx], bl
mov dword [rsp + 0x20], 1
lea rsi, vtable.MD5.0
mov qword [rsp + 0x60], rsi
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], reloc.WSOCK32.dll_ntohs
mov byte [rbp - 0x58], bl
mov qword [rsp + 0x68], 0x80
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp - 0x20], rbx
mov dword [rbp - 0x30], 0x67452301
mov dword [rbp - 0x2c], 0xefcdab89
mov dword [rbp - 0x28], 0x98badcfe
mov dword [rbp - 0x24], 0x10325476
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14008af8e
mov rdx, qword [rdx]
mov r9d, eax
mov r8, rdx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.140090fd0
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400919c0
nop
movdqa xmm0, xmmword [0x1401e37a0]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
xor r8d, r8d
lea rdx, [0x1401d50b8]
lea rcx, [rsp + 0x28]
call fcn.140050e90
mov dword [rsp + 0x20], 3
xor eax, eax
mov word [rsp + 0x58], ax
mov byte [rsp + 0x5a], al
movzx r8d, byte [rbp + rbx + 0x30]
lea rdx, str._02X
lea rcx, [rsp + 0x58]
call fcn.140090f00
lea rax, [rsp + 0x58]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14008b012
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.140055210
inc rbx
cmp rbx, 0x10
jl 0x14008afe4
lea rax, [rsp + 0x28]
cmp rdi, rax
je 0x14008b06a
mov rcx, rdi
call fcn.140050e10
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x1401e37a0]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
call fcn.140050e10
nop
mov qword [rsp + 0x60], rsi
lea rcx, [rbp - 0x58]
call fcn.140050e10
mov rax, rdi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1401571e0
mov rbx, qword [rsp + 0x180]
add rsp, 0x150
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008cd20
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1402120d8]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [r11 - 0x30]
mov rdi, rcx
mov qword [r11 - 0x48], rax
xor ecx, ecx
lea rax, [r11 - 0x38]
mov qword [r11 - 0x38], rcx
mov qword [r11 - 0x50], rax
mov rbx, r8
mov qword [r11 - 0x58], rcx
mov ebp, edx
mov dword [rsp + 0x58], ecx
lea rdx, str.SoftwareWondershareWondershare_NativePush_
mov dword [rsp + 0x28], 0x20206
xor r9d, r9d
mov dword [rsp + 0x20], ecx
xor r8d, r8d
mov rcx, 0xffffffff80000002
xor sil, sil
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14008ce25
cmp ebp, 4
jne 0x14008cdd6
cmp qword [rbx + 0x18], 8
mov sil, 1
jb 0x14008cda6
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.14017a594
cmp qword [rdi + 0x18], 8
mov dword [rsp + 0x5c], eax
jb 0x14008cdbc
mov rdi, qword [rdi]
lea rax, [rsp + 0x5c]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov r9d, 4
jmp 0x14008ce09
cmp ebp, 1
jne 0x14008ce1a
cmp qword [rbx + 0x18], 8
movzx esi, bpl
mov rax, qword [rbx + 0x10]
jb 0x14008cded
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 8
jb 0x14008cdf7
mov rdi, qword [rdi]
lea ecx, [rax + rax]
mov r9d, 1
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, sil
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401571e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008ce50
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x290
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x1402120d8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor ecx, ecx
mov dword [rsp + 0x50], ecx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 7
mov word [rbx], cx
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x70], ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x20219
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareWondershareWondershare_NativePush_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14008cf8b
mov dword [rsp + 0x78], 1
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x80]
call fcn.140175ab0
mov dword [rsp + 0x74], 0x100
cmp qword [rdi + 0x18], 8
jb 0x14008cf23
mov rdi, qword [rdi]
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14008cf70
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.1400550f0
mov rax, rbx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1401571e0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
Function at 0x14008d620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov rsi, qword [rsp + 0x48]
xor ebp, ebp
mov rax, qword [rsp + 0x50]
mov r12, r9
mov r11, qword [rsp + 0x60]
mov r13, r8
mov r14, rdx
mov qword [rsi], r8
mov qword [r11], rax
mov rax, qword [rsi]
cmp rax, r9
je 0x14008d7b4
mov r15, qword [rsp + 0x58]
lea r8d, [rbp + 1]
mov rbx, qword [r11]
mov r9d, 0x3ff
mov r10d, 0x2400
cmp rbx, r15
je 0x14008d7b4
movzx edx, word [r14]
xor dil, dil
movzx ecx, word [rax]
cmp r8w, dx
jae 0x14008d6b6
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x14008d7da
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x14008d6d1
mov edx, 0x2800
mov eax, ecx
add cx, dx
cmp cx, r9w
ja 0x14008d6d1
shl eax, 0xa
mov dil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x14008d6e4
movzx r9d, al
mov r10d, ebp
mov r8d, ebp
jmp 0x14008d72e
mov r9d, eax
cmp eax, 0x800
jae 0x14008d6fb
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
jmp 0x14008d72e
cmp eax, 0x10000
jae 0x14008d715
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov r8d, r10d
jmp 0x14008d72e
shr r9d, 0x12
mov r10d, 3
movzx r8d, dil
or r9b, 0xf0
xor r8d, 1
add r8d, r8d
inc r8d
mov rdx, r15
sub rdx, rbx
mov ecx, r8d
cmp rdx, rcx
jl 0x14008d7b4
add qword [rsi], 2
test dil, dil
jne 0x14008d74e
cmp r10d, 3
jae 0x14008d75a
mov rcx, qword [r11]
mov byte [rcx], r9b
inc qword [r11]
dec r8d
test r8d, r8d
jle 0x14008d791
lea r9d, [r10 + r10*2]
add r9d, r9d
nop word [rax + rax]
sub r9d, 6
mov edx, eax
mov ecx, r9d
dec r8d
shr edx, cl
mov rcx, qword [r11]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [r11]
test r8d, r8d
jg 0x14008d770
mov r8d, 1
test dil, dil
je 0x14008d7a1
shr eax, 0xa
jmp 0x14008d7a4
mov eax, r8d
mov word [r14], ax
mov rax, qword [rsi]
cmp rax, r12
jne 0x14008d671
cmp r13, qword [rsi]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
mov eax, 2
jmp 0x14008d7bd
Function at 0x1400c9460
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rcx], 0
mov ecx, Ordinal_41
mov rsi, r8
mov rbp, rdx
call fcn.1400974c0
mov rbx, rax
test rax, rax
jne 0x1400c949e
lea eax, [rbx + 7]
jmp 0x1400c9520
cmp dword [reloc.WSOCK32.dll_accept], 0
je 0x1400c94f2
mov rax, qword [0x1402152b0]
test rax, rax
je 0x1400c94be
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call rax
test eax, eax
jne 0x1400c94f2
lea rax, [rbx + 8]
mov qword [rbx + 0x10], rbp
mov qword [rsp + 0x28], rax
lea r8, [0x140099ec0]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
mov qword [rbx + 0x18], rsi
xor ecx, ecx
call fcn.14017a9c4
mov qword [rbx], rax
test rax, rax
jne 0x1400c9502
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x10], 0
jne 0x1400c951b
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rsi
mov dword [rbx + 8], eax
call rbp
mov qword [rbx + 0x20], rax
mov qword [rdi], rbx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400d4690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov dword [r11 + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [r11 + 8], rcx
sub rsp, 0x78
mov rax, qword [rcx]
test byte [rax + 0x50], 2
jne 0x1400d48ce
movzx r10d, byte [rcx + 0x25]
cmp r10b, 0xa
jb 0x1400d4884
mov qword [r11 - 8], rbx
lea r10, [rcx + 0xe8]
mov qword [r11 - 0x10], rbp
mov r8d, 0x7fffffff
mov qword [r11 - 0x18], rsi
xor edx, edx
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x38], r14
mov qword [r11 - 0x40], r15
mov dword [rsp + 8], r8d
mov dword [rsp + 4], 0xffffffff
mov dword [rsp], edx
mov qword [rsp + 0x10], r10
nop word [rax + rax]
mov ecx, dword [r10 - 0x14]
mov edx, ecx
mov r13d, dword [r10 + 0x28]
cmp ecx, r8d
mov r15d, dword [r10 + 0x3c]
mov eax, r13d
cmovge edx, r8d
mov esi, dword [r10 + 0x50]
mov ebx, dword [r10 + 0x64]
mov r12d, r15d
mov r9d, dword [r10 + 0x78]
mov r14d, esi
mov r8d, dword [r10]
mov edi, ebx
cmp r8d, edx
mov dword [rsp + 0x18], edx
mov dword [rsp + 0x20], r13d
mov r11d, r9d
cmovge r8d, edx
mov edx, dword [r10 + 0x14]
cmp edx, r8d
mov dword [rsp + 0x1c], r8d
cmovge edx, r8d
mov r8d, dword [r10 + 0x8c]
cmp r13d, edx
mov r10d, dword [r10 + 0xa0]
mov r13, qword [rsp + 0x10]
mov ebp, r8d
cmovge eax, edx
mov dword [rsp + 0x24], edx
cmp r15d, eax
mov dword [rsp + 0x28], eax
cmovge r12d, eax
mov eax, dword [rsp]
cmp esi, r12d
mov edx, eax
cmovge r14d, r12d
cmp ebx, r14d
cmovge edi, r14d
cmp r9d, edi
cmovge r11d, edi
cmp r8d, r11d
cmovge ebp, r11d
cmp ecx, dword [rsp + 8]
mov ecx, dword [rsp + 0x18]
cmovge edx, dword [rsp + 4]
inc eax
cmp dword [r13], ecx
mov ecx, dword [rsp + 0x1c]
cmovge eax, edx
mov edx, dword [rsp]
add edx, 2
cmp dword [r13 + 0x14], ecx
mov ecx, dword [rsp]
mov r13d, dword [rsp + 0x20]
cmovge edx, eax
cmp r13d, dword [rsp + 0x24]
lea eax, [rcx + 3]
cmovge eax, edx
cmp r15d, dword [rsp + 0x28]
lea edx, [rcx + 4]
cmovge edx, eax
cmp esi, r12d
lea eax, [rcx + 5]
cmovge eax, edx
cmp ebx, r14d
lea edx, [rcx + 6]
cmovge edx, eax
cmp r9d, edi
lea eax, [rcx + 7]
cmovge eax, edx
cmp r8d, r11d
lea edx, [rcx + 8]
cmovge edx, eax
cmp r10d, ebp
lea eax, [rcx + 9]
cmovge eax, edx
add qword [rsp + 0x10], 0xc8
add ecx, 0xa
mov dword [rsp + 4], eax
mov dword [rsp], ecx
cmp r10d, ebp
mov r8d, r10d
mov r10, qword [rsp + 0x10]
cmovge r8d, ebp
mov dword [rsp + 8], r8d
cmp ecx, 0xa
jl 0x1400d4710
mov rcx, qword [rsp + 0x80]
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
cdqe
jmp 0x1400d488e
lea eax, [r10 + 1]
mov byte [rcx + 0x25], al
mov rax, r10
lea rdx, [rax*4 + 0x31]
add rdx, rax
mov eax, dword [rcx + 0x4c]
lea rdx, [rcx + rdx*4]
mov dword [rdx + 8], eax
mov eax, dword [rsp + 0x88]
mov dword [rdx], eax
mov eax, dword [rsp + 0x90]
mov word [rdx + 4], ax
mov eax, dword [rsp + 0x98]
mov dword [rdx + 0xc], eax
mov byte [rdx + 6], 0
mov eax, dword [rcx + 0x50]
mov dword [rdx + 0x10], eax
inc dword [rcx + 0x50]
add rsp, 0x78
ret