joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140081174
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 0x1400811ab
call fcn.14007397c
mov dword [rax], socket
call fcn.1400736f4
xor eax, eax
jmp 0x14008123d
mov rdx, r9
mov rcx, r8
call fcn.140081110
mov rbx, rax
test rax, rax
je 0x14008123a
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x28], rax
lea r8, [0x140081044]
mov eax, dword [rsp + 0x60]
mov rdx, rsi
mov r9, rbx
mov dword [rsp + 0x20], eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140081227
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14007390c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14008120e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14008121d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140089f10
jmp 0x14008123a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140081237
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 0x140085924
Capabilities:
Parse pe header

Disassembly:
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 0x140085993
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140085993
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140085993
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140085993
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140085993
cmp dword [rcx + 0x84], 0xe
jbe 0x140085993
cmp dword [rcx + 0xf8], 0
je 0x140085993
mov ecx, ebx
call fcn.140085a38
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.14008582c
nop
cmp dword [rbp + 0x20], 0
jne 0x1400859f4
call fcn.14008ef7c
cmp eax, 1
jne 0x1400859e4
xor dl, dl
jmp 0x1400859ee
call fcn.14009283c
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x1400859ff
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140085a08
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140085924

Function at 0x140085b0c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140085924
Function at 0x140087cc4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
xor edi, edi
mov rax, r15
lea rcx, [0x1400c9e10]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x140087d1a
cmp word [rdx], r9w
jne 0x140087d1a
or byte [rax + rbp*8 + 0x38], 4
jmp 0x140087d1f
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x140087e9e
mov r11d, reloc.WS2_32.dll_listen
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x140087e69
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x140087d67
cmp rcx, r8
jae 0x140087d87
cmp word [rcx], r9w
jne 0x140087d67
add rax, 4
mov edx, r9d
jmp 0x140087d6a
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x140087d3c
jmp 0x140087e9e
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140087e62
cmp dword [rsp + 0x80], edi
je 0x140087e62
lea r9, [0x1400c9e10]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x140087e3c
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x140087def
mov word [rbx], bp
jmp 0x140087e9b
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], reloc.WS2_32.dll_listen
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x140087e0a
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x140087e9b
cmp word [rsp + 0x70], bp
jne 0x140087e48
cmp rbx, rsi
je 0x140087de7
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140081500
cmp word [rsp + 0x70], bp
je 0x140087e9e
mov word [rbx], reloc.WS2_32.dll_listen
jmp 0x140087e9b
mov rcx, r15
lea r9, [0x1400c9e10]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140087e98
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x140087e9e
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008afdc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1400d3050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x14008b041
test rax, rax
jne 0x14008b02f
lea r9, str.GetLocaleInfoEx
lea r8, [0x1400b5118]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.14008aac8
test rax, rax
je 0x14008b041
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.140098e30
jmp 0x14008b05b
xor edx, edx
mov rcx, rbp
call fcn.14008b384
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14008bf78
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14008bf8e
mov al, 1
jmp 0x14008bffa
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14008bf9f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14008bff8
mov ecx, dword [rcx + 0x18]
nop
call fcn.14008e3fc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14008bff8
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14008bff8
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14008bff8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14008bffa
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14008e50c
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.140081500
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140081500
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14008e659
cmp rax, 0xffffffffffffffff
je 0x14008e659
xor edi, edi
test rbp, rbp
jle 0x14008e607
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14008a5b0
mov rbx, rax
test rax, rax
jne 0x14008e594
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14008e5fd
mov edx, 0x8000
mov ecx, r14d
call fcn.140085b88
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.140089154
cmp eax, 0xffffffff
je 0x14008e5dd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14008e5a4
mov edx, r15d
mov ecx, r14d
call fcn.140085b88
jmp 0x14008e5fd
cmp byte [rsi + 0x38], dil
je 0x14008e5f4
cmp dword [rsi + 0x34], 5
jne 0x14008e5f4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x14008e5fd
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140089f10
jmp 0x14008e66b
jns 0x14008e66b
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140081500
cmp rax, 0xffffffffffffffff
jne 0x14008e625
cmp byte [rsi + 0x30], dil
je 0x14008e66b
jmp 0x14008e661
mov ecx, r14d
call fcn.14008e3fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14008e66b
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 0x14008e66b
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14008e666
mov edi, dword [rsi + 0x2c]
jmp 0x14008e66b
mov edi, socket
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140081500
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 0x140092344
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 0x1400923cb
mov rsi, rbx
cmp word [rax], bp
je 0x14009238a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140092374
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140092370
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14008a550
mov rdi, rax
test rax, rax
je 0x1400923b8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140098e70
mov rbp, rdi
xor ecx, ecx
call fcn.140089f10
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 0x140094ca0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x140094d13
cmp word [rcx], si
je 0x140094d13
lea rdx, [0x1400b6408]
call fcn.1400978f0
test eax, eax
je 0x140094d13
lea rdx, [0x1400b6420]
mov rcx, rbx
call fcn.1400978f0
test eax, eax
jne 0x140094d09
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140094d30
mov eax, dword [rsp + 0x30]
jmp 0x140094d42
mov rcx, rbx
call fcn.1400756c4
jmp 0x140094d42
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x140094d34
xor eax, eax
jmp 0x140094d42
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x140094d42
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140094d54
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.14008a398
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140094df7
cmp edi, dword [rsp + 0x30]
je 0x140094df0
test ebp, ebp
je 0x140094df0
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x140094dcc
sub dx, 0x61
cmp dx, 0x19
ja 0x140094dd8
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x140094db9
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x140094ddc
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x140094df9
mov eax, 1
jmp 0x140094df9
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400952f4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140095314
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14007390c
or eax, 0xffffffff
jmp 0x140095316
xor eax, eax
add rsp, 0x28
ret

Function at 0x14009720c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400c7900]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x140097256
call fcn.140073958
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.14007397c
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.1400736f4
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14006d460
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x140097261
lea eax, [rbx + 1]
jmp 0x140097243
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 0x140097241
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x140097243

Function at 0x140098b80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140098ba8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140098ba8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180001090
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push r12
lea rbp, [rsp - 0x388]
sub rsp, 0x488
mov rax, qword [0x180012410]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov r12, rcx
lea rcx, [rsp + 0x71]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x70], 0
call fcn.180004500
mov dword [rsp + 0x28], 0x6b554066
mov dword [rsp + 0x2c], 0x43722164
mov dword [rsp + 0x30], 0x52206f74
mov word [rsp + 0x34], 0x2e24
mov byte [rsp + 0x36], 0
call fcn.180001000
test eax, eax
je 0x18000121b
mov qword [rsp + 0x4a8], rbx
mov qword [rsp + 0x4b0], rsi
xor esi, esi
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x480], rdi
mov dword [rsp + 0x20], eax
mov edi, esi
mov ebx, esi
call fcn.1800a2337
int3
mov eax, 1
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.180002680
add rsp, 0x488
pop r12
pop rbp
ret

Function at 0x180001730
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x180012410]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov edi, 1
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rbx
push rcx
call fcn.180086753
lea r8, [rsp + 0x30]
lea edx, [rbx + 0x28]
mov rcx, rax
push rax
call fcn.180095f34
test eax, eax
je 0x1800017c7
lea r8, [rsp + 0x3c]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call fcn.18008d500
int3
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800017d7
push rax
call fcn.18008e90e
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180002680
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x180001e80
Capabilities:
Parse pe header

Disassembly:
push rbp
sub rsp, 0x20
mov rbp, qword [0x180014748]
mov eax, 0x5a4d
cmp word [rbp], ax
je 0x180001ea0
xor eax, eax
add rsp, 0x20
pop rbp
ret
mov qword [rsp + 0x38], rsi
movsxd rsi, dword [rbp + 0x3c]
add rsi, rbp
cmp dword [rsi], 0x4550
je 0x180001ec1
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
ret
mov edx, dword [rsi + 0x50]
mov rcx, qword [rsi + 0x30]
mov r9d, 4
mov r8d, 0x2000
mov qword [rsp + 0x48], r12
push rbx
call fcn.18009e2a6
mov r12, rax
test rax, rax
jne 0x180001f14
mov edx, dword [rsi + 0x50]
lea r9d, [rax + 4]
xor ecx, ecx
mov r8d, 0x2000
push rdx
call fcn.180091ce0
mov r12, rax
test rax, rax
jne 0x180001f14
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
ret
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rdi
call fcn.180099503
int3
Function at 0x180002110
Capabilities:
Encrypt data using rc6

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x180012410]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, edx
lea ebx, [rdx + 3]
mov r8d, edx
mov rdx, rcx
shr rax, 2
lea rcx, [rsp + 0x20]
mov dword [rsp + rax*4 + 0x20], 0
shr ebx, 2
call fcn.18000a480
mov dword [0x180014750], 0xb7e15163
lea rcx, [0x180014754]
mov edx, 0x19
mov eax, dword [rcx - 4]
add rcx, 4
sub eax, 0x61c88647
dec rdx
mov dword [rcx - 4], eax
jne 0x180002161
mov ecx, 0x1a
mov eax, ebx
cmp ebx, ecx
cmovb eax, ecx
xor r11d, r11d
xor edi, edi
lea r9d, [rax + rax*2]
xor esi, esi
xor r10d, r10d
xor r8d, r8d
test r9d, r9d
je 0x180002205
mov qword [rsp + 0xa0], rbp
lea rbp, [0x180014750]
nop word [rax + rax]
mov eax, dword [rbp + r10*4]
inc r11d
inc r10
add eax, edi
add esi, eax
mov eax, dword [rsp + r8*4 + 0x20]
rol esi, 3
add eax, edi
lea ecx, [rdi + rsi]
lea edi, [rsi + rax]
mov dword [rbp + r10*4 - 4], esi
and ecx, 0x1f
rol edi, cl
mov dword [rsp + r8*4 + 0x20], edi
cmp r11d, 0x1a
jb 0x1800021ea
xor r11d, r11d
xor r10d, r10d
inc edx
inc r8
cmp edx, ebx
jb 0x1800021f8
xor edx, edx
xor r8d, r8d
dec r9d
jne 0x1800021b0
mov rbp, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180002680
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x180002220
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x40
mov r11, rdx
mov rsi, rcx
cmp r8d, 8
jae 0x18000226d
test r8d, r8d
je 0x18000241e
lea rcx, [0x180014750]
sub r11, rsi
mov r9d, r8d
nop dword [rax + rax]
movzx eax, byte [r11 + rsi]
inc rsi
add rcx, 4
xor al, byte [rcx - 4]
dec r9
mov byte [rsi - 1], al
jne 0x180002250
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x38], r12
mov eax, r8d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
xor r15d, r15d
and eax, 7
je 0x180002295
lea r14d, [rax + 8]
sub r8d, r14d
jmp 0x180002298
mov r14d, r15d
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rdi
mov r12d, 0xc
mov qword [rsp + 0x30], r13
lea rbp, [0x1800147b0]
test r8d, r8d
je 0x180002336
lea eax, [r8 - 1]
mov rdi, rcx
mov r9, rdx
shr eax, 3
sub rdi, rdx
inc eax
mov r13d, eax
lea r15d, [rax*8]
nop word [rax + rax]
mov edx, dword [r9 + 4]
mov r8d, dword [r9]
mov ebx, r12d
mov r10, rbp
nop dword [rax]
sub edx, dword [r10 + 4]
mov ecx, r8d
sub r10, 8
and ecx, 0x1f
ror edx, cl
xor edx, r8d
sub r8d, dword [r10 + 8]
mov ecx, edx
and ecx, 0x1f
ror r8d, cl
xor r8d, edx
dec ebx
jne 0x1800022f0
sub edx, dword [0x180014754]
add r9, 8
mov dword [rdi + r9 - 4], edx
sub r8d, dword [0x180014750]
dec r13
mov dword [rdi + r9 - 8], r8d
jne 0x1800022e0
test r14d, r14d
je 0x1800023fb
lea r13, [r15 + rsi]
lea rdx, [r15 + r11]
mov r8d, r14d
mov rcx, r13
mov edi, r14d
call fcn.18000a480
lea r11, [r15 + rdi]
mov r10d, r12d
mov edx, dword [r11 + rsi - 4]
mov r8d, dword [r11 + rsi - 8]
mov r9, rbp
nop dword [rax]
sub edx, dword [r9 + 4]
mov ecx, r8d
sub r9, 8
and ecx, 0x1f
ror edx, cl
xor edx, r8d
sub r8d, dword [r9 + 8]
mov ecx, edx
and ecx, 0x1f
ror r8d, cl
xor r8d, edx
dec r10d
jne 0x180002370
sub edx, dword [0x180014754]
mov dword [r11 + rsi - 4], edx
sub r8d, dword [0x180014750]
mov dword [r11 + rsi - 8], r8d
mov edx, dword [r13 + 4]
mov r8d, dword [r13]
nop word [rax + rax]
sub edx, dword [rbp + 4]
mov ecx, r8d
sub rbp, 8
and ecx, 0x1f
ror edx, cl
xor edx, r8d
sub r8d, dword [rbp + 8]
mov ecx, edx
and ecx, 0x1f
ror r8d, cl
xor r8d, edx
dec r12d
jne 0x1800023c0
sub edx, dword [0x180014754]
mov dword [r13 + 4], edx
sub r8d, dword [0x180014750]
mov dword [r13], r8d
mov rdi, qword [rsp + 0x60]
mov r13, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x50]
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x58]
mov r14, qword [rsp + 0x28]
mov r15, qword [rsp + 0x20]
add rsp, 0x40
pop rsi
ret
Function at 0x140001185
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
nop
cpuid
nop
mov eax, 1
nop
cpuid
nop
movabs r9, 0xb2d05e00
nop
cpuid
nop
rdtsc
nop
shl rdx, 0x20
nop
or rax, rdx
nop
mov rcx, rax
nop
fldpi
nop
frndint
nop
rdtsc
nop
shl rdx, 0x20
nop
or rax, rdx
nop
sub rax, rcx
nop
cmp rax, r9
nop
jb 0x1400011b2
nop
nop
push rbp
nop
mov rbp, rsp
nop
sub rsp, 8
nop
mov r10, 0xa
nop
mov rcx, 0xffffffff9f345678
nop
dec rcx
nop
xor r9, r9
nop
mov rax, rcx
nop
jne 0x1400011eb
nop
xor rax, rax
nop
mov rax, rbx
nop
add rax, rdx
nop
dec r10
nop
xor r11, r11
nop
jne 0x1400011e2
nop
xor rax, rax
mov rax, 0xa
nop
dec rax
nop
add rsp, 8
pop rbp
ret

Function at 0x14000292e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0xa0
mov rcx, 0
mov rdx, 0xaa8e
mov r8, 0x1000
lea r9, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140002969
mov eax, 1
jmp 0x1400029c4
lea rax, [0x140016ef9]
mov rdi, qword [rsp + 0x20]
mov rsi, rax
mov rcx, 0xaa8e
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
call qword [rsp + 0x28]
xor eax, eax
add rsp, 0xa0
ret
int3
Function at 0x140003000
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14012e928]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
lea rdi, [0x1401312e0]
mov qword [rsp + 0x28], rdi
mov rcx, rdi
call 0x140037120
test eax, eax
jne 0x140003055
mov rax, qword [0x140131330]
nop
test rax, rax
je 0x140002eec
xor ebx, ebx
jmp 0x14000302d
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140002f04
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400029d0
nop
mov r8d, 0x13
lea rdx, [0x1400ed8f0]
lea rcx, [rsp + 0x30]
call fcn.1400032d0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
call qword [0x1400ec180]
mov rbx, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140002f8a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000304f
call 0x14006e080
movdqa xmm0, xmmword [0x1400ed8e0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
xchg qword [0x140131330], rbx
mov rax, qword [0x140131330]
nop
test rax, rax
jne 0x140002fb6
lea ebx, [rax + 0x23]
jmp 0x14000302d
mov rcx, qword [0x140131330]
nop
lea rdx, [0x1400ed908]
call qword [0x1400ec188]
test rax, rax
je 0x140002ff3
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x20]
call qword [0x1400ec4a8]
mov rax, qword [rsp + 0x20]
mov qword [0x140131338], rax
test rax, rax
jne 0x140002ffa
mov ebx, 5
jmp 0x14000302d
mov rcx, qword [rax + 0x28]
mov qword [rbp - 0x3d7af037], rax
test ecx, ecx
jne 0x1400030ca
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x848
mov rax, qword [0x1400153c8]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov r9, rdx
and al, 0x30
or byte [rax], al
add byte [rbx + rcx*4 - 0x36], cl
mov edx, 0x400
lea rax, [r11 + 0x18]
lea rcx, [rsp + 0x30]
lea r8d, [rdx - 1]
xor edi, edi
mov qword [rsp + 0x20], rax
call fcn.140005e90
lea rcx, str.user32.dll
cmp eax, 0x4800002e
lea ecx, str.user32.dll
or eax, 0xfd36
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov rax, qword [0x140017eb8]
test rax, rax
jne 0x14000309b
test rbx, rbx
je 0x1400030be
lea rdx, str.MessageBoxTimeoutW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140017eb8], rax
test rax, rax
jne 0x14000309b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400030be
lea r8, [0x140012dd0]
lea rdx, [rsp + 0x30]
mov r9d, 0x10010
xor ecx, ecx
mov dword [rsp + 0x28], 0xbb8
mov word [rsp + 0x20], di
call rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]