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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, qword [rsp + 0x90]
mov r10d, dword [rsp + 0x80]
movzx eax, byte [rsp + 0x88]
mov r11, qword [rcx + 8]
lock inc dword [r11 + 0x30]
test al, al
je 0x14006230e
mov rbx, qword [rcx + 8]
mov dword [rsi + 0x30], 1
lea rax, [0x140134e30]
mov qword [rsi], rax
mov qword [rsi + 0x10], 0
jmp 0x1400623ce
mov rax, qword [rdx]
cmp rax, 0xffffffffffffffff
je 0x1400623b1
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], r10d
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x3c]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x30], 0
lea r10, [rsp + 0x38]
mov rbx, rcx
mov rcx, rax
mov rdx, r8
mov r8d, r9d
mov r9, r10
call qword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmovne ecx, eax
cmp eax, 0x40
mov eax, 0x2746
cmovne eax, ecx
mov rbx, qword [rbx + 8]
test edi, edi
je 0x14006243c
cmp eax, 0x3e5
je 0x14006243c
mov ecx, dword [rsp + 0x38]
mov dword [rsi + 0x30], 1
lea rdx, [0x140134e30]
mov qword [rsi], rdx
mov dword [rsi + 0x10], eax
mov dword [rsi + 0x14], ecx
jmp 0x14006244d
mov rbx, qword [rcx + 8]
mov dword [rsi + 0x30], 1
lea rax, [0x140134e30]
mov qword [rsi], rax
mov qword [rsi + 0x10], 0x2719
mov rcx, qword [rbx + 0x28]
mov r8d, 2
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x1400624af
lea rdi, [rbx + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rax, [rbx + 0x90]
mov qword [rsi + 0x20], 0
mov rcx, qword [rbx + 0x98]
lea rdx, [rcx + 0x20]
test rcx, rcx
cmove rdx, rax
mov qword [rdx], rsi
mov qword [rbx + 0x98], rsi
mov eax, 1
xchg dword [rbx + 0x58], eax
mov rcx, rdi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 1
xor eax, eax
lock cmpxchg dword [rsi + 0x30], ecx
cmp eax, 1
jne 0x1400624af
mov rcx, qword [rbx + 0x28]
mov r8d, 2
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x1400624af
lea rdi, [rbx + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rsi + 0x20], 0
lea rax, [rbx + 0x90]
mov rcx, qword [rbx + 0x98]
lea rdx, [rcx + 0x20]
test rcx, rcx
cmove rdx, rax
mov qword [rdx], rsi
mov qword [rbx + 0x98], rsi
mov eax, 1
xchg dword [rbx + 0x58], eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x14008f654
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14008f68e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14008f693
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14008f6dc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140103e50]
cmp byte [rcx + rax], 0
je 0x14008f6dc
dec r8
sub rdx, 1
jne 0x14008f6c2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14008fa60
Capabilities:
Parse pe header

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

Function at 0x1400b8788
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400b87bf
call fcn.1400d80d8
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1400bd848
xor eax, eax
jmp 0x1400b884d
mov rdx, r9
mov rcx, r8
call fcn.1400b88ac
mov rbx, rax
test rax, rax
je 0x1400b884a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400b8a84]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400b8837
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400d8208
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400b881e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400b882d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400d29f0
jmp 0x1400b884a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400b8847
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b8b68
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400b8dd0
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400b8e3f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b8e3f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b8e3f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b8e3f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b8e3f
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b8e3f
cmp dword [rcx + 0xf8], 0
je 0x1400b8e3f
mov ecx, ebx
call fcn.1400b8c74
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400b8fdc
nop
cmp dword [rbp + 0x20], 0
je 0x1400b8e8d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400b8d68
int3

Function at 0x1400b8dd0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400b8dd0
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400b8e3f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b8e3f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b8e3f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b8e3f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b8e3f
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b8e3f
cmp dword [rcx + 0xf8], 0
je 0x1400b8e3f
mov ecx, ebx
call fcn.1400b8c74
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400b8fdc
nop
cmp dword [rbp + 0x20], 0
je 0x1400b8e8d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400b8d68
int3
Function at 0x1400c2a44
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x28
test r8, r8
jne 0x1400c2a64
call fcn.1400d80d8
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1400bd848
xor eax, eax
add rsp, 0x28
ret
test rdx, rdx
je 0x1400c2a4d
test rcx, rcx
jne 0x1400c2a73
cmp qword [r8], rcx
je 0x1400c2a4d
add rsp, 0x28
jmp 0x1400c2a7c
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140136740]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r10d, r10d
mov rdi, r8
mov eax, r10d
mov r11, rdx
cmp rax, 0x20
mov r9, rcx
jae 0x1400c2b9b
mov byte [rsp + rax + 0x20], r10b
inc rax
cmp rax, 0x20
jl 0x1400c2aa6
movzx r8d, byte [r11]
inc r11
mov edx, r8d
mov eax, r8d
shr rdx, 3
and eax, 7
movzx ecx, byte [rsp + rdx + 0x20]
bts ecx, eax
mov byte [rsp + rdx + 0x20], cl
test r8b, r8b
jne 0x1400c2aba
test r9, r9
jne 0x1400c2ae7
mov r9, qword [rdi]
movzx r8d, byte [r9]
mov edx, 1
mov eax, r8d
mov ecx, r8d
and ecx, 7
shr rax, 3
shl edx, cl
mov r11, r9
test byte [rsp + rax + 0x20], dl
je 0x1400c2b3e
mov rsi, r9
mov bl, r8b
mov r8b, bl
test bl, bl
je 0x1400c2b3e
lea r9, [rsi + 1]
mov edx, 1
movzx ebx, byte [r9]
mov r11, r9
mov eax, ebx
mov ecx, ebx
and ecx, 7
shr rax, 3
shl edx, cl
mov rsi, r9
mov r8b, bl
test byte [rsp + rax + 0x20], dl
jne 0x1400c2b0e
mov rbx, r11
test r8b, r8b
je 0x1400c2b79
mov al, byte [r11]
movzx r8d, al
mov edx, 1
mov ecx, r8d
inc rbx
and ecx, 7
shr r8, 3
shl edx, cl
test byte [rsp + r8 + 0x20], dl
jne 0x1400c2b73
mov al, byte [rbx]
mov r9, rbx
test al, al
jne 0x1400c2b49
jmp 0x1400c2b79
mov byte [r9], r10b
mov r9, rbx
cmp rbx, r11
mov qword [rdi], r9
cmovne r10, r11
mov rax, r10
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14008fff0
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
call fcn.140090830
int3

Function at 0x1400c5f90
Capabilities:
Parse pe header

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

Function at 0x1400dd4d4
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.1400d3384
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 0x1400dd575
cmp ebx, dword [rsp + 0x30]
je 0x1400dd56e
test esi, esi
je 0x1400dd56e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400dd549
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400dd556
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400dd533
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400dd55a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400dd577
mov eax, 1
jmp 0x1400dd577
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400dfa28
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400dfa58
xor eax, eax
jmp 0x1400dfb1b
mov rbp, rbx
cmp word [rax], si
je 0x1400dfa7d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400dfa64
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400dfa60
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400df8c0
movsxd r14, eax
test eax, eax
jne 0x1400dfabb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400dfa51
mov rcx, r14
call fcn.1400d83e8
mov rdi, rax
test rax, rax
jne 0x1400dfad4
xor ecx, ecx
call fcn.1400d29f0
jmp 0x1400dfab0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400df8c0
test eax, eax
jne 0x1400dfb05
mov rcx, rdi
call fcn.1400d29f0
jmp 0x1400dfb0f
xor ecx, ecx
call fcn.1400d29f0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400dfb38
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 0x1400dfbbf
mov rsi, rbx
cmp word [rax], bp
je 0x1400dfb7e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400dfb68
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400dfb64
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400d83e8
mov rdi, rax
test rax, rax
je 0x1400dfbac
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400f08e0
mov rbp, rdi
xor ecx, ecx
call fcn.1400d29f0
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 0x1400e14c4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400e14da
mov al, 1
jmp 0x1400e153a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400e14eb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400e1538
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400e0ac0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400e1538
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400e1538
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400e1538
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400e153a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400eb01c
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.1400be648
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400eb0a6
cmp byte [rbp - 0x21], r15b
je 0x1400eb0a1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400eb0dc
call fcn.1400d41f4
test eax, eax
jne 0x1400eb0c8
cmp byte [rbp - 0x21], r15b
je 0x1400eb0c0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400eb0dc
cmp byte [rbp - 0x21], r15b
je 0x1400eb0d9
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.1400de104
test eax, eax
jne 0x1400eb17c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400be648
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400eb11b
cmp byte [rbp - 0x21], r15b
je 0x1400eb150
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400eb150
call fcn.1400d41f4
test eax, eax
jne 0x1400eb13c
cmp byte [rbp - 0x21], r15b
je 0x1400eb135
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400eb150
cmp byte [rbp - 0x21], r15b
je 0x1400eb14d
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.1400de104
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400eb17c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400eb17f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400eb18d
mov rcx, rdi
call fcn.1400d29f0
cmp byte [rbp + 0x3f], r15b
je 0x1400eb19c
mov rcx, qword [rbp + 0x27]
call fcn.1400d29f0
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 0xb1cec0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xb1cecd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xb1cedd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xb1cec5
lea eax, [rcx + 1]
jmp 0xb1ceeb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xb1cefe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xb1cee4
sub eax, 3
jb 0xb1cf1e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xb1cf6d
sar eax, 1
movsxd rbp, eax
jb 0xb1cf54
jmp 0xb1cf2c
add ebx, ebx
jne 0xb1cf2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xb1cf54
inc ecx
add ebx, ebx
jne 0xb1cf3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xb1cf54
call r11
adc ecx, ecx
add ebx, ebx
jne 0xb1cf4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xb1cf3c
add ecx, 2
jmp 0xb1cf59
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00b1ce82
jmp 0xb1cecd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x337e00
mov dl, 0x63
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xb1cfb9
cmp rsi, rcx
jae 0xb1cfc1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xb1cfa0
cmp al, 0x8f
ja 0xb1cfa0
cmp byte [rsi - 2], 0xf
je 0xb1cfa6
sub al, 0xe8
cmp al, 1
ja 0xb1cf8a
cmp rsi, rcx
jae 0xb1cfc1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xb1cf90
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xb1cfc1
lodsb al, byte [rsi]
jmp 0xb1cfa0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x713000]
mov eax, dword [rdi]
or eax, eax
je 0xb1d01e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x71d000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xb1cfce
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xb1d018
mov qword [rbx], rax
add rbx, 8
jmp 0xb1cfee
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xb1d062
cmp al, 0xef
ja 0xb1d04a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xb1d02a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xb1d039
mov eax, dword [rdi]
add rdi, 4
jmp 0xb1d039
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xb1d0b6
sub rsp, 0xffffffffffffff80
jmp 0x477ec0
Function at 0x14000d640
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14000d6c0
cmp r11, r10
ja 0x14000d737
cmp r10, rdx
ja 0x14000d749
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x14000d6c2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000d6a0
jmp 0x14000d724
ja 0x14000d6ca
mov r11, r10
cmp rax, r8
jne 0x14000d66e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14000d700
mov rdi, r8
sub ecx, edx
jns 0x14000d71b
jmp 0x14000d726
cmp r8, rsi
je 0x14000d758
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000d726
xor al, 1
cmp rdi, rsi
jne 0x14000d6e0
jmp 0x14000d726
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140117e20
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140117c30
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140117f80
int3
Function at 0x14001e960
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14001e9a2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14001e9aa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14001e9bb
jmp 0x14001e9d2
xor r10d, r10d
jmp 0x14001ea5d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14001e9d2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14001e9e9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14001ea09
add r11, r8
jmp 0x14001eb3b
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14001ead2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14001ea80
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14001eaf0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14001eb02
jmp 0x14001eb1d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14001eb1d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14001eb37
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret