joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14028de40
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14027a8ac
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14028dee1
cmp ebx, dword [rsp + 0x30]
je 0x14028deda
test esi, esi
je 0x14028deda
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14028deb5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14028dec2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14028de9f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14028dec6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14028dee3
mov eax, 1
jmp 0x14028dee3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14028f1c0
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140269670
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140269670
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14028f310
cmp rax, 0xffffffffffffffff
je 0x14028f310
xor edi, edi
test rbp, rbp
jle 0x14028f2bb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14027b394
mov rbx, rax
test rax, rax
jne 0x14028f248
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14028f2b1
mov edx, 0x8000
mov ecx, r14d
call fcn.140274810
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1402784a8
cmp eax, 0xffffffff
je 0x14028f291
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14028f258
mov edx, r15d
mov ecx, r14d
call fcn.140274810
jmp 0x14028f2b1
cmp byte [rsi + 0x38], dil
je 0x14028f2a8
cmp dword [rsi + 0x34], 5
jne 0x14028f2a8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x14028f2b1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14027b414
jmp 0x14028f324
jns 0x14028f324
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140269670
cmp rax, 0xffffffffffffffff
jne 0x14028f2dc
cmp byte [rsi + 0x30], dil
je 0x14028f324
mov edi, dword [rsi + 0x2c]
jmp 0x14028f324
mov ecx, r14d
call fcn.140283178
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14028f324
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x14028f324
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14028f31d
mov eax, dword [rsi + 0x2c]
jmp 0x14028f322
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140269670
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140293518
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14031e740]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x140293562
call fcn.14026611c
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.14026613c
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.14025fd64
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1402143d0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x14029356d
lea eax, [rbx + 1]
jmp 0x14029354f
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x14029354d
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x14029354f
Function at 0x14029422c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1402264e0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1402942b6
cmp byte [rbp - 0x21], r15b
je 0x1402942b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1402942ec
call fcn.14027c148
test eax, eax
jne 0x1402942d8
cmp byte [rbp - 0x21], r15b
je 0x1402942d0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1402942ec
cmp byte [rbp - 0x21], r15b
je 0x1402942e9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1402632e0
test eax, eax
jne 0x14029438c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1402264e0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14029432b
cmp byte [rbp - 0x21], r15b
je 0x140294360
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140294360
call fcn.14027c148
test eax, eax
jne 0x14029434c
cmp byte [rbp - 0x21], r15b
je 0x140294345
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140294360
cmp byte [rbp - 0x21], r15b
je 0x14029435d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1402632e0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14029438c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14029438f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14029439d
mov rcx, rdi
call fcn.14027b414
cmp byte [rbp + 0x3f], r15b
je 0x1402943ac
mov rcx, qword [rbp + 0x27]
call fcn.14027b414
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140296600
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140296628
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140296628
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003a70
Capabilities:
Execute command
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x30
lea rdx, [0x1400055b0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x69
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
jne 0x140003ad3
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.140003ae0
mov rcx, rax
call fcn.140003d80
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 2
call fcn.140003a30
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x140001040
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov edx, 0x47
lea rcx, [entry0]
mov al, byte [rcx + rdx]
xor al, 0x42
add al, 0x7b
xor al, 0x54
mov byte [rcx + rdx], al
inc rdx
cmp rdx, 0x2d9
jl 0x140001068
jrcxz 0x1400010bc
invalid
xor al, ch
sub ebx, edx
invalid
Function at 0x18000a93c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x18000a96a
xor eax, eax
jmp 0x18000aa50
cmp qword [rcx + 0x68], 0
je 0x18000a97b
call fcn.18000aa6c
jmp 0x18000aa50
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18000a992
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000a994
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18000a9c6
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.18003c280
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x18000aa4a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x18000a9fd
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x18000aa26
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.18004b85c
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x18000aa4a
cmp rsi, rbx
ja 0x18000aa04
test rsi, rsi
je 0x18000aa4a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.18004b85c
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x18000fca4
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1800922e8]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rdx
mov qword [rsp + 0x20], rdx
mov r9, rdx
mov rax, rcx
mov rdx, qword [rdx + 0x18]
cmp rdx, 0x10
jb 0x18000fcd4
mov r9, qword [rbx]
mov r8, qword [rax]
xor ecx, ecx
add r8, 2
mov r10, r8
mov al, byte [r10 + 4]
xor al, byte [r10]
inc r10
mov byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 4
jl 0x18000fce0
xor ecx, ecx
mov al, byte [r8 + 0xa]
xor al, byte [r8]
inc r8
mov byte [rsp + rcx + 0x24], al
inc rcx
cmp rcx, 4
jl 0x18000fcf9
xor r8d, r8d
lea rax, [rsp + 0x20]
sub r9, rax
lea rcx, [rsp + 0x20]
add rcx, r8
mov al, byte [r9 + rcx]
cmp byte [rcx], al
jne 0x18000fd6f
inc r8
cmp r8, 8
jl 0x18000fd1b
cmp rdx, 0x10
jb 0x18000fd66
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18000fd61
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000fdc6
mov rcx, r8
call fcn.18003ae70
and qword [rbx + 0x10], 0
mov al, 1
jmp 0x18000fda8
cmp rdx, 0x10
jb 0x18000fda1
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18000fd9c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000fdc6
mov rcx, r8
call fcn.18003ae70
and qword [rbx + 0x10], 0
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18003b310
add rsp, 0x30
pop rbx
ret
call fcn.18004a404
int3
Function at 0x18001ab20
Capabilities:
Hash data using murmur3

Disassembly:
mov eax, r8d
lea r11, [rdx - 1]
shr eax, 0x10
mov r10, rcx
xor eax, r8d
imul r9d, eax, 0x85ebca6b
mov eax, r9d
shr eax, 0xd
xor eax, r9d
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr rax, 0x10
xor rax, rdx
and rax, r11
xor ecx, ecx
cmp qword [r10 + rax*8], 0
je 0x18001ab75
cmp qword [r10 + rax*8], r8
je 0x18001ab72
inc rax
add rax, rcx
inc rcx
and rax, r11
cmp rcx, r11
jbe 0x18001ab54
xor al, al
ret
mov qword [r10 + rax*8], r8
mov al, 1
ret

Function at 0x18001af54
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov r15d, r9d
mov rbp, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jne 0x18001af92
call fcn.180016820
mov dword [rbx], 1
and qword [rbx + 8], 0
jmp 0x18001b072
and qword [rsp + 0x80], 0
lea rdx, [rsp + 0x80]
mov rcx, rbp
call fcn.18001a638
mov edi, eax
test eax, eax
je 0x18001afbd
mov rcx, rbx
call fcn.180016820
mov dword [rbx], edi
jmp 0x18001af88
mov rsi, qword [rsp + 0x80]
lea rcx, [rsi + 1]
call qword [0x180092100]
mov rdi, rax
test rax, rax
jne 0x18001afe7
mov rcx, rbx
call fcn.180016820
mov dword [rbx], 3
jmp 0x18001af88
mov r9, rbp
mov r8, rsi
mov edx, 1
mov rcx, rdi
call fcn.18004b85c
cmp rax, rsi
je 0x18001b01b
mov rcx, rdi
call qword [fcn.180011980]
mov rcx, rbx
call fcn.180016820
mov dword [rbx], 2
jmp 0x18001af88
mov ecx, dword [rsp + 0x90]
mov r8, rsi
mov rdx, rdi
call fcn.18001a5d8
mov r8d, eax
mov rdx, rsi
mov rcx, rdi
call fcn.180020454
mov rcx, qword [rsp + 0x98]
mov r9, rdi
mov qword [rsp + 0x48], rcx
mov rdx, r14
mov byte [rsp + 0x40], 1
mov rcx, rbx
mov byte [rsp + 0x38], 1
mov dword [rsp + 0x30], r8d
mov r8, r14
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call fcn.18001ac38
lea r11, [rsp + 0x50]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x180032370
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1800922e8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r8
mov rdi, rdx
mov ecx, dword [0x180097c70]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180097120], ecx
jg 0x180032452
mov eax, ebx
cmp rbx, rax
jne 0x180032414
xor ecx, ecx
mov eax, ecx
test rbx, rbx
setne al
test ebx, ebx
setne cl
cmp eax, ecx
jne 0x180032414
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [0x180097118]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x180032495
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18003b310
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x20]
call fcn.18000314c
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.180031f70
lea rdx, [0x180090318]
lea rcx, [rsp + 0x40]
call fcn.18003cd70
nop
lea rcx, [0x180097120]
call fcn.18003bb68
cmp dword [0x180097120], 0xffffffff
jne 0x1800323bc
lea rcx, [0x180097118]
call fcn.180031e60
lea rcx, [0x18006fb30]
call fcn.18003b1e0
nop
lea rcx, [0x180097120]
call fcn.18003bb08
jmp 0x1800323bc
mov ecx, eax
call fcn.1800324e0
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x180073ca0]
lea rcx, [rsp + 0x20]
call fcn.18000314c
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.180031f70
lea rdx, [0x180090318]
lea rcx, [rsp + 0x40]
call fcn.18003cd70
int3

Function at 0x180033180
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
xor r11d, r11d
mov r10, rdx
mov r8d, r11d
cmp r9, 8
jb 0x1800331b7
mov rdx, r9
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r9, rax
mov rax, qword [rcx]
add rcx, 8
xor rax, qword [r10]
add r10, 8
or r8, rax
sub rdx, 1
jne 0x1800331a0
mov rdx, r8
shr rdx, 0x20
or edx, r8d
mov r8d, edx
mov eax, edx
shr r8d, 8
or r8d, edx
shr eax, 0x10
and r8d, 0xff00
or r8d, eax
movzx eax, dl
shr r8d, 8
or r8d, eax
test r9, r9
je 0x1800332b8
sub rcx, r10
cmp r9, 8
jb 0x180033290
mov rax, r9
lea rdx, [r10 + 4]
and rax, 0xfffffffffffffff8
xorps xmm4, xmm4
xorps xmm3, xmm3
nop dword [rax + rax]
movd xmm2, dword [rcx + rdx - 4]
xorps xmm0, xmm0
movd xmm1, dword [rdx - 4]
lea rdx, [rdx + 8]
punpcklbw xmm2, xmm0
add r11, 8
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [rdx - 8]
punpcklbw xmm1, xmm0
por xmm4, xmm2
movd xmm2, dword [rcx + rdx - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp r11, rax
jb 0x180033210
por xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd eax, xmm3
or r8d, eax
cmp r11, r9
jae 0x1800332b8
add r10, r11
sub r9, r11
nop word [rax + rax]
movzx edx, byte [rcx + r10]
movzx eax, byte [r10]
lea r10, [r10 + 1]
xor edx, eax
or r8d, edx
sub r9, 1
jne 0x1800332a0
test r8d, r8d
sete al
ret
Function at 0x1800332c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rdx
test r9, r9
je 0x180033414
cmp r9, 4
jb 0x18003330a
mov rdx, r9
shr rdx, 2
imul rax, rdx, 0xfffffffffffffffc
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [r10]
add r10, 4
xor eax, dword [r8]
add r8, 4
mov dword [rcx], eax
add rcx, 4
sub rdx, 1
jne 0x1800332f0
xor r11d, r11d
test r9, r9
je 0x180033414
cmp r9, 0x40
jb 0x1800333f3
lea rdx, [rcx - 1]
lea rax, [r8 - 1]
add rdx, r9
add rax, r9
cmp rcx, rax
ja 0x18003333c
cmp rdx, r8
jae 0x1800333f3
lea rax, [r10 - 1]
add rax, r9
cmp rcx, rax
ja 0x180033351
cmp rdx, r10
jae 0x1800333f3
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov rsi, r9
and rsi, 0xffffffffffffffc0
mov qword [rsp], rdi
mov rdx, r10
lea rax, [r8 + 0x10]
sub rdx, r8
mov rbx, rcx
sub rbx, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r11, 0x40
movdqu xmm1, xmmword [rdx + rax - 0x10]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rdx + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rdx + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp r11, rsi
jb 0x180033380
mov rsi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp]
cmp r11, r9
jae 0x180033414
sub r10, r8
lea rdx, [r11 + r8]
sub rcx, r8
sub r9, r11
movzx eax, byte [rdx + r10]
xor al, byte [rdx]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
sub r9, 1
jne 0x180033400
add rsp, 8
ret

Function at 0x180033420
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r9, rdx
test r8, r8
je 0x180033531
cmp r8, 4
jb 0x180033463
mov rdx, r8
shr rdx, 2
imul rax, rdx, 0xfffffffffffffffc
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [r9]
add r9, 4
xor dword [rcx], eax
add rcx, 4
sub rdx, 1
jne 0x180033450
xor r10d, r10d
test r8, r8
je 0x180033531
cmp r8, 0x40
jb 0x180033515
lea rdx, [rcx - 1]
lea rax, [r9 - 1]
add rdx, r8
add rax, r8
cmp rcx, rax
ja 0x180033495
cmp rdx, r9
jae 0x180033515
mov r11, r8
mov qword [rsp], rbx
and r11, 0xffffffffffffffc0
mov rdx, r9
lea rax, [rcx + 0x10]
sub rdx, rcx
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rdx + rax - 0x10]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [rdx + rax - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rdx + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp r10, r11
jb 0x1800334b0
mov rbx, qword [rsp]
cmp r10, r8
jae 0x180033531
sub r9, rcx
lea rdx, [r10 + rcx]
sub r8, r10
nop
movzx eax, byte [rdx + r9]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r8, 1
jne 0x180033520
add rsp, 8
ret
Function at 0x18005452c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.18003b630
sub rsp, rax
mov rax, qword [0x1800922e8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18005dc28
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18005457b
mov rax, rbp
jmp 0x180054683
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x983b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18005ff20
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x983b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18005467f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18005467f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18005ff20
test rax, rax
js 0x18005467f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18005467f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180054671
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180054671
cmp byte [rcx], 0xd
jne 0x180054657
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180054666
cmp byte [rcx + 1], 0xa
jne 0x180054666
inc rcx
jmp 0x180054666
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x92700]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180054639
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180054683
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18003b310
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18005eef8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x18005ef2a
call fcn.18004eb38
mov dword [rax], 0x16
call fcn.18004a3e4
jmp 0x18005f049
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x18005f049
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x18005f049
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x18005ef59
lock or dword [rcx + 0x14], 0x10
jmp 0x18005f049
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x18005ef6d
call fcn.180060118
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.18005dc28
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.18005f748
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x18005f037
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x18005f002
mov rcx, rsi
call fcn.18005dc28
cmp eax, edi
je 0x18005efed
mov rcx, rsi
call fcn.18005dc28
cmp eax, 0xfffffffe
je 0x18005efed
mov rcx, rsi
call fcn.18005dc28
movsxd rbx, eax
lea r14, [0x1800983b0]
mov rcx, rsi
sar rbx, 6
call fcn.18005dc28
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x18005eff4
lea rdx, [0x1800926b0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x18005f002
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x18005f026
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x18005f026
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x18005f026
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x18005f04c
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret