joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180025cc0
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x18010db20]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
lea rcx, [rsp + 0x22]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], si
call fcn.180037390
lea edx, [rsi + 0x5c]
mov rcx, rdi
call fcn.1800379a0
mov rbx, rax
test rax, rax
je 0x180025d7e
nop word [rax + rax]
mov r9, rbx
lea rcx, [rsp + 0x20]
mov r8, rdi
sub r9, rdi
mov edx, 0x104
sar r9, 1
call fcn.180037dd0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180025d68
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180025d68
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180025da5
lea rcx, [rbx + 2]
mov edx, 0x5c
call fcn.1800379a0
mov rbx, rax
test rax, rax
jne 0x180025d20
mov eax, esi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180037360
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
bt eax, 0x1d
jae 0x180025dbf
test eax, eax
jle 0x180025d80
movzx eax, ax
or eax, 0xa0070000
jmp 0x180025d80
test eax, eax
jle 0x180025d80
movzx eax, ax
or eax, 0x80070000
jmp 0x180025d80
Function at 0x180028090
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x180132010], 0
mov rdi, rdx
mov rbx, rcx
jne 0x1800280eb
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800280db
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x180132010], 1
mov qword [0x180132008], rax
jmp 0x1800280f2
mov rax, qword [0x180132008]
mov byte [0x180132010], 1
jmp 0x1800280f2
mov rax, qword [0x180132008]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x180028111
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 0x180028130
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x180028170
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 0x1800281a3
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 0x1800281b2
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 0x180028a90
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x18010db20]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov edi, dword [rcx + 8]
xor eax, eax
mov rsi, rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
or edi, 0x2001f
xor r8d, r8d
mov r9d, edi
mov rbp, rdx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x180028bdc
test rcx, rcx
je 0x180028b05
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
and edi, 0x300
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], edi
test ebx, ebx
jne 0x180028bdc
xor edi, edi
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180028bb1
nop word [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.180028a90
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x180028bdc
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180028b60
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180028bc6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rdi
mov rdx, rbp
mov rcx, rsi
mov dword [rsp + 0x50], edi
call fcn.180028090
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x180028be7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180037360
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002f0d0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x50
xor edi, edi
test rcx, rcx
je 0x18002f0e3
add rcx, 0xffffffffffffffe0
jmp 0x18002f0e6
mov rcx, rdi
mov rax, qword [rdx]
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
mov rax, qword [rdx + 0x10]
mov qword [r8 + 0x10], rax
mov rax, qword [rdx + 0x18]
mov qword [r8 + 0x18], rax
mov rax, qword [rdx + 0x20]
mov qword [r8 + 0x20], rax
mov rax, qword [rdx + 0x28]
mov qword [r8 + 0x28], rax
mov eax, dword [rsp + 0x28]
cmp eax, 0x100
jb 0x18002f186
cmp eax, 0x101
ja 0x18002f186
mov rax, qword [rsp + 0x30]
cmp rax, 0x10
je 0x18002f186
cmp rax, 0xa0
je 0x18002f186
cmp rax, 0xa1
je 0x18002f186
cmp rax, 0x14
je 0x18002f186
cmp rax, 0xa4
je 0x18002f186
cmp rax, 0xa5
je 0x18002f186
cmp rax, 0xa2
je 0x18002f186
cmp rax, 0xa3
je 0x18002f186
cmp rax, 0x5b
je 0x18002f186
cmp rax, 0x5c
je 0x18002f186
cmp rax, 9
je 0x18002f186
xor eax, eax
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rcx + 0xc0]
mov qword [rsp + 0x60], rdi
test rcx, rcx
jne 0x18002f1a6
mov rcx, rdi
mov edx, 0x80004005
mov qword [rsp + 0x60], rcx
jmp 0x18002f1be
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
lea rdx, [0x1800cea20]
call qword [rax]
mov rcx, qword [rsp + 0x60]
mov edx, eax
test edx, edx
js 0x18002f22e
test rcx, rcx
je 0x18002f229
mov ecx, 0x10
mov qword [rsp + 0x68], rbx
call qword [sym.imp.USER32.dll_GetKeyState]
mov edx, 1
mov ebx, edi
test ax, ax
lea ecx, [rdx + 0x10]
cmovs ebx, edx
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x18002f1f5
add ebx, 2
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x18002f208
add ebx, 4
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x20]
mov r8d, ebx
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov edx, eax
jmp 0x18002f22e
mov edx, 1
test edx, edx
setne dil
test rcx, rcx
je 0x18002f23f
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, edi
add rsp, 0x50
pop rdi
ret
Function at 0x180033a60
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 [0x18010db20]
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 0x180033ad8
call fcn.180027b50
mov ebx, eax
jmp 0x180033c1a
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x180033afb
call fcn.180027b50
mov ebx, eax
jmp 0x180033c10
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 0x180033b20
call fcn.180027b50
mov ebx, eax
jmp 0x180033c10
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 0x180033b59
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x180033b4f
lea rcx, [rsp + 0x70]
call fcn.180028990
nop
mov eax, 0x8007000e
jmp 0x180033c33
mov ecx, eax
test eax, eax
je 0x180033b96
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x180033b8c
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x180033b96
lea rcx, [rsp + 0x70]
call fcn.1800289a0
mov rax, qword [rsp + 0x70]
jmp 0x180033ba0
mov ecx, 0x80070057
call fcn.180025450
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x180033bb8
test rax, rax
jne 0x180033bc4
mov ebx, 0x8007000e
jmp 0x180033c10
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 0x180033beb
call fcn.180027b50
mov ebx, eax
jmp 0x180033c10
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.18002c150
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x180033c31
lea rcx, [rsp + 0x70]
call fcn.180028990
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.180037360
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret
Function at 0x180034500
Capabilities:
Delete file
Get file size

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x180132080]
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x1800346af
or rcx, 0xffffffffffffffff
lea rdi, [0x180132100]
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x1800346af
xor edi, edi
lea rcx, [0x180132100]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 4
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
test rax, rax
je 0x18003464b
cmp rax, 0xffffffffffffffff
je 0x18003464b
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x800
jbe 0x180034636
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x180132100]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov qword [rsp + 0x30], rdi
lea rcx, [0x180132100]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
test rax, rax
je 0x1800345f6
cmp rax, 0xffffffffffffffff
jne 0x180034636
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x18003460a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x180034612
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
bt edi, 0x1d
jae 0x180034627
test edi, edi
jle 0x180034689
movzx edi, di
or edi, 0xa0070000
jmp 0x180034689
test edi, edi
jle 0x180034689
movzx edi, di
or edi, 0x80070000
jmp 0x180034689
mov qword [rsi], rbx
mov rbx, qword [rsp + 0x50]
mov eax, edi
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x18003465f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x180034667
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
bt edi, 0x1d
jae 0x18003467c
test edi, edi
jle 0x180034689
movzx edi, di
or edi, 0xa0070000
jmp 0x180034689
test edi, edi
jle 0x180034689
movzx edi, di
or edi, 0x80070000
test rbx, rbx
je 0x18003469d
cmp rbx, 0xffffffffffffffff
je 0x18003469d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov eax, 0x80070057
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1800346c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x860
mov rax, qword [0x18010db20]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbx, rcx
xor esi, esi
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x7fe
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x50], si
call fcn.180037390
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x180132080]
mov dword [rsp + 0x3c], esi
repne scasw ax, word [rdi]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], esi
not rcx
cmp rcx, 1
je 0x180034866
or rcx, 0xffffffffffffffff
lea rdi, [0x180132100]
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x180034866
mov rax, qword [0x180132308]
test rax, rax
je 0x180034866
cmp rax, 0xffffffffffffffff
je 0x180034866
lea r9, [rsp + 0x888]
lea rcx, [rsp + 0x50]
mov r8, rbx
mov edx, 0x3fc
call fcn.18003929c
lea r8, [0x1800cf5e0]
lea rcx, [rsp + 0x50]
mov edx, 0x400
call fcn.180039054
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.180025100
test eax, eax
js 0x180034857
mov rcx, qword [0x180132308]
mov edx, 0x7d0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800347e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180034857
lea rcx, [rsp + 0x40]
call fcn.180034500
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x18003484a
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rdx, qword [rsp + 0x30]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
lea r9, [rsp + 0x3c]
repne scasb al, byte [rdi]
mov qword [rsp + 0x20], rsi
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp rbx, 0xffffffffffffffff
je 0x18003484a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x180132308]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180034866
call fcn.18003747c
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.180037360
add rsp, 0x860
pop rdi
pop rsi
pop rbx
ret
Function at 0x180036c88
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x1801323c8]
test rcx, rcx
jne 0x180036bdf
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x180036bd8
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 0x180036c0a
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x180036bd4
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 [0x1801323c8], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x180036c7d
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 0x180036c2d
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], 0x20
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x1801323c8]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x180036c5a
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x180036c7d
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x1801323c8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x180036c61
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x180036b64
Function at 0x18003a01c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.180046178
nop
cmp dword [0x180132520], 1
je 0x180039fc8
mov dword [0x18013251c], 1
mov byte [0x180132518], r12b
test ebx, ebx
jne 0x180039fb4
mov rcx, qword [0x180136d50]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180039fa1
mov rcx, qword [0x180136d48]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x180039f40
call fcn.18003d290
cmp qword [rdi], rax
jne 0x180039f40
jmp 0x180039f26
cmp rdi, rsi
jb 0x180039fa1
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.18003d290
mov qword [rdi], rax
call rbx
mov rcx, qword [0x180136d50]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x180136d48]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x180039f7f
cmp r13, rax
je 0x180039f9f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x180039f26
lea rdx, [0x1800cbba0]
lea rcx, [0x1800cbb88]
call fcn.180039d70
lea rdx, [0x1800cbbb0]
lea rcx, [0x1800cbba8]
call fcn.180039d70
nop
test r12d, r12d
je 0x180039fd7
mov ecx, 8
call fcn.180046078
test r12d, r12d
jne 0x18003a002
mov dword [0x180132520], 1
lea ecx, [r12 + 8]
call fcn.180046078
mov ecx, r15d
call fcn.180039d04
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x180039e90

Function at 0x18003a028
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x180039e90
Function at 0x18003b823
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18010db20]
jne 0x18003737a
rol rcx, 0x10
test cx, 0xffff
jne 0x180037376
repz ret
ror rcx, 0x10
jmp 0x18003b77c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1801325d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1801326c8]
mov qword [rsp + 0x58], r11
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 0x18003b801
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, [0x1801325d0]
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 0x18003b823
mov rax, qword [rsp + 0x88]
mov qword [0x1801326c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180132668], rax
mov rax, qword [0x1801326c8]
mov qword [0x180132540], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180132650], rax
mov dword [0x180132530], 0xc0000409
mov dword [0x180132534], 1
mov rax, qword [0x18010db20]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18010db28]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1801325c8], eax
mov ecx, 1
call fcn.180045c30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1800cfec8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1801325c8], 0
jne 0x18003b8aa
mov ecx, 1
call fcn.180045c30
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 0x18004b024
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.18003d290
xor ebx, ebx
mov rdi, rax
cmp qword [0x180133258], rbx
jne 0x18004b12a
lea rcx, [0x1800d25f0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x18004b1ff
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18004b1ff
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180133258], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180133260], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x180133268], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x180133278], rax
test rax, rax
je 0x18004b121
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x180133270], rax
jmp 0x18004b131
mov rax, qword [0x180133270]
jmp 0x18004b138
mov rax, qword [0x180133270]
mov r11, qword [0x180133278]
cmp rax, rdi
je 0x18004b1a0
cmp r11, rdi
je 0x18004b1a0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x180133278]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x18004b1a0
test rax, rax
je 0x18004b1a0
call rsi
test rax, rax
je 0x18004b19a
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18004b19a
test byte [rsp + 0x38], 1
jne 0x18004b1a0
bts ebp, 0x15
jmp 0x18004b1de
mov rcx, qword [0x180133260]
cmp rcx, rdi
je 0x18004b1de
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18004b1de
call rax
mov rbx, rax
test rax, rax
je 0x18004b1de
mov rcx, qword [0x180133268]
cmp rcx, rdi
je 0x18004b1de
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18004b1de
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180133258]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18004b1ff
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x18004b201
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret