joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034330
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x1400a0008]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rdi, rcx
mov rbx, rdx
mov ecx, 0xffffff
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rcx, qword [rbx + 0x20]
lea rdx, [rbx + 0x28]
mov r8, rax
call qword [sym.imp.USER32.dll_FillRect]
mov eax, dword [rbx + 0x34]
sub eax, dword [rdi + 0xc4]
sub eax, dword [rbx + 0x2c]
cdq
sub eax, edx
mov edx, dword [rdi + 0x40]
sar eax, 1
mov r9d, eax
test edx, edx
je 0x1400343b5
cmp edx, 1
jne 0x1400343df
mov edx, dword [rdi + 0x74]
lea rcx, [rdi + 0x58]
mov r8d, dword [rcx + 0x18]
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
jmp 0x1400343d2
lea rcx, [rdi + 0xa8]
mov eax, dword [rcx + 0x1c]
mov edx, dword [rcx + 0x18]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov r8d, dword [rbx + 0x28]
mov rdx, qword [rbx + 0x20]
call fcn.1400335e0
movups xmm1, xmmword [rbx + 0x28]
mov ecx, dword [rdi + 0xc0]
mov edx, 1
add ecx, 2
movd eax, xmm1
movups xmmword [rsp + 0x50], xmm1
add ecx, eax
mov dword [rsp + 0x50], ecx
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.GDI32.dll_SetBkMode]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x104
call fcn.14005b890
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x60]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [rbx + 0x20]
lea r9, [rsp + 0x50]
or r8d, 0xffffffff
mov dword [rsp + 0x20], 0x24
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_DrawTextA]
mov rcx, qword [rbx + 0x20]
mov edx, 2
call qword [sym.imp.GDI32.dll_SetBkMode]
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14003aa30
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140034730
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x140
mov rax, qword [0x1400a0008]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0xc8
call fcn.14005b890
lea rcx, [rsp + 0x60]
call fcn.14002e3e0
xor edi, edi
lea r8, [0x1400a4128]
lea rcx, str.WavesSvc.cpp
test eax, eax
je 0x140034864
lea rax, [rsp + 0x60]
mov edx, 0xab
mov qword [rsp + 0x30], rax
lea r9d, [rdi + 2]
lea rax, str.SSID____s_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call fcn.140002ed0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareWaves_AudioMaxxAudioGeneral
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp qword [rsp + 0x50], rdi
je 0x140034848
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x150], rbx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x50]
lea r9d, [rdi + 1]
inc eax
lea rdx, str.SSID
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x150]
je 0x14003488e
lea rax, str.Error_storing_data_to_registry.
mov edx, 0xb0
lea r8, [0x1400a4128]
lea rcx, str.WavesSvc.cpp
jmp 0x140034870
lea rax, str.Failed_reading_SSID.
mov edx, 0xb5
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [0x1400848d0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call fcn.140002ed0
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14003aa30
add rsp, 0x140
pop rdi
ret
Function at 0x140038720
Capabilities:
Create process on windows

Disassembly:
cmp edx, 0x9c41
jne 0x1400386fe
lea rdx, [rcx + 0x250]
cmp qword [rdx + 0x18], 0x10
jb 0x1400386f9
mov rdx, qword [rdx]
jmp 0x140038720
ret
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x130
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400a0008]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rdx
mov qword [rbp - 8], 0xf
xor r15d, r15d
mov qword [rbp - 0x10], r15
mov byte [rbp - 0x20], r15b
cmp byte [rdx], r15b
jne 0x140038776
mov r8d, r15d
jmp 0x140038789
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r15b
jne 0x140038780
lea rcx, [rbp - 0x20]
call fcn.140002500
nop
mov rcx, qword [rbp - 0x10]
cmp rcx, 1
jb 0x140038870
lea rax, [rbp - 0x20]
mov rsi, qword [rbp - 0x20]
mov r14, qword [rbp - 8]
cmp r14, 0x10
cmovae rax, rsi
lea rbx, [rcx - 1]
add rbx, rax
nop dword [rax]
cmp byte [rbx], 0x5c
sete al
test al, al
je 0x1400387cf
cmp byte [rbx], 0x5c
je 0x1400387e6
lea rcx, [rbp - 0x20]
call fcn.140002440
cmp rbx, rax
je 0x140038878
dec rbx
jmp 0x1400387c0
lea rax, [rbp - 0x20]
cmp r14, 0x10
cmovae rax, rsi
sub rbx, rax
cmp rbx, 0xffffffffffffffff
je 0x140038878
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.140018850
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000bed0
mov rax, qword [rbp + 0x18]
cmp rax, 0x10
jb 0x140038870
inc rax
mov rcx, qword [rbp]
cmp rax, 0x1000
jb 0x14003886b
test cl, 0x1f
je 0x14003883e
call fcn.14005d6bc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14003884d
call fcn.14005d6bc
int3
sub rcx, rax
cmp rcx, 8
jae 0x14003885c
call fcn.14005d6bc
int3
cmp rcx, 0x27
jbe 0x140038868
call fcn.14005d6bc
int3
mov rcx, rax
call fcn.14003aa0c
mov rsi, qword [rbp - 0x20]
mov r14, qword [rbp - 8]
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rsp + 0x78]
call fcn.14005b890
mov qword [rsp + 0x50], r15
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x70], 0x68
lea rax, [rbp - 0x20]
cmp r14, 0x10
cmovae rax, rsi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
mov rcx, qword [rbp - 8]
cmp rcx, 0x10
jb 0x140038942
inc rcx
mov rdx, qword [rbp - 0x20]
cmp rcx, 0x1000
jb 0x14003893a
test dl, 0x1f
je 0x14003890d
call fcn.14005d6bc
int3
mov rax, qword [rdx - 8]
cmp rax, rdx
jb 0x14003891c
call fcn.14005d6bc
int3
sub rdx, rax
cmp rdx, 8
jae 0x14003892b
call fcn.14005d6bc
int3
cmp rdx, 0x27
jbe 0x140038937
call fcn.14005d6bc
int3
mov rdx, rax
mov rcx, rdx
call fcn.14003aa0c
mov eax, ebx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14003aa30
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140038970
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rdi
sub rsp, 0x170
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x188], rbx
mov rax, qword [0x1400a0008]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rcx + 0x18], 0xf
mov qword [rcx + 0x10], rbx
cmp qword [rcx + 0x18], 0x10
jb 0x1400389c2
mov rax, qword [rcx]
jmp 0x1400389c5
mov rax, rdi
mov byte [rax], bl
mov dword [rsp + 0x30], 1
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.14005b890
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x140038a3e
cmp byte [rsp + 0x50], al
je 0x140038a19
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140038a10
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140002500
mov r8d, 0x21
lea rdx, str.WavesMaxxAudioMaxxAudioPro.exe
mov rcx, rdi
call fcn.14000c0f0
mov rax, rdi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14003aa30
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret

Function at 0x14003d0bc
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14003d0cf
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14003d734
lea rdx, [0x14009cce0]
lea rcx, [rsp + 0x20]
call fcn.14005bae8
int3

Function at 0x140049534
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1400a6fc8]
xor edx, edx
jmp fcn.14003d0bc

Function at 0x140049f24
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1400a6fc8]
jmp fcn.14003d0bc
Function at 0x1400669c0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140066794
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140066794
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140066794
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140066794
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140066794
cmp dword [rcx + 0x84], 0xe
jbe 0x140066794
cmp dword [rcx + 0xf8], esi
je 0x140066794
mov ecx, r14d
call fcn.1400668dc
mov ecx, 2
call fcn.14006b68c
nop
cmp byte [0x1400a72f0], 0
jne 0x14006685e
mov r15d, 1
mov eax, r15d
xchg dword [0x1400a72e0], eax
test ebx, ebx
jne 0x140066807
mov rdi, qword [0x1400a0008]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1400a72e8]
cmp rcx, rax
je 0x1400667fe
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140002430]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1400a7428]
jmp 0x140066813
cmp ebx, r15d
jne 0x140066819
lea rcx, [0x1400a7440]
call fcn.140067350
nop
test ebx, ebx
jne 0x140066830
lea rdx, [0x140077a50]
lea rcx, [0x140077a28]
call fcn.140067688
lea rdx, [0x140077a60]
lea rcx, [0x140077a58]
call fcn.140067688
movzx eax, byte [0x1400a72f0]
test esi, esi
cmove eax, r15d
mov byte [0x1400a72f0], al
jmp 0x14006685e
mov ecx, 2
call fcn.14006b6e0
test esi, esi
jne 0x140066875
mov ecx, r14d
call fcn.140066890
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140066724
Function at 0x14002982c
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.14001ce24
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ce24
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002997c
cmp rax, 0xffffffffffffffff
je 0x14002997c
xor edi, edi
test rbp, rbp
jle 0x140029927
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f738
mov rbx, rax
test rax, rax
jne 0x1400298b4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002991d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a758
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.14001db00
cmp eax, 0xffffffff
je 0x1400298fd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400298c4
mov edx, r15d
mov ecx, r14d
call fcn.14001a758
jmp 0x14002991d
cmp byte [rsi + 0x38], dil
je 0x140029914
cmp dword [rsi + 0x34], 5
jne 0x140029914
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002991d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b4ec
jmp 0x140029990
jns 0x140029990
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ce24
cmp rax, 0xffffffffffffffff
jne 0x140029948
cmp byte [rsi + 0x30], dil
je 0x140029990
mov edi, dword [rsi + 0x2c]
jmp 0x140029990
mov ecx, r14d
call fcn.140018c10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029990
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029990
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029989
mov eax, dword [rsi + 0x2c]
jmp 0x14002998e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ce24
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 0x14002aa80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002aaa8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002aaa8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140004ed8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140006040]
test rax, rax
je 0x140004f22
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004f22
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004f22
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004f22
cmp dword [rcx + 0x84], 0xe
jbe 0x140004f22
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004f24
xor al, al
add rsp, 0x28
ret
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x140013670
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011299
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400149b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400149d0
xor al, al
jmp 0x140014a51
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400149e3
xor al, al
jmp 0x140014a51
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014a0d
xor al, al
jmp 0x140014a51
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014a21
xor al, al
jmp 0x140014a51
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014a33
xor al, al
jmp 0x140014a51
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014a4f
xor al, al
jmp 0x140014a51
mov al, 1
add rsp, 0x38
ret
Function at 0x140012f60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
sub rsp, 0x20
mov eax, 1
mov qword [rsp + 0x38], rsi
mov r11, rcx
mov rdi, rdx
movzx ecx, byte [rdx + 0xb]
shl eax, cl
cmp byte [rdx + 0xa], 0
cdqe
lea r8, [rax + rax*2]
mov rax, qword [rdx + 0x18]
lea rsi, [rax + r8*8]
jge 0x140012fc0
mov ecx, dword [rdx + 0xc]
lea eax, [rcx - 1]
test ecx, eax
je 0x140012fc0
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
jmp 0x140012fc3
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x140012ffe
mov qword [rsp + 0x30], rbx
xor r10d, r10d
mov ebx, eax
mov rax, qword [rdi + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x140012fef
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x140012fef
mov rcx, r11
call fcn.140012b80
add r10, 0x10
sub rbx, 1
jne 0x140012fd1
mov rbx, qword [rsp + 0x30]
mov r10, qword [rdi + 0x18]
cmp r10, rsi
jae 0x140013060
nop word [rax + rax]
movzx eax, byte [r10 + 9]
and al, 0x40
test byte [r10 + 8], 0xf
jne 0x140013029
test al, al
je 0x140013057
mov byte [r10 + 9], ntohs
jmp 0x140013057
test al, al
je 0x14001303f
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x14001303f
mov rcx, r11
call fcn.140012b80
test byte [r10 + 8], 0x40
je 0x140013057
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x140013057
mov rcx, r11
call fcn.140012b80
add r10, 0x18
cmp r10, rsi
jb 0x140013010
movzx eax, byte [rdi + 9]
mov rsi, qword [rsp + 0x38]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x140013097
mov rcx, rdi
call fcn.140012af0
mov rcx, qword [r11 + 0x90]
mov qword [rax], rcx
mov qword [r11 + 0x90], rdi
and byte [rdi + 9], 0xc7
add rsp, 0x20
pop rdi
ret
cmp cl, 6
jne 0x1400130a1
xor al, 2
mov byte [rdi + 9], al
add rsp, 0x20
pop rdi
ret
Function at 0x14001e190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x38
mov qword [rsp + 0x80], rbx
mov r13, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rdx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
xor esi, esi
lea r11, [0x14010fcc0]
xorps xmm1, xmm1
mov r10d, esi
mov r14d, esi
mov r9d, esi
mov r8, qword [rax]
mov edi, esi
movsx r15d, byte [r8]
mov qword [r13], rbx
movzx eax, byte [rbx]
test byte [rax + r11 + 1], 8
je 0x14001e1ff
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx + 1]
inc rbx
test byte [rax + r11 + 1], 8
jne 0x14001e1f0
mov qword [rsp + 0x30], r12
lea rdx, [rbx + 1]
mov ebp, 1
cmp al, 0x2d
jne 0x14001e216
mov r12d, ebp
jmp 0x14001e21f
cmp al, 0x2b
mov r12d, esi
cmovne rdx, rbx
cmp byte [rdx], 0x30
mov rbx, qword [rsp + 0x80]
jne 0x14001e379
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x14001e379
movsd xmm2, qword [0x140121af8]
lea r13, [0x14010fcc0]
add rdx, 2
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rdx]
mov r11, rdx
movsx rcx, r8b
cmp ecx, r15d
jne 0x14001e27b
test edi, edi
jne 0x14001e2d0
mov edi, ebp
inc rdx
jmp 0x14001e260
test byte [r8 + r13 + 1], 0x10
je 0x14001e2d0
test r10d, r10d
jne 0x14001e293
cmp r8b, 0x30
jne 0x14001e293
inc r14d
jmp 0x14001e2c4
inc r10d
cmp r10d, 0x1e
jg 0x14001e2c1
test byte [rcx + r13 + 1], 2
je 0x14001e2a9
add ecx, 0xffffffd0
jmp 0x14001e2af
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x14001e2c4
inc r9d
test edi, edi
je 0x14001e2cb
dec r9d
inc rdx
jmp 0x14001e260
mov r13, qword [rsp + 0x20]
lea eax, [r14 + r10]
test eax, eax
je 0x14001e379
mov qword [r13], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x14001e35f
movzx eax, byte [rdx + 1]
inc rdx
cmp al, 0x2d
jne 0x14001e307
lea rdx, [r11 + 2]
jmp 0x14001e311
cmp al, 0x2b
jne 0x14001e30f
lea rdx, [r11 + 2]
mov ebp, esi
movzx r8d, byte [rdx]
lea r11, [0x14010fcc0]
test byte [r8 + r11 + 1], 2
je 0x14001e379
nop dword [rax]
nop dword [rax + rax]
movsx eax, r8b
lea esi, [rsi + rsi*4]
inc rdx
lea esi, [rsi - 0x18]
lea esi, [rax + rsi*2]
movzx eax, byte [rdx]
movzx r8d, al
test byte [rax + r11 + 1], 2
jne 0x14001e330
mov eax, esi
mov qword [r13], rdx
neg eax
test ebp, ebp
cmove eax, esi
add r9d, eax
test r12d, r12d
je 0x14001e36b
xorps xmm1, xmmword [0x140122150]
mov edx, r9d
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
jmp 0x14001e37c
xorps xmm0, xmm0
mov r12, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140026c60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
cmp r8, 0x28
ja 0x140026c87
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.140026ab0
movabs rax, 0x7fffffffffffffdf
cmp rbp, rax
jae 0x140026d14
mov qword [rsp + 0x30], rbx
lea rdx, [r8 + 0x19]
mov qword [rsp + 0x38], rsi
mov r8d, 4
mov qword [rsp + 0x40], rdi
mov rdi, qword [rcx + 0x18]
mov ebx, dword [rdi + 0x60]
call fcn.14001b890
movzx ecx, byte [rdi + 0x64]
mov r8, rbp
and cl, 0x18
mov rdx, r14
mov rsi, rax
mov byte [rax + 9], cl
mov byte [rax + 8], reloc.WS2_32.dll_sendto
mov rcx, qword [rdi + 0x70]
mov qword [rax], rcx
lea rcx, [rax + 0x18]
mov qword [rdi + 0x70], rax
mov dword [rax + 0xc], ebx
mov byte [rax + 0xa], 0
mov byte [rax + rbp + 0x18], 0
mov qword [rax + 0x10], rbp
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.14001b790
int3
Function at 0x1400389d0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x1400389f1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140038a1e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140038a20
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140038a79
test ecx, ecx
jle 0x140038a59
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140038a79
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140038a79
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
xor edx, esi
xor eax, 0x1d422f8c
invalid
Function at 0x140038aa0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140038ac2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140038ad1
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140038af4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140038af6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140038b32
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140038bce
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140038b6d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140038bae
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140038bce
cmp rbx, rax
ja 0x140038b80
test rbx, rbx
je 0x140038bce
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
leave
pop rax
invalid
test r9b, r10b
mov byte [rcx - 0x2b4d1ff], bl
jp 0x14023855f
test rax, 0xffffffffa5817d1c
loop 0x140238636
jrcxz 0x1402385ba
mov bh, gethostname
pop rbx
in al, 0xd8
invalid
invalid