joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180043ef0
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 [0x180060040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov qword [rcx], rsi
mov rbx, rcx
mov qword [rcx + 8], rsi
xor edx, edx
mov ecx, 4
mov ebp, r8d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18004401b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180044012
nop dword [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180043ff4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180043ff4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180043ff4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180043fb2
mov rcx, qword [0x180060e90]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180044012
jmp 0x180043fe7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180043fe7
mov rcx, qword [0x180060e90]
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 0x180044012
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 qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180043f60
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180044075
cmp dword [rbx + 0xc], esi
jbe 0x180044075
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18004406e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180043d40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180044030
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180048aa0
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 0x1800440a0
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, 0x30
mov rax, qword [0x180060040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180063a00]
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 0x180044113
mov eax, 0xa
jmp 0x1800441a6
test esi, esi
je 0x180044135
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 0x180044158
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180044158
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180044151
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180044158
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
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]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180048aa0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1800441d0
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 [0x180063a0c]
mov ebx, edi
test ecx, ecx
je 0x18004430d
mov rax, qword [0x180063a00]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180044228
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180044200
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18004430d
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.180043ef0
mov r8d, dword [0x180063a0c]
cmp ebx, r8d
jae 0x180044298
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180063a00]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180044291
mov edx, esi
mov ecx, ebx
call fcn.1800440a0
mov edi, eax
test eax, eax
jne 0x180044298
mov r8d, dword [0x180063a0c]
inc ebx
cmp ebx, r8d
jb 0x180044260
cmp qword [rsp + 0x20], 0
je 0x18004430d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800442f9
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
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800442ea
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 0x1800442c0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180060e90]
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 0x180044670
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 [0x180060e88], ebp
je 0x1800446c7
cmp rbx, 0x20
jae 0x1800446b0
xor ecx, ecx
jmp 0x1800446b2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180060e88], ebp
jne 0x1800446a6
cmp qword [0x180060e90], r15
je 0x1800447c3
test rdi, rdi
jne 0x1800446e7
mov ecx, esi
call fcn.1800441d0
mov ebp, eax
jmp 0x1800447c8
mov ecx, dword [0x180063a0c]
mov ebx, r15d
test ecx, ecx
je 0x18004470f
mov r8, qword [0x180063a00]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180044719
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180044700
mov ebp, 4
jmp 0x1800447c8
cmp ebx, 0xffffffff
je 0x18004470f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x1800447ba
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180043ef0
mov edx, esi
mov ecx, ebx
call fcn.1800440a0
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x1800447c8
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800447a4
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18004479a
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 0x180044770
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180060e90]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800447c8
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x1800447c8
mov ebp, 2
xchg dword [0x180060e88], 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 0x180048450
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test edx, edx
je 0x180048492
cmp edx, 1
jne 0x1800484bc
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180048250]
mov qword [rsp + 0x28], rax
mov r9, rbx
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
cmp dword [0x180060f60], 0
je 0x1800484bc
call fcn.1800447f0
mov rcx, qword [0x180060f58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov qword [0x180060f58], rax
mov dword [0x180060f60], eax
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x1800484c8
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 0x180048502
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180048507
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 0x180048550
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18004b720]
cmp byte [rcx + rax], 0
je 0x180048550
dec r8
sub rdx, 1
jne 0x180048536
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x100013c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x100013fb
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x28
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rbx, rax
je 0x1000143f
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x1000143a
cmp rbx, r11
jae 0x1000143f
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x10001428
cmp rbx, r11
jb 0x10001443
xor eax, eax
jmp 0x1000144f
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x28
ret
Function at 0x10007a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
mov r10, qword [0x10078388]
xor edx, edx
mov qword [rsp + 0x38], rbx
test r10, r10
lea rbx, str.K36xXEyaGH5
je 0x10007b19
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [rax + r10 + 0x88]
add rcx, r10
mov r11d, dword [rcx + 0x1c]
mov eax, dword [rcx + 0x20]
mov r9d, dword [rcx + 0x24]
add r11, r10
add rax, r10
add r9, r10
test ebx, 0xffff0000
jne 0x10007ac8
movzx eax, bx
sub eax, dword [rcx + 0x10]
mov edx, dword [r11 + rax*4]
add rdx, r10
call rdx
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x28
ret
mov r8d, dword [rcx + 0x18]
test r8d, r8d
je 0x10007b19
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
nop
nop
mov esi, dword [rax]
mov rdi, rbx
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
add rsi, r10
add r8d, 0xffffffff
repe cmpsb byte [rsi], byte [rdi]
je 0x10007b04
add rax, 4
add r9, 2
test r8d, r8d
jne 0x10007ae0
jmp 0x10007b0f
movzx eax, word [r9]
mov edx, dword [r11 + rax*4]
add rdx, r10
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
call rdx
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x28
ret
Function at 0x10009d60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov eax, r8d
mov rbp, rdx
mov qword [rsp + 0x40], rsi
shr eax, 4
add ax, 1
mov ebx, r8d
mov rsi, rcx
movzx edx, ax
mov r8d, 6
mov rcx, rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov r12, rax
je 0x10009ec5
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x10009ec5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x10009ec5
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x10009e06
nop
cmp rdi, r11
jae 0x10009ec5
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x10009df0
cmp rdi, r11
jae 0x10009ec5
movzx eax, word [rdi]
test ax, ax
je 0x10009ec5
movzx ebx, ax
mov rax, qword [rsi]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebx
or ecx, eax
jge 0x10009e3c
mov edx, ebx
mov rcx, rsi
call fcn.1000a170
movzx ecx, word [rdi]
lea r8, [rdi + 2]
cmp ecx, 0xffffffff
jne 0x10009e5c
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
and ecx, ecx
movsxd r9, ecx
mov rcx, qword [rsi]
lea rdi, [rbx + rbx]
mov rdx, rdi
add r9, r9
call fcn.10036fb0
test eax, eax
je 0x10009e9b
cmp eax, 0xc
je 0x10009e95
cmp eax, 0x16
je 0x10009e8f
cmp eax, 0x22
je 0x10009e8f
cmp eax, 0x50
je 0x10009e9b
call fcn.10014a90
int3
call fcn.10014a90
int3
call fcn.10014a48
int3
test ebx, ebx
js 0x10009eba
mov rcx, qword [rsi]
cmp ebx, dword [rcx - 0xc]
jg 0x10009eba
mov dword [rcx - 0x10], ebx
mov rcx, qword [rsi]
mov eax, 1
mov word [rdi + rcx], 0
jmp 0x10009ec7
mov ecx, 0x80070057
call fcn.100013a0
int3
xor eax, eax
mov r12, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x1001dfdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
test rdx, rdx
mov rsi, rdx
mov rbp, rcx
je 0x1001e036
call fcn.10016640
mov r8d, pe_nt_image_headers64
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1001e036
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rbx, rax
je 0x1001e058
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.1001da5c
test rdi, rdi
mov esi, eax
je 0x1001e056
test rbx, rbx
je 0x1001e056
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
add rsp, 0x20
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1001e7e0
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x1001e816
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1001e8cd
call fcn.100148b8
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x1001e835
mov ecx, 0x80004005
call fcn.100013a0
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + 0x118]
mov rdx, rsi
mov rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x50]
mov rcx, rdi
call fcn.10039bb0
test eax, eax
je 0x1001e8a0
cmp eax, 0xc
je 0x1001e89a
cmp eax, 0x16
je 0x1001e894
cmp eax, 0x22
je 0x1001e894
cmp eax, 0x50
je 0x1001e8a0
call fcn.10014a90
int3
call fcn.10014a90
int3
call fcn.10014a48
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x1001e8cb
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x1003a297
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x10071c30]
jne 0x10035bca
rol rcx, 0x10
test cx, 0xffff
jne 0x10035bc6
repz ret
ror rcx, 0x10
jmp 0x1003a1f0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100774e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x100775d8]
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 0x1003a275
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, [0x100774e0]
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 0x1003a297
mov rax, qword [rsp + 0x88]
mov qword [0x100775d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x10077578], rax
mov rax, qword [0x100775d8]
mov qword [0x10077450], rax
mov rax, qword [rsp + 0x90]
mov qword [0x10077560], rax
mov dword [0x10077440], 0xc0000409
mov dword [0x10077444], 1
mov rax, qword [0x10071c30]
mov qword [rsp + 0x68], rax
mov rax, qword [0x10071c38]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x100774d8], eax
mov ecx, 1
call fcn.100492d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1005d330]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x100774d8], 0
jne 0x1003a31e
mov ecx, 1
call fcn.100492d0
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 0x1004a780
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.1003a430
xor ebx, ebx
cmp qword [0x10078238], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x1004a8b1
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x1004a7e3
xor eax, eax
jmp 0x1004a991
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1004a7dc
mov rcx, rax
call fcn.1003a3c0
lea rdx, [0x1005e620]
mov rcx, rbp
mov qword [0x10078238], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1003a3c0
lea rdx, [0x1005e608]
mov rcx, rbp
mov qword [0x10078240], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1003a3c0
lea rcx, [rsp + 0x30]
mov qword [0x10078248], rax
call fcn.10038cf0
test eax, eax
je 0x1004a867
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1003ad60
cmp dword [rsp + 0x30], 2
jne 0x1004a8b1
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1003a3c0
test rax, rax
mov qword [0x10078258], rax
je 0x1004a8b1
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1003a3c0
mov qword [0x10078250], rax
mov rcx, qword [0x10078250]
cmp rcx, rsi
je 0x1004a943
cmp qword [0x10078258], rsi
je 0x1004a943
call fcn.1003a490
call rax
test rax, rax
mov rbp, rax
je 0x1004a90e
mov rcx, qword [0x10078258]
call fcn.1003a490
lea rcx, [rsp + 0x38]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x1004a90e
test byte [rsp + 0x48], 1
jne 0x1004a943
lea rcx, [rsp + 0x34]
call fcn.10038d40
test eax, eax
je 0x1004a930
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.1003ad60
cmp dword [rsp + 0x34], 4
jb 0x1004a93d
bts edi, 0x15
jmp 0x1004a977
bts edi, 0x12
jmp 0x1004a977
mov rcx, qword [0x10078240]
cmp rcx, rsi
je 0x1004a977
call fcn.1003a490
call rax
test rax, rax
mov rbx, rax
je 0x1004a977
mov rcx, qword [0x10078248]
cmp rcx, rsi
je 0x1004a977
call fcn.1003a490
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x10078238]
call fcn.1003a490
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140003cf0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400de130]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
mov qword [rbp - 0x59], rcx
xor r12d, r12d
mov dword [rbp - 0x69], r12d
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, r8
sub rcx, rdx
cmp rcx, 0xc
jb 0x140003e92
mov r14d, dword [rdx]
mov esi, dword [rdx + 8]
mov eax, 0xfff93ce0
xor r14d, eax
xor esi, eax
add esi, 0x78752c
add rcx, 0xfffffffffffffff4
mov eax, dword [rdx + 4]
cmp rcx, rax
lea rcx, [rbp + 0x17]
jne 0x140003eb3
add rdx, 0xc
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], r12
call fcn.140011c18
nop
mov r15, qword [rbp + 0x1f]
mov rbx, qword [rbp + 0x17]
sub r15, rbx
mov rdx, r15
cmp rbx, qword [rbp + 0x1f]
cmova rdx, r12
mov rcx, rbx
test rdx, rdx
je 0x140003db8
xor byte [rcx], r14b
inc rcx
mov rax, rcx
sub rax, rbx
cmp rax, rdx
jne 0x140003da7
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov edx, esi
mov rcx, rdi
call fcn.140006d78
mov dword [rbp - 0x69], 1
mov esi, 0x58
mov r8d, esi
xor edx, edx
lea rcx, [rbp - 0x49]
call fcn.140077350
mov qword [rbp - 0x49], rbx
mov dword [rbp - 0x41], r15d
mov rcx, qword [rdi]
mov qword [rbp - 0x39], rcx
mov rax, qword [rdi + 8]
sub rax, rcx
mov dword [rbp - 0x31], eax
mov r8d, esi
lea rdx, str.1.2.11
lea rcx, [rbp - 0x49]
call fcn.1400717f0
lea edx, [rsi - 0x54]
lea rcx, [rbp - 0x49]
call fcn.14006fe30
lea rcx, [rbp - 0x49]
call fcn.1400715f0
nop
test rbx, rbx
je 0x140003e61
mov rdx, qword [rbp + 0x27]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140003e58
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e8c
mov rcx, rbx
call fcn.1400753b4
nop
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140075390
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140084914
nop
lea rdx, [0x1400caec0]
lea rcx, [rbp + 0x17]
call fcn.1400013e4
lea rdx, [0x1400dbed0]
lea rcx, [rbp + 0x17]
call fcn.140077a20
int3
lea rdx, [0x1400caed8]
call fcn.1400013e4
lea rdx, [0x1400dbed0]
lea rcx, [rbp + 0x17]
call fcn.140077a20
int3