joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180162340
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rsi
push r12
push r14
push r15
sub rsp, 0x20
mov r14, rcx
mov r12, r9
mov rcx, r8
mov rsi, rdx
call fcn.180124810
mov r8d, dword [r14 + 0x18]
mov edx, 0x40
mov ecx, dword [r14 + 0x20]
add rcx, 0x18
mov r15d, eax
lea r9d, [r8 + r8]
add rcx, r9
lea r8, str.C:Dev_vcpkg_buildtreescurl_srcurl_7_81_0_459d17a9d2.cleanlibhmac.c
call fcn.1801270b0
mov rbx, rax
test rax, rax
je 0x180162504
lea rcx, [rax + 0x18]
mov qword [rax], r14
mov qword [rax + 8], rcx
mov eax, dword [r14 + 0x18]
add rax, rcx
mov qword [rsp + 0x58], rbp
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x60], rdi
cmp r15d, dword [r14 + 0x1c]
jbe 0x1801623df
call qword [r14]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, rsi
call qword [r14 + reloc.WS2_32.dll_htonl]
mov esi, dword [r14 + 0x18]
add rsi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rsi
call qword [r14 + reloc.WS2_32.dll_recv]
mov r15d, dword [r14 + 0x20]
mov rcx, qword [rbx + 8]
call qword [r14]
mov rcx, qword [rbx + 0x10]
call qword [r14]
xor ebp, ebp
test r15, r15
je 0x180162442
mov rbp, r15
nop word [rax + rax]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x50]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x50], al
mov rcx, qword [rbx + 8]
call qword [r14 + reloc.WS2_32.dll_htonl]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x50]
xor al, 0x5c
lea rsi, [rsi + 1]
mov byte [rsp + 0x50], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [r14 + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x180162400
mov eax, dword [r14 + 0x1c]
cmp rbp, rax
jae 0x180162486
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x1801890b4]
mov r8d, 1
call qword [r14 + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1801890b5]
mov r8d, 1
call qword [r14 + reloc.WS2_32.dll_htonl]
mov eax, dword [r14 + 0x1c]
inc rbp
cmp rbp, rax
jb 0x180162450
mov rcx, qword [rsp + 0x70]
call fcn.180124810
mov r9, qword [rbx]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, r12
call qword [r9 + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rbx]
mov rbp, qword [rsp + 0x58]
test rdi, rdi
jne 0x1801624ba
mov edi, dword [rsi + 0x18]
add rdi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov r8d, dword [rsi + 0x20]
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [rsi + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
lea r8, str.C:Dev_vcpkg_buildtreescurl_srcurl_7_81_0_459d17a9d2.cleanlibhmac.c
mov edx, 0x81
mov rcx, rbx
call fcn.180126fc0
mov rdi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret
mov eax, 0x1b
add rsp, 0x20
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret
Function at 0x180163f10
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x180163f75
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x180163f20
ret
Function at 0x180166e00
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 [0x18020995c]
mov ebx, edi
test ecx, ecx
je 0x180166f3b
mov rax, qword [0x180209950]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180166e58
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180166e30
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180166f3b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.180167180
mov r8d, dword [0x18020995c]
cmp ebx, r8d
jae 0x180166ec8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180209950]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180166ec1
mov edx, esi
mov ecx, ebx
call fcn.180167070
mov edi, eax
test eax, eax
jne 0x180166ec8
mov r8d, dword [0x18020995c]
inc ebx
cmp ebx, r8d
jb 0x180166e90
cmp qword [rsp + 0x20], 0
je 0x180166f3b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180166f27
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 0x180166f18
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 0x180166ef0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180204a10]
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 0x180167070
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180209950]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1801670d4
mov eax, 0xa
jmp 0x180167163
test esi, esi
je 0x1801670f6
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180167119
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180167119
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180167112
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180167119
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
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 0x180167180
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1801fc340]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1801672aa
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1801672a1
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180167284
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180167284
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180167284
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180167242
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x180204a10]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1801672a1
jmp 0x180167277
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180167277
mov rcx, qword [0x180204a10]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1801672a1
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1801671f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180167303
cmp dword [rbx + 0xc], esi
jbe 0x180167303
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1801672fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180167670
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x1801672c0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1801687a0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180167820
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x18016788f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x180167878
mov qword [rsp + 0x38], rsi
mov rax, qword [rdi]
xor edx, edx
mov r8d, dword [rax + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18016786c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x180167840
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x180204a10]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180167950
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x180167990
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180209948]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1801679ce
cmp rsi, r14
jb 0x1801679c6
cmp rsi, r15
jae 0x1801679c6
cmp qword [rsi + 8], 0
jne 0x180167b97
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1801679b1
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180167a62
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180167a59
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180167a59
cmp dword [rsp + 0x70], 0x10000
je 0x180167adb
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x180167a59
sub rbx, rbp
cmp rbx, r14
jae 0x180167a20
test rsi, rsi
jne 0x180167b40
cmp rdi, r15
ja 0x180167b7f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x180167b7f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180167b7f
cmp dword [rsp + 0x70], 0x10000
je 0x180167b11
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180167a92
jmp 0x180167b7f
test rbx, rbx
je 0x180167a59
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180167b40
cmp rbx, r14
jae 0x180167a00
jmp 0x180167a62
test rdi, rdi
je 0x180167b7f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180167b40
cmp rdi, r15
jbe 0x180167a70
jmp 0x180167b7f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180167b50
mov rax, qword [0x180209948]
mov qword [rsi], rax
mov qword [0x180209948], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x180169f6c
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 0x180169fa6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180169fab
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 0x180169ff4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x180169ff4
dec r8
sub rdx, 1
jne 0x180169fda
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x180007a7f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18001c540]
jne 0x1800054aa
rol rcx, 0x10
test cx, 0xffff
jne 0x1800054a6
repz ret
ror rcx, 0x10
jmp 0x1800079d8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18001e900]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x18001e9f8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180007a5d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18001e900]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180007a7f
mov rax, qword [rsp + 0x88]
mov qword [0x18001e9f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18001e998], rax
mov rax, qword [0x18001e9f8]
mov qword [0x18001e870], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18001e980], rax
mov dword [0x18001e860], 0xc0000409
mov dword [0x18001e864], 1
mov rax, qword [0x18001c540]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18001c548]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18001e8f8], eax
mov ecx, 1
call fcn.1800054b0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18001ab50]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18001e8f8], 0
jne 0x180007b06
mov ecx, 1
call fcn.1800054b0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180007ba0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x18001c540]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.180002800
xor ebx, ebx
cmp qword [0x18001edd8], rbx
mov rdi, rax
jne 0x180007cb3
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x180007d8a
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180007d8a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18001edd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18001ede0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x18001ede8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x18001edf8], rax
test rax, rax
je 0x180007caa
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x18001edf0], rax
jmp 0x180007cba
mov rax, qword [0x18001edf0]
jmp 0x180007cc1
mov rax, qword [0x18001edf0]
mov r11, qword [0x18001edf8]
cmp rax, rdi
je 0x180007d28
cmp r11, rdi
je 0x180007d28
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x18001edf8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x180007d28
test rax, rax
je 0x180007d28
call rsi
test rax, rax
je 0x180007d22
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180007d22
test byte [rsp + 0x40], 1
jne 0x180007d28
bts ebp, 0x15
jmp 0x180007d68
mov rcx, qword [0x18001ede0]
cmp rcx, rdi
je 0x180007d68
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180007d68
call rax
mov rbx, rax
test rax, rax
je 0x180007d68
mov rcx, qword [0x18001ede8]
cmp rcx, rdi
je 0x180007d68
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180007d68
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18001edd8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x180007d8a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x180007d8c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180005490
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800088aa
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push rdi
jo 0x180017c5f
mov r15, r15
jno 0x180017c5f
ror byte [rcx - 9], 0xc4
add byte [rax], al
add byte [rax], al
call fcn.18000c1af
mov cl, 0xb2
mov eax, dword [rcx]
invalid
pop rdi
jo 0x1800101bd
mov sp, sp
jno 0x1800101bd
sub qword [rsp + 0x10], rdi
jl 0x18000eb7d
mov dl, dl
jge 0x18000eb7d
pop rdi
jo 0x180015596
xchg r14, r14
jno 0x180015596
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
call fcn.18000cd9e
sbb dword [rdi - 0xef36], eax
jo 0x18000fb9d
test eax, eax
jne 0x18000df7c
sub rdi, 0x17b5e10c
jb 0x18000f216
xchg bp, bp
jae 0x18000f216
popfq
jp 0x18000d66d
mov sp, sp
jnp 0x18000d66d
mov r9, qword [rsp + 0x28]
call fcn.18000f045
hlt
sub qword [rsp + 0x10], rdi
je 0x180017692
mov r13, r13
jne 0x180017692
mov eax, dword [rsp + 0x18]
test r13, 0
inc ecx
ret
and dword [rcx + 0x58], 0
pushfq
js 0x1800145a6
xchg dh, dh
jns 0x1800145a6
movsxd rdi, dword [rdi]
jp 0x180016fd9
mov rbp, rbp
jnp 0x180016fd9
jb 0x18000f8f6
add r8d, eax
mov ecx, r8d
shr r8d, 0x18
call fcn.18000f96c
or ebp, dword [rbx]
add bh, bh
call [rbx + 0xf]
mov bh, byte [rbp + rdi*2 - 1]
jmp qword [rsi - 0x75]
movsxd rdi, dword [rdi]
jb 0x1800118f0
xchg dx, dx
jae 0x1800118f0
xor rdi, 0x3bc90f9a
jl 0x18000cec3
xchg bh, bh
jge 0x18000cec3
lea r9d, [rbx + 0x1c]
mov r8d, 0xbae0962e
call fcn.180008b0d
call fcn.180009a17
cmc
or edi, dword [rbp + 0x35]
invalid
ret
pushfq
jp 0x18000e748
xchg r10, r10
jnp 0x18000e748
mov rsi, qword [rsi + 0xe20]
lea rcx, [rsp + 0x20]
call fcn.180013d0d
mov rcx, rbx
mov r11, rax
call fcn.18000af3c
cmpsd dword [rsi], dword [rdi]
invalid
popfq
jg 0x18000a993
mov r8, r8
jle 0x18000a993
je 0x180011173
mov rcx, qword [rsp + 0x90]
test bl, 0
jb 0x180009de7
call fcn.18000aa06
xchg r8b, r8b
jrcxz 0x1800176c2
invalid
dec dword [rdi]
invalid
mov rdi, qword [rsp + 8]
jb 0x180013f70
xchg r15, r15
jae 0x180013f70
and dword [rdi + 0x18], 0
mov qword [rdi + 0x10], rsi
mov dword [rdi + 0x18], ebp
test cl, 0
js 0x18000dcb8
xor eax, eax
call fcn.18000b706
invalid

Function at 0x180008941
Capabilities:
Check os version
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push rsi
jb 0x18000bd8c
mov sp, sp
jae 0x18000bd8c
mov rsi, qword [rsp + 8]
jb 0x1800132a4
mov dl, dl
jae 0x1800132a4
movsxd rsi, dword [rsi]
js 0x18000eb4a
xchg dl, dl
jns 0x18000eb4a

Function at 0x180008e91
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push r10
jb 0x18000e20e
xchg rdi, rdi
jae 0x18000e20e
test rbx, 0
call fcn.180008e91
invalid
mov r10, qword [rsp + 8]
js 0x18001150e
xchg rcx, rcx
jns 0x18001150e
Function at 0x180009153
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push rdx
jb 0x18001154a
mov di, di
jae 0x18001154a
call fcn.180013e66
lea r11, [rsp + 0x50]
call fcn.18001752a
shr byte [rdx + rbp*8 + 0x48ffff0f], 0x89
add eax, 0x14bb5
call fcn.18000b3f2
call fcn.18001752a
clc
sub edx, 0xf
invalid
add rdx, 0x226eff0d
jl 0x18000d65a
xchg rcx, rcx
jge 0x18000d65a
movsxd rdx, dword [rdx]
jo 0x18001684b
xchg rbp, rbp
jno 0x18001684b
add qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 8]
jb 0x18000d353
mov si, si
jae 0x18000d353
pushfq
jo 0x18000b99e
xchg r13, r13
jno 0x18000b99e
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2f]
call fcn.18000f4af
jmp 0x17f0fb9b0

Function at 0x180009224
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push r15
js 0x1800151e7
xchg r8, r8
jns 0x1800151e7
mov rbp, rax
call fcn.180015768
invalid
movsxd r15, dword [r15]
jb 0x18000e00a
xchg rsi, rsi
jae 0x18000e00a
mov r15, qword [rsp + 8]
je 0x18000c216
mov ax, ax
jne 0x18000c216

Function at 0x1800094d8
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push r15
jl 0x18000ddbd
xchg r14, r14
jge 0x18000ddbd
mov r9, rbp
call fcn.180016faa
mov eax, 0xffeb724e
call [rbp - 0x4a1a78f1]
add byte [rax], al
rdtsc
shl rdx, 0x20
call fcn.18000f15c
invalid
test bh, 0
jb 0x18000fbd8
add rbx, qword [rsp + 0x38]
mov rcx, rdi
call fcn.180014473
mov rcx, rbx
lea rdx, [rsp + 0x20]
mov r8d, 0x30
call fcn.180009153
fadd dword [rdx - 0x226f]
pop rdi
call fcn.18000ce82
movsd dword [rdi], dword [rsi]
imul edx, dword [rsi], 0xffffffee
invalid
test eax, eax
jne 0x18000bff0
jne 0x180012f73
call fcn.18000fd76
mov esi, 0xffffdb84
pushfq
jg 0x180013ec8
xchg rsp, rsp
jle 0x180013ec8
call fcn.18000f5a8
call fcn.1800099da
mov r15, qword [rsp + 8]
jb 0x180010509
mov r10, r10
jae 0x180010509
lea rcx, [0x18001dd80]
call fcn.1800137c8
mov byte [rsi], al
jp 0x18000dde6
invalid
add byte [rax], al
jb 0x18000c3fe
sub rsp, 0x28
lea rcx, [rsp + 0x30]
call qword [0x18001d799]
mov r11d, dword [0x18001dbbd]
mov eax, dword [rsp + 0x30]
call fcn.18000f045
pop rcx
test al, 0x13
invalid
mul ebx
movsxd r15, dword [r15]
je 0x18000d838
mov rcx, rcx
jne 0x18000d838
jne 0x18000aaf5
call fcn.180009224
cmpsd dword [rsi], dword [rdi]
movabs dword [0x9049850fffff38ea], eax
invalid
inc dword [rcx + 0x28]
call qword [0x18001d760]
call fcn.1800096b0
invalid

Function at 0x1800095d0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push r13
js 0x1800170a6
xchg dh, dh
jns 0x1800170a6

Function at 0x1800096b0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push rbp
jg 0x180009bd7
xchg si, si
jle 0x180009bd7
mov rbp, qword [rsp + 8]