joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180043400
Capabilities:
Create thread

Disassembly:
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x1d0], rbx
mov rax, qword [0x1801c2938]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov rbx, rcx
mov dword [rcx + 8], 5
add rcx, 0x10
or r9, 0xffffffffffffffff
xor r8d, r8d
call fcn.180018c00
mov dword [rbx + 0x38], 2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
test al, al
je 0x180043527
lea rcx, [rsp + 0x40]
call fcn.180014d60
nop
lea rdx, str.return__1._type:
lea rcx, [rsp + 0x40]
call fcn.180022d00
mov rcx, rax
mov edx, dword [rbx + 8]
call fcn.180013bf0
lea rdx, str.CFXReportBase::Active
lea rcx, [rbp + 0x30]
call fcn.180012480
nop
lea rdx, str.FXReportBase.cpp
lea rcx, [rbp + 0x58]
call fcn.180012480
nop
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.180014e40
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x8b
lea r8, [rbp + 0x58]
mov edx, 3
call fcn.180030340
nop
lea rcx, [rbp + 0x80]
call fcn.1800a20a0
nop
lea rcx, [rbp + 0x58]
call fcn.180001850
nop
lea rcx, [rbp + 0x30]
call fcn.180001850
nop
lea rcx, [rbp - 0x38]
call fcn.180014de0
lea rcx, [rbp - 0x38]
call fcn.180013e40
or eax, 0xffffffff
jmp 0x180043606
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x180043630]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0x40]
call fcn.180014d60
nop
lea rdx, str.return_1._type:
lea rcx, [rsp + 0x40]
call fcn.180022d00
mov rcx, rax
mov edx, dword [rbx + 8]
call fcn.180013bf0
lea rdx, str.CFXReportBase::Active
lea rcx, [rbp + 0x58]
call fcn.180012480
nop
lea rdx, str.FXReportBase.cpp
lea rcx, [rbp + 0x30]
call fcn.180012480
nop
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.180014e40
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, SysAllocStringByteLen
lea r8, [rbp + 0x30]
mov edx, 3
call fcn.180030340
nop
lea rcx, [rbp + 0x80]
call fcn.1800a20a0
nop
lea rcx, [rbp + 0x30]
call fcn.180001850
nop
lea rcx, [rbp + 0x58]
call fcn.180001850
nop
lea rcx, [rbp - 0x38]
call fcn.180014de0
lea rcx, [rbp - 0x38]
call fcn.180013e40
mov eax, 1
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1800bdf20
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rbp
ret
Function at 0x180059010
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x180059084
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800590a6
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800590a6
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x1800590a6
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x1800590ee
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180059010
cmp byte [0x1801daba4], 0
jne 0x180059139
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180059129
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x1801daba4], 1
mov qword [0x1801daba8], rax
jmp 0x180059140
mov rax, qword [0x1801daba8]
mov byte [0x1801daba4], 1
jmp 0x180059140
mov rax, qword [0x1801daba8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x18005915f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
Function at 0x1800590c0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x180059084
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800590a6
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800590a6
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x1800590a6
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x1800590ee
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180059010
cmp byte [0x1801daba4], 0
jne 0x180059139
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180059129
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x1801daba4], 1
mov qword [0x1801daba8], rax
jmp 0x180059140
mov rax, qword [0x1801daba8]
mov byte [0x1801daba4], 1
jmp 0x180059140
mov rax, qword [0x1801daba8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x18005915f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]

Function at 0x1800592b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
jne 0x1800592e3
lea eax, [r8 + 0xd]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
xor edi, edi
mov rbx, r8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea rbx, [rbx + rax*2]
lea edi, [rdi + rax*2]
cmp eax, 1
jne 0x1800592f2
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x180059350
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1801c2938]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov r8, rdx
mov rdx, qword [rcx]
mov rdi, rcx
lea rcx, [rsp + 0x48]
or r9d, 0x2001f
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
call fcn.180037250
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x18005946c
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180059441
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180059350
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x18005946c
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1800593f0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180059456
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x50], ebp
call fcn.1800590c0
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x180059477
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1800bdf20
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x180059970
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x4b0], rbx
mov rax, qword [0x1801c2938]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rsi, r9
mov rbx, r8
mov rax, rdx
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x70], r12
xor edx, edx
lea r8d, [r12 + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1800599e8
call fcn.180058f50
mov ebx, eax
jmp 0x180059b08
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x180059a09
call fcn.180058f50
jmp 0x180059afc
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x180059a2c
call fcn.180058f50
jmp 0x180059afc
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x180059a4e
mov ebx, 0x8007000e
jmp 0x180059afe
mov ecx, eax
test eax, eax
je 0x180059a86
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x180059a7c
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x180059a86
lea rcx, [rsp + 0x70]
call fcn.180061310
jmp 0x180059a90
mov ecx, 0x80070216
call fcn.18003d350
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x180059aa3
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x180059ab4
mov ebx, 0x8007000e
jmp 0x180059afe
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x180059ad9
call fcn.180058f50
jmp 0x180059afc
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r12w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.18005a8f0
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x180059b1f
lea rcx, [rsp + 0x70]
call fcn.180060870
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1800bdf20
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret
Function at 0x18005f5f0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x50
xor ebx, ebx
test rcx, rcx
je 0x18005f606
add rcx, 0xfffffffffffffe40
jmp 0x18005f609
mov rcx, rbx
mov rax, qword [rdx]
mov rcx, qword [rcx + 0x20]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x20], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rdx + 0x18]
mov qword [rsp + 0x38], rax
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x40], rax
mov rax, qword [rdx + 0x28]
mov qword [rsp + 0x48], rax
test rcx, rcx
jne 0x18005f65b
mov rcx, rbx
mov qword [rsp + 0x60], rbx
mov edx, 0x80004005
jmp 0x18005f673
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
lea rdx, [0x180156108]
call qword [rax]
mov rcx, qword [rsp + 0x60]
mov edx, eax
test edx, edx
js 0x18005f6e5
test rcx, rcx
je 0x18005f6de
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x68], rdi
call qword [sym.imp.USER32.dll_GetKeyState]
mov edx, 1
mov edi, ebx
test ax, ax
lea ecx, [rdx + 0x10]
cmovs edi, edx
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x18005f6aa
add edi, 2
mov ecx, SafeArrayGetLBound
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x18005f6bd
add edi, 4
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x20]
mov r8d, edi
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov edx, eax
jmp 0x18005f6e3
mov edx, 1
test edx, edx
setne bl
test rcx, rcx
je 0x18005f6f3
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, ebx
add rsp, 0x50
pop rbx
ret

Function at 0x18008d630
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x1a0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x18008d734
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [0x1801dac90]
test cl, 1
jne 0x18008d693
or ecx, 1
mov dword [0x1801dac90], ecx
lea rax, vtable.system_error_category.0
mov qword [0x1801dac60], rax
lea rcx, [0x180140700]
call fcn.1800be7d0
mov dword [rsp + 0x28], edi
lea rsi, [0x1801dac60]
test edi, edi
je 0x18008d734
lea rax, [0x1801586c8]
mov qword [rsp + 0x1b0], rax
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x40]
call fcn.1800be00c
lea r11, vtable.boost::system::system_error.0
mov qword [rsp + 0x40], r11
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x80], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x78], 0
mov byte [rsp + 0x68], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.18008e050
nop
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.18008e0a0
lea rdx, [0x1801bf878]
lea rcx, [rsp + 0x90]
call fcn.1800c3054
nop
mov eax, ebx
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18009d280
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
push r12
sub rsp, 0xa0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1801c2938]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rsi, [0x1801da1f0]
mov qword [rsp + 0x28], rsi
xor dil, dil
mov qword [rsp + 0x20], 0
mov byte [rsp + 0x40], dil
mov ebx, 0xc15730e2
mov r12d, 0x7f0725e3
nop dword [rax + rax]
mov eax, dword [rsi]
cmp eax, ebx
je 0x18009d402
xor eax, eax
lock cmpxchg dword [rsi], r12d
jne 0x18009d3a5
mov rax, qword [rsp + 0x20]
test rax, rax
jne 0x18009d32d
cmp byte [rsp + 0x40], al
jne 0x18009d311
lea rcx, [rsp + 0x40]
call fcn.18009cdd0
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventA]
mov qword [rsp + 0x20], rax
test rax, rax
je 0x18009d336
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1801c6aa0], eax
test dil, dil
jne 0x18009d34b
lock inc dword [rsi + 4]
xchg dword [rsi], ebx
mov rbx, qword [rsp + 0x20]
test rbx, rbx
jne 0x18009d399
mov eax, dword [rsi + 4]
cmp eax, 1
jle 0x18009d392
cmp byte [rsp + 0x40], bl
jne 0x18009d36f
lea rcx, [rsp + 0x40]
call fcn.18009cdd0
lea r9, [rsp + 0x40]
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x18009d3a3
jmp 0x18009d399
mov rbx, qword [rsp + 0x20]
jmp 0x18009d3a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
jmp 0x18009d407
test dil, dil
jne 0x18009d3ef
lock inc dword [rsi + 4]
mov dil, 1
mov eax, dword [rsi]
cmp eax, ebx
je 0x18009d402
mov rcx, qword [rsp + 0x20]
test rcx, rcx
jne 0x18009d3f4
cmp byte [rsp + 0x40], cl
jne 0x18009d3d1
lea rcx, [rsp + 0x40]
call fcn.18009cdd0
lea r9, [rsp + 0x40]
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsp + 0x20], rax
jmp 0x18009d2e0
mov rcx, qword [rsp + 0x20]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x18009d2e0
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x18009d41b
cmp rbx, 0xffffffffffffffff
je 0x18009d41b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1800bdf20
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r12
ret
Function at 0x1800c6f13
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1801c2938]
jne 0x1800bdf3a
rol rcx, 0x10
test cx, 0xffff
jne 0x1800bdf36
repz ret
ror rcx, 0x10
jmp 0x1800c6e6c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1801d83c0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1801d84b8]
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 0x1800c6ef1
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, [0x1801d83c0]
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 0x1800c6f13
mov rax, qword [rsp + 0x88]
mov qword [0x1801d84b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1801d8458], rax
mov rax, qword [0x1801d84b8]
mov qword [0x1801d8330], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1801d8440], rax
mov dword [0x1801d8320], 0xc0000409
mov dword [0x1801d8324], 1
mov rax, qword [0x1801c2938]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1801c2940]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1801d83b8], eax
mov ecx, 1
call fcn.1800d4594
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180144978]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1801d83b8], 0
jne 0x1800c6f9a
mov ecx, 1
call fcn.1800d4594
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 0x1800ce640
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 [0x1801c2938]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1800c9c48
xor ebx, ebx
cmp qword [0x1801d9380], rbx
mov rdi, rax
jne 0x1800ce753
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1800ce82a
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800ce82a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1801d9380], 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 [0x1801d9388], 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 [0x1801d9390], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1801d93a0], rax
test rax, rax
je 0x1800ce74a
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 [0x1801d9398], rax
jmp 0x1800ce75a
mov rax, qword [0x1801d9398]
jmp 0x1800ce761
mov rax, qword [0x1801d9398]
mov r11, qword [0x1801d93a0]
cmp rax, rdi
je 0x1800ce7c8
cmp r11, rdi
je 0x1800ce7c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1801d93a0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1800ce7c8
test rax, rax
je 0x1800ce7c8
call rsi
test rax, rax
je 0x1800ce7c2
lea rcx, [rsp + 0x30]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1800ce7c2
test byte [rsp + 0x40], 1
jne 0x1800ce7c8
bts ebp, 0x15
jmp 0x1800ce808
mov rcx, qword [0x1801d9388]
cmp rcx, rdi
je 0x1800ce808
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800ce808
call rax
mov rbx, rax
test rax, rax
je 0x1800ce808
mov rcx, qword [0x1801d9390]
cmp rcx, rdi
je 0x1800ce808
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800ce808
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1801d9380]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1800ce82a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1800ce82c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800bdf20
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800df784
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x1801d9490]
test rcx, rcx
jne 0x1800df6db
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x1800df6d4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1800df706
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x1800df6d0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x1801d9490], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x1800df779
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800df729
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], SafeArrayAllocDescriptorEx
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x1801d9490]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x1800df756
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x1800df779
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x1801d9490]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x1800df75d
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x1800df660

Function at 0x1800e03d0
Capabilities:
Enumerate process modules

Disassembly:
push rdi
sub rsp, 0x280
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x298], rbx
mov rax, qword [0x1801c2938]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x20]
lea r8d, [rdi + 8]
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1800e0496
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.18001c940
nop
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.180111210
nop
cmp qword [rsp + 0x50], 8
jb 0x1800e04b7
mov rcx, qword [rsp + 0x38]
call fcn.1800be828
jmp 0x1800e04b7
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbx + 0x10], rdi
mov byte [rbx], dil
xor r8d, r8d
lea rdx, [0x18014830a]
mov rcx, rbx
call fcn.180001ce0
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1800bdf20
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret