joyce8/EMBER2024-capa huggingface dataset:
Function at 0x141e37058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141e371df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141e37089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141e3706f
add dl, dl
jne 0x141e37096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141e370f6
xor eax, eax
add dl, dl
jne 0x141e370a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141e371ad
add dl, dl
jne 0x141e370b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e370c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e370d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e370dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141e370ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141e3707e
mov eax, 1
add dl, dl
jne 0x141e37106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141e37113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141e370fb
sub eax, ebx
mov ebx, 1
jne 0x141e3714c
mov ecx, 1
add dl, dl
jne 0x141e3712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141e3713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141e37123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141e3707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141e37168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141e37175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141e3715d
cmp eax, 0x7d00
jae 0x141e3719b
cmp eax, 0x500
jb 0x141e37196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141e3707e
cmp eax, 0x7f
ja 0x141e3719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141e3707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141e371d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141e3707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000108c
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
cpuid
mov eax, 1
cpuid
movabs r9, 0xb2d05e00
cpuid
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
fldpi
frndint
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rax, r9
jb 0x1400010af
push rbp
mov rbp, rsp
sub rsp, 8
mov r10, 0xa
mov rcx, 0x12345678
dec rcx
xor r9, r9
mov rax, rcx
jne 0x1400010da
xor rax, rax
mov rax, rbx
add rax, rdx
nop
nop
nop
dec r10
xor r11, r11
jne 0x1400010d3
xor rax, rax
mov rax, 0xa
dec rax
nop
nop
add rsp, 8
pop rbp
ret

Function at 0x140002b6b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0xa0
mov rcx, 0
mov rdx, 0xac86
mov r8, 0x1000
lea r9, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140002bbc
mov rbx, rax
call 0x140002b9f
nop
pop rsi
mov r9, rax
add rsi, 0x40b62
mov rcx, 0xac86
mov r8, rcx
lea rax, [rsi]
mov dl, byte [rax]
mov byte [rbx], dl
add rsi, 1
add rbx, 1
add rax, 1
dec r8
jne 0x140002bb8
call r9
mov ecx, 1
ret

Function at 0x14000323c
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 0x14000329f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400032b3
lea rdx, str.RegDeleteKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400032b3
mov rcx, qword [rbx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x1400032b8
cmp dword [rcx + 8], 0
je 0x1400032b3
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x1400032b8
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140003350
Capabilities:
Delete registry key

Disassembly:
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 0x140003376
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14000323c
jmp 0x1400033dd
cmp byte [0x140042df8], 0
jne 0x1400033ba
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400033aa
lea rdx, [0x140031af8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042df0], rax
jmp 0x1400033b1
mov rax, qword [0x140042df0]
mov byte [0x140042df8], 1
jmp 0x1400033c1
mov rax, qword [0x140042df0]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x1400033d7
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x1400033dd
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140003570
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x30
xor edi, edi
mov rbx, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
jne 0x14000359e
lea eax, [rdi + 0xd]
jmp 0x1400035d5
mov rsi, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov ecx, eax
add edi, eax
add rsi, rcx
cmp eax, 1
jne 0x1400035a1
mov rcx, qword [r12]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret

Function at 0x140004388
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x68], rax
test rax, rax
je 0x1400043e6
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
lea r8, [0x140003c08]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call fcn.14001c9a8
test rax, rax
setne bl
test bl, bl
je 0x1400043e4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
add rsp, 0x30
pop rbx
ret
Function at 0x140009f58
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140041480]
xor rax, rsp
mov qword [rbp + 0x50], rax
xor r9d, r9d
lea rcx, [0x140042d30]
lea edx, [r9 + 0x64]
lea r8d, [r9 + 1]
call fcn.140009618
xor ebx, ebx
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareInter_TelCS5000SessionManager
lea r9d, [rbx + 1]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov byte [rsp + 0x40], bl
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000a018
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x34], 0x104
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx r11d, byte [rsp + 0x40]
cmp dword [rsp + 0x30], 1
cmovne r11d, ebx
mov byte [rsp + 0x40], r11b
jmp 0x14000a01d
mov r11b, byte [rsp + 0x40]
test r11b, r11b
jne 0x14000a056
lea rdx, str.SessMngr.exe
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
movzx ecx, byte [rsp + 0x40]
cmp eax, 0xffffffff
cmove ecx, ebx
mov byte [rsp + 0x40], cl
test cl, cl
jne 0x14000a056
xor al, al
jmp 0x14000a087
lea rax, [0x14003226d]
lea r8, [rsp + 0x40]
lea rdx, str.Open
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
setge al
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14001b940
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rbp
ret

