joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001ebb0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x1801864cc]
mov ebx, edi
test ecx, ecx
je 0x18001eceb
mov rax, qword [0x1801864c0]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18001ec08
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18001ebe0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18001eceb
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.18001e8f0
mov r8d, dword [0x1801864cc]
cmp ebx, r8d
jae 0x18001ec78
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1801864c0]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x18001ec71
mov edx, esi
mov ecx, ebx
call fcn.18001eaa0
mov edi, eax
test eax, eax
jne 0x18001ec78
mov r8d, dword [0x1801864cc]
inc ebx
cmp ebx, r8d
jb 0x18001ec40
cmp qword [rsp + 0x20], 0
je 0x18001eceb
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18001ecd7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18001ecc8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18001eca0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180186218]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18001f070
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x180186210], ebp
je 0x18001f0c7
cmp rbx, 0x20
jae 0x18001f0b0
xor ecx, ecx
jmp 0x18001f0b2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180186210], ebp
jne 0x18001f0a6
cmp qword [0x180186218], r15
je 0x18001f1c1
test rdi, rdi
jne 0x18001f0e7
mov ecx, esi
call fcn.18001ebb0
mov ebp, eax
jmp 0x18001f1c6
mov ecx, dword [0x1801864cc]
mov ebx, r15d
test ecx, ecx
je 0x18001f10f
mov r8, qword [0x1801864c0]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x18001f119
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18001f100
mov ebp, 4
jmp 0x18001f1c6
cmp ebx, 0xffffffff
je 0x18001f10f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x18001f1b8
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18001e8f0
mov edx, esi
mov ecx, ebx
call fcn.18001eaa0
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x18001f1c6
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18001f1a2
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18001f198
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x18001f170
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180186218]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18001f1c6
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x18001f1c6
mov ebp, 2
xchg dword [0x180186210], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret

Function at 0x180022e50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x180022ead
lea rbx, [0x1800cfd50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180022e94
cmp r10, 2
jb 0x180022e94
cmp byte [r9], r8b
jne 0x180022e94
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180022e70
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180022eef
lea rbx, [0x1800cfd50]
cmp r8b, 0x23
jne 0x180022ed3
cmp byte [r9], r8b
jne 0x180022ed3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180022ec0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180023050
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18002306a
mov qword [r8], 0
lea rdx, [0x1800cf944]
call fcn.180022f00
mov rbx, rax
test rax, rax
jne 0x18002308a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180023161
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180023161
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180023161
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180023161
cmp rdi, 0xffffffffffffffff
je 0x180023161
mov rax, qword [0x180186220]
test rax, rax
je 0x1800230fe
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180023161
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18002314e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180186220]
test rax, rax
je 0x180023143
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18002316a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18002315c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18002316c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180025bd0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1800cfd50]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x180186220]
not ebx
cmp dword [rcx + 0x3ec4], ebx
jne 0x180025c5b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.180038b10
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180025c70
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xd8]
lea r9, [0x1800cfd50]
vmovss xmm3, dword [rcx + 0xf0]
vmovss xmm4, dword [rcx + 0xf4]
movsxd rcx, dword [rcx + 0xd0]
vmovss xmm0, dword [rdx]
vmovss xmm2, dword [rdx + 4]
vsubss xmm1, xmm0, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
vmovss dword [rsp], xmm1
movzx eax, byte [rsp]
xor rcx, rax
movzx eax, byte [rsp + 1]
vmovss xmm1, dword [rdx + 8]
vsubss xmm0, xmm2, xmm4
vmovss dword [rsp + 4], xmm0
xor r8d, dword [r9 + rcx*4]
vmovss xmm0, dword [rdx + 0xc]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
vsubss xmm2, xmm1, xmm3
vmovss dword [rsp + 8], xmm2
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
vsubss xmm1, xmm0, xmm4
vmovss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x180032640
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180101010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180186220]
mov edi, ecx
cmp byte [rbx + 0x423d], 0
jne 0x1800326a1
cmp byte [rbx + 0x423e], 0
jne 0x1800326a1
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180022d10
test dil, 1
je 0x1800327bf
jmp 0x180032727
vmovss xmm1, dword [rbx + 0x3898]
vmulss xmm0, xmm1, dword [0x1800f4e74]
vaddss xmm2, xmm0, dword [rbx + 0xdfc]
vmulss xmm1, xmm1, dword [0x1800f4e54]
vaddss xmm0, xmm1, dword [rbx + 0xe00]
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
xor eax, eax
mov dword [rbx + 0x3f94], 1
vmovss dword [rbx + 0x3fa4], xmm0
vmovss dword [rbx + 0x3fa0], xmm2
mov qword [rbx + 0x3fa8], rax
lea rcx, [rsp + 0x20]
vmovss xmm0, dword [rbx + 0x38f4]
vmulss xmm1, xmm0, dword [0x1800f4d1c]
or dword [rbx + 0x3f90], 0x41
lea edx, [rax + 0x10]
vmovss dword [rbx + 0x3ff0], xmm1
call fcn.180022d10
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180032777
lea r11, [0x1800cfd50]
cmp r9b, 0x23
jne 0x18003275a
cmp byte [r8], r9b
jne 0x18003275a
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180032747
not ecx
call fcn.18002b340
test rax, rax
je 0x1800327bf
cmp byte [rax + 0x96], 0
je 0x1800327bf
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, 0x10
movsx r9d, word [rbx + 0x5332]
call fcn.180022d10
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18002da20
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18006e830
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800377b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180037857
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18003780a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180021430
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800237a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180186214]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18003785f
mov rcx, rbx
call fcn.1800237a0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180037cd0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180186220]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180037d33
mov qword [rsp], rbx
lea rbx, [0x1800cfd50]
nop dword [rax]
cmp r9b, 0x23
jne 0x180037d13
cmp byte [r8], r9b
jne 0x180037d13
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180037d00
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180037d67
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x180037d6e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180037d54
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1800673f0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov qword [0x180186320], rcx
mov rbx, rcx
cmp edx, 1
jne 0x18006743a
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov qword [0x1801862c0], rbx
call fcn.180067450
test al, al
je 0x18006743a
xor eax, eax
lea r8, [0x1800678a0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x18006d640
Capabilities:
Allocate or change rwx memory
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180101010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor esi, esi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], esi
xor edx, edx
lea ecx, [rsi + 5]
call qword [sym.imp.ntdll.dll_ZwQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x18006d730
mov eax, dword [rsp + 0x30]
lea r9, [rsp + 0x40]
add eax, 0x5000
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x20], 0x3000
lea rcx, [r8 - 1]
call qword [sym.imp.ntdll.dll_ZwAllocateVirtualMemory]
test eax, eax
js 0x18006d730
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll_memset
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x18006d730
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbx
mov ecx, 5
call qword [sym.imp.ntdll.dll_ZwQuerySystemInformation]
mov edi, eax
test eax, eax
jns 0x18006d74f
mov r9d, 0x8000
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
lea rdx, [rsp + 0x38]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_ZwFreeVirtualMemory]
cmp edi, 0xc0000004
je 0x18006d682
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18006e830
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rax, rbx
jmp 0x18006d732
Function at 0x18006d760
Capabilities:
Suspend thread

Disassembly:
push rsi
sub rsp, 0x70
mov rax, qword [0x180101010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rcx
xor eax, eax
mov ecx, 1
lock cmpxchg dword [0x180186330], ecx
cmp eax, ecx
jne 0x18006d7a0
nop dword [rax + rax]
pause
xor eax, eax
lock cmpxchg dword [0x180186330], ecx
cmp eax, ecx
je 0x18006d790
test rsi, rsi
jne 0x18006d7ba
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18006e830
add rsp, 0x70
pop rsi
ret
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rbp
xor ebp, ebp
mov ebx, ebp
cmp dword [rsi + 4], ebx
jbe 0x18006d896
mov qword [rsp + 0x98], rdi
nop
mov eax, ebx
lea rdi, [rax + rax*4]
shl rdi, 4
add rdi, rsi
mov qword [rdi + 0x100], rbp
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
cmp qword [rdi + 0x130], rcx
je 0x18006d883
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x30
lea r9, [rdi + 0x128]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x28]
mov dword [rsp + 0x40], ebp
mov edx, 0x1a
mov qword [rsp + 0x38], rbp
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rbp
movdqu xmmword [rsp + 0x48], xmm0
call qword [sym.imp.ntdll.dll_ZwOpenThread]
test eax, eax
js 0x18006d883
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18006d883
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], ebp
call qword [sym.imp.ntdll.dll_ZwSuspendThread]
test eax, eax
jns 0x18006d877
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntdll.dll_ZwClose]
jmp 0x18006d883
mov rax, qword [rsp + 0x20]
mov qword [rdi + 0x100], rax
inc ebx
cmp ebx, dword [rsi + 4]
jb 0x18006d7e0
mov rdi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov al, 1
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18006e830
add rsp, 0x70
pop rsi
ret

Function at 0x18006d8c0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x30
mov rax, qword [0x180101010]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor edx, edx
mov rsi, rcx
xor r8d, r8d
lea rcx, [rdx - 1]
call qword [sym.imp.ntdll.dll_ZwFlushInstructionCache]
xor ebp, ebp
test rsi, rsi
jne 0x18006d8f6
xor al, al
jmp 0x18006d955
mov qword [rsp + 0x48], rbx
mov ebx, ebp
cmp dword [rsi + 4], ebx
jbe 0x18006d94e
mov qword [rsp + 0x50], rdi
mov eax, ebx
lea rdi, [rax + rax*4]
add rdi, rdi
mov rcx, qword [rsi + rdi*8 + 0x100]
test rcx, rcx
je 0x18006d942
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ntdll.dll_ZwResumeThread]
mov rcx, qword [rsi + rdi*8 + 0x100]
call qword [sym.imp.ntdll.dll_ZwClose]
mov qword [rsi + rdi*8 + 0x100], rbp
inc ebx
cmp ebx, dword [rsi + 4]
jb 0x18006d907
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov al, 1
xchg dword [0x180186330], ebp
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18006e830
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
Function at 0x18006d980
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x1a0
mov rax, qword [0x180101010]
xor rax, rsp
mov qword [rsp + 0x198], rax
mov rsi, rdx
lea rcx, [rsp + 0x180]
xor edx, edx
mov rbx, r8
mov r14d, r9d
lea r8d, [rdx + 2]
call fcn.180071160
lea rax, [rsp + 0x30]
mov r9d, 0x10
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [rsp + 0x180]
xor bpl, bpl
call fcn.180071060
test eax, eax
js 0x18006db3b
sub rbx, rsi
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rsp + 0x38]
lea rdi, [rbx + rsi]
mov rcx, rdi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
test byte [rsp + 0x50], 0x80
je 0x18006dafd
movzx r8d, byte [rsp + 0x141]
mov rax, rbx
cqo
mov r9, rax
xor r9, rdx
sub r9, rdx
test r8b, r8b
je 0x18006da83
movzx ecx, byte [rsp + 0x140]
mov edx, 1
shl rdx, cl
dec rdx
shr rdx, 1
cmp r9, rdx
jae 0x18006db67
lea rax, [rdi + r8]
cmp cl, 8
je 0x18006da81
cmp cl, 0x10
je 0x18006da7c
cmp cl, 0x20
je 0x18006da78
cmp cl, 0x40
jne 0x18006da83
sub qword [rax], rbx
jmp 0x18006da83
sub dword [rax], ebx
jmp 0x18006da83
sub word [rax], bx
jmp 0x18006da83
sub byte [rax], bl
xor dl, dl
nop word [rax + rax]
movzx eax, dl
lea rcx, [rax + rax*2]
movzx r8d, byte [rsp + rcx*8 + 0x159]
test r8b, r8b
je 0x18006daf6
cmp byte [rsp + rcx*8 + 0x149], 0
je 0x18006daf6
movzx ecx, byte [rsp + rcx*8 + 0x158]
mov eax, 1
shl rax, cl
dec rax
shr rax, 1
cmp r9, rax
jae 0x18006db67
lea rax, [rdi + r8]
cmp cl, 8
je 0x18006daf4
cmp cl, 0x10
je 0x18006daef
cmp cl, 0x20
je 0x18006daeb
cmp cl, 0x40
jne 0x18006daf6
sub qword [rax], rbx
jmp 0x18006daf6
sub dword [rax], ebx
jmp 0x18006daf6
sub word [rax], bx
jmp 0x18006daf6
sub byte [rax], bl
inc dl
cmp dl, 2
jb 0x18006da90
movzx ecx, byte [rsp + 0x38]
add bpl, cl
add rsi, rcx
movzx eax, bpl
cmp eax, r14d
jae 0x18006db3b
lea rax, [rsp + 0x30]
mov r9d, 0x10
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [rsp + 0x180]
call fcn.180071060
test eax, eax
jns 0x18006da00
movzx eax, bpl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.18006e830
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
xor al, al
jmp 0x18006db3f
Function at 0x18006db70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180101010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edi, r8d
lea rax, [r11 - 0x30]
mov rbp, rdx
mov qword [r11 - 0x28], rcx
mov rbx, rcx
mov qword [r11 - 0x38], rdi
lea r8, [r11 - 0x38]
mov qword [r11 - 0x48], rax
lea rdx, [r11 - 0x28]
mov dword [rsp + 0x38], 0
mov rcx, 0xffffffffffffffff
mov r9d, 0x40
call qword [sym.imp.ntdll.dll_ZwProtectVirtualMemory]
xor esi, esi
test eax, eax
cmovns esi, dword [rsp + 0x38]
test esi, esi
jne 0x18006dbda
xor al, al
jmp 0x18006dc20
mov r8, rdi
mov rdx, rbp
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], rdi
mov r9d, esi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x38], 0
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_ZwProtectVirtualMemory]
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18006e830
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x18006f9e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18006fa64
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800768b0]
cmp byte [rcx + rax], 0
je 0x18006fa64
dec r8
sub rdx, 1
jne 0x18006fa4a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400084a0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14008cc30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1400084c8
lea rax, [0x14008cc30]
jmp 0x1400084ca
xor eax, eax
add rsp, 0x28
ret