Function at 0x140010458
Capabilities:
Check os version

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x140041480]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x90
mov dword [rsp + 0x20], 0x94
call fcn.14001b7c0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
xor ecx, ecx
test eax, eax
je 0x1400104a8
cmp dword [rsp + 0x24], 6
jb 0x1400104a8
mov ecx, 1
mov al, cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14001b940
add rsp, 0xd8
ret
Function at 0x140012444
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x270]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [rbx + 0x68]
lea rcx, [rbx + 0x18]
mov qword [0x140042e80], rax
and qword [rbx + 0x68], 0
and qword [rbx + 0x270], 0
mov edx, 0xe001
mov r9d, 0xe801
mov r8d, 0x56000100
call fcn.1400118e8
cmp byte [rbx + 0x319], 0
mov r11, qword [rbx + 0x68]
mov qword [rbx + 0x270], r11
jne 0x1400124b4
lea rcx, [rbx + 0x18]
mov edx, 1
call fcn.14001196c
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400124c4
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x270]
call qword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x1400124e6
and qword [rbx + 0x270], 0
mov rax, qword [0x140042e80]
mov qword [rbx + 0x68], rax
mov al, byte [rbx + 0x319]
mov rcx, qword [0x140042e80]
neg al
mov qword [rbx + 0x270], rcx
sbb edx, edx
and edx, 4
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rbx + 0x319], 0
jne 0x140012529
lea rcx, [rbx + 0x18]
mov edx, 1
call fcn.14001196c
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14001388c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x140041480]
xor rax, rsp
mov qword [rbp + 0x47], rax
and qword [rbp - 9], 0
and dword [rbp + 7], 0
lea rax, [rbp + 7]
mov qword [r11 - 0x78], rax
lea rax, [rbp - 9]
mov sil, dl
mov qword [r11 - 0x80], rax
and qword [rsp + 0x30], 0
mov rbx, rcx
lea r9, str.class
lea rdx, str.SoftwareInter_TelCS5000AxxessExplorerWindow
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140013910
xor al, al
jmp 0x140013a70
mov al, byte [rbx + 0x319]
xor dil, dil
mov byte [rbp + 0x3b], al
mov al, byte [rbx + 0x318]
mov byte [rbp + 0x3c], al
mov eax, dword [rbx + 0x178]
mov dword [rbp + 0x3f], eax
test sil, sil
je 0x140013978
mov rcx, qword [rbx + 0x20]
lea rdx, [rbp + 0xf]
mov dword [rbp + 0xf], 0x2c
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov rcx, qword [rbp - 9]
lea rax, [rbp + 0xf]
lea rdx, str.Window_State
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 0x34
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x140013a63
mov rcx, qword [rbp - 9]
and dword [rbp + 0xf], 0
lea rax, [rbp + 3]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf]
lea rdx, str.Window_State
xor r9d, r9d
xor r8d, r8d
mov dword [rbp + 3], 0x34
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140013a4d
mov eax, dword [rbp + 0xf]
test eax, eax
je 0x140013a4d
cmp eax, 0x2c
ja 0x140013a4d
mov rcx, qword [rbx + 0x20]
lea rdx, [rbp + 0xf]
call qword [sym.imp.USER32.dll_SetWindowPlacement]
mov r11b, byte [rbx + 0x319]
cmp byte [rbp + 0x3b], r11b
je 0x1400139fd
mov r9, qword [rbx + 0x20]
lea rax, [rbp - 1]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400125a4
mov al, byte [rbx + 0x318]
cmp byte [rbp + 0x3c], al
je 0x140013a22
mov r9, qword [rbx + 0x20]
lea rax, [rbp - 1]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140012534
mov edx, dword [rbp + 0x3f]
lea rcx, [rbx + 0x158]
mov r8b, 1
call fcn.140012aac
mov eax, dword [rbp + 0x17]
mov dil, 1
test eax, eax
je 0x140013a4d
cmp eax, 2
je 0x140013a4d
cmp eax, 5
jbe 0x140013a5c
cmp eax, 7
ja 0x140013a5c
mov rcx, qword [rbx + 0x20]
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [rbx + 0x1c0], 1
mov rcx, qword [rbp - 9]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14001b940
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14001a24c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x1400430f0]
test rcx, rcx
jne 0x14001a1a3
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x14001a19c
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 0x14001a1ce
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x14001a198
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 [0x1400430f0], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x14001a241
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 0x14001a1f1
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 [0x1400430f0]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x14001a21e
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x14001a241
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x1400430f0]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x14001a225
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x14001a128

Function at 0x14002218c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140021ffc
Function at 0x14002287b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140041480]
jne 0x14001b95a
rol rcx, 0x10
test cx, 0xffff
jne 0x14001b956
repz ret
ror rcx, 0x10
jmp 0x1400227d4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140043cf0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140043de8]
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 0x140022859
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, [0x140043cf0]
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 0x14002287b
mov rax, qword [rsp + 0x88]
mov qword [0x140043de8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140043d88], rax
mov rax, qword [0x140043de8]
mov qword [0x140043c60], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140043d70], rax
mov dword [0x140043c50], 0xc0000409
mov dword [0x140043c54], 1
mov rax, qword [0x140041480]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140041488]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140043ce8], eax
mov ecx, 1
call fcn.14002b000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400353d8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140043ce8], 0
jne 0x140022902
mov ecx, 1
call fcn.14002b000
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 0x14002acc4
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 [0x140041480]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140024264
xor ebx, ebx
cmp qword [0x140044568], rbx
mov rdi, rax
jne 0x14002add7
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14002aeae
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002aeae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x140036918]
mov rcx, rsi
mov qword [0x140044568], 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 [0x140044570], 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 [0x140044578], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140044588], rax
test rax, rax
je 0x14002adce
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 [0x140044580], rax
jmp 0x14002adde
mov rax, qword [0x140044580]
jmp 0x14002ade5
mov rax, qword [0x140044580]
mov r11, qword [0x140044588]
cmp rax, rdi
je 0x14002ae4c
cmp r11, rdi
je 0x14002ae4c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140044588]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14002ae4c
test rax, rax
je 0x14002ae4c
call rsi
test rax, rax
je 0x14002ae46
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 0x14002ae46
test byte [rsp + 0x40], 1
jne 0x14002ae4c
bts ebp, 0x15
jmp 0x14002ae8c
mov rcx, qword [0x140044570]
cmp rcx, rdi
je 0x14002ae8c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14002ae8c
call rax
mov rbx, rax
test rax, rax
je 0x14002ae8c
mov rcx, qword [0x140044578]
cmp rcx, rdi
je 0x14002ae8c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14002ae8c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140044568]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14002aeae
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14002aeb0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001b940
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x416440
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4165cb
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x013574b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x4164a5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4164b4
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4164d3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4164e3
cmp rbx, 0x1000
jae 0x4164ab
jmp 0x41654d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4164f5
xor edx, edx
jmp 0x416544
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x013574b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x4164d9
jmp 0x4164c8
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x013574b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004c1833]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004c1d1c]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004c40ab]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS
Function at 0x416600
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416826
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x013574b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x416673
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x416682
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4166a5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4166b5
cmp rbx, 0x1000
jae 0x416679
nop
jmp 0x416738
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x4166cd
xor esi, esi
jmp 0x41672a
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call sym.runtime.stdcall4.abi0
xorps xmm15, xmm15
mov r14, qword [0x013574b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x4166ab
jmp 0x416696
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x013574b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4167c0
nop dword [rax + rax]
call sym.runtime.printlock
lea rax, [0x004c1d35]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call sym.runtime.printuint
lea rax, [0x004c1d1c]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
call sym.runtime.printuint
nop
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004be2af]
mov ebx, 0xd
call sym.runtime.throw
nop dword [rax + rax]
cmp eax, 0x5af
je 0x416760
call sym.runtime.printlock
lea rax, [0x004c1d35]
mov ebx, 0x19
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004c1d1c]
mov ebx, 0x19
call sym.runtime.printstring
mov eax, dword [rsp + 0x34]
nop dword [rax]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004c38c5]
mov ebx, 0x1f
nop dword [rax + rax]
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp sym.runtime.sysUsedOS