joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140106a24
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x90
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, rcx
xor edx, edx
lea rcx, [rax - 0x30]
call fcn.14002a7cc
nop
mov edi, dword [0x140259790]
mov esi, dword [0x140259794]
lea rcx, [rsp + 0x48]
call fcn.140029c44
nop
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14002a640
and qword [rsp + 0x30], 0
lea r14, vtable.CBitmap.0
mov qword [rsp + 0x28], r14
mov r8d, esi
mov edx, edi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14002a9dc
test eax, eax
jne 0x140106af4
or r8d, 0xffffffff
xor edx, edx
mov ecx, 0x3e8a
call fcn.14000d9f4
nop
mov qword [rsp + 0x28], r14
lea rcx, [rsp + 0x28]
call fcn.140010c58
nop
lea rcx, [rsp + 0x48]
call fcn.14002a700
nop
lea rcx, [rsp + 0x68]
call fcn.14002a830
xor eax, eax
jmp 0x140106c69
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.14002aab0
mov rbx, rax
and dword [rsp + 0x38], 0
and dword [rsp + 0x3c], 0
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x44], esi
mov r8, qword [0x1402596a0]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_FillRect]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
mov rcx, r12
call fcn.1401066e8
test rbx, rbx
jne 0x140106b4a
xor edx, edx
jmp 0x140106b4e
mov rdx, qword [rbx + 8]
mov rcx, qword [rsp + 0x50]
call fcn.14002aab0
call fcn.1400171f8
mov rcx, rax
test rax, rax
je 0x140106b70
mov rax, qword [rax]
call qword [rax + 0xe8]
jmp 0x140106b72
xor eax, eax
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140106bbd
or r8d, 0xffffffff
xor edx, edx
mov ecx, 0x3e8a
call fcn.14000d9f4
nop
mov qword [rsp + 0x28], r14
lea rcx, [rsp + 0x28]
call fcn.140010c58
nop
lea rcx, [rsp + 0x48]
call fcn.14002a700
nop
lea rcx, [rsp + 0x68]
call fcn.14002a830
xor eax, eax
jmp 0x140106c69
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x140106c07
or r8d, 0xffffffff
xor edx, edx
mov ecx, 0x3e8a
call fcn.14000d9f4
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov qword [rsp + 0x28], r14
lea rcx, [rsp + 0x28]
call fcn.140010c58
nop
lea rcx, [rsp + 0x48]
call fcn.14002a700
nop
lea rcx, [rsp + 0x68]
call fcn.14002a830
xor eax, eax
jmp 0x140106c69
lea rcx, [rsp + 0x28]
call fcn.14002aa18
mov rdx, rax
mov ecx, 2
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x140106c34
or r8d, 0xffffffff
xor edx, edx
mov ecx, 0x3e8a
call fcn.14000d9f4
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov qword [rsp + 0x28], r14
lea rcx, [rsp + 0x28]
call fcn.140010c58
nop
lea rcx, [rsp + 0x48]
call fcn.14002a700
nop
lea rcx, [rsp + 0x68]
call fcn.14002a830
mov eax, 1
jmp 0x140106c69
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1401157c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x30
xor ebx, ebx
mov r13, rdx
mov rdi, rcx
mov qword [rax + 8], rbx
mov rax, qword [rcx]
call qword [rax + 0x320]
mov edx, dword [0x14024d9b0]
lea r8, [rsp + 0x50]
test al, 0x80
lea eax, [rbx - 1]
mov rcx, rdi
cmovne edx, eax
mov rax, qword [rdi]
call qword [rax + 0x520]
mov rdx, qword [rsp + 0x50]
lea rcx, str.CDockablePane
mov r12d, eax
call fcn.14005a7e4
mov rsi, rax
cmp rax, rdi
je 0x1401158c5
lea ecx, [rbx + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp ax, bx
jl 0x1401158c5
cmp rsi, rbx
je 0x140115866
mov r8, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [r8 + 0x400]
lea rcx, str.CMultiPaneFrameWnd
mov rdx, rax
call fcn.14005a7e4
mov rbp, rax
jmp 0x140115869
mov rbp, rbx
cmp r12d, 2
jne 0x1401158e0
cmp rbp, rbx
je 0x1401158a9
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x330]
test al, 0x40
je 0x1401158c5
cmp qword [rsp + 0x50], rbx
je 0x1401158a9
mov rax, qword [rbp]
mov rdx, rdi
mov rcx, rbp
call qword [rax + 0x448]
cmp eax, ebx
mov rax, rdi
sete bl
mov dword [r13], ebx
jmp 0x1401158c7
mov rax, qword [rdi]
mov r9d, 5
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x3a0]
mov dword [r13], eax
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
cmp r12d, 3
jne 0x1401158c5
cmp rsi, rbx
je 0x1401158c5
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x2b8]
cmp eax, ebx
je 0x1401158c5
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x2c8]
cmp eax, ebx
je 0x1401158c5
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x430]
mov r11, qword [rdi]
lea r9d, [r12 - 2]
lea r8d, [r12 + 2]
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [r11 + 0x650]
cmp rax, rbx
setne bl
mov dword [r13], ebx
jmp 0x1401158c7
Function at 0x14011f030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov r12, qword [rsp + 0xa0]
xor ebx, ebx
mov r14d, r9d
mov dword [r12], ebx
mov rsi, qword [rcx + 0x10]
mov ebp, r8d
mov r13, rcx
cmp rsi, rbx
je 0x14011f1e6
mov rdx, qword [rsi + 0x10]
mov rsi, qword [rsi]
lea rcx, str.CDockablePane
call fcn.14005a7e4
lea rdx, [rsp + 0x20]
mov rcx, qword [rax + 0x40]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r11, qword [rdi]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [r11 + 0x610]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_PtInRect]
cmp eax, ebx
jne 0x14011f1d9
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_PtInRect]
cmp eax, ebx
jne 0x14011f1d9
mov rax, qword [rdi]
mov rdx, qword [rsp + 0x88]
mov r8d, 1
mov rcx, rdi
call qword [rax + 0x620]
cmp eax, 2
je 0x14011f1c9
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x2f8]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x20]
add dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x34]
sub eax, dword [rsp + 0x3c]
add dword [rsp + 0x2c], eax
call qword [sym.imp.USER32.dll_PtInRect]
cmp eax, ebx
je 0x14011f066
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14001bcf4
lea rcx, vtable.CGlobalUtils.0
mov rdx, rax
call fcn.1400cd444
cmp rax, rbx
je 0x14011f177
mov rax, qword [rax + 0x308]
cmp rax, rbx
je 0x14011f177
cmp dword [rax + 0xc], ebx
je 0x14011f177
cmp dword [rax + 8], ebx
jne 0x14011f1a9
mov edx, ebp
lea rcx, [rsp + 0x20]
neg edx
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_PtInRect]
cmp eax, ebx
je 0x14011f1e1
cmp ebp, ebx
je 0x14011f1e1
jmp 0x14011f066
mov ecx, dword [rax + 0x178]
lea eax, [rcx - 4]
cmp eax, 4
ja 0x14011f1e1
mov rax, qword [rsp + 0xa8]
cmp ecx, 8
sete bl
mov dword [rax], ebx
jmp 0x14011f1e1
mov rax, qword [rsp + 0xa8]
mov dword [rax], 1
jmp 0x14011f1e1
mov dword [r12], 1
mov rax, rdi
jmp 0x14011f24c
cmp r14d, ebx
jne 0x14011f24a
mov rdi, qword [r13 + 0x10]
jmp 0x14011f245
mov rdx, rdi
cmp rdi, rbx
je 0x14011f26a
mov rdx, qword [rdx + 0x10]
mov rdi, qword [rdi]
lea rcx, str.CDockablePane
call fcn.14005a7e4
lea rdx, [rsp + 0x30]
mov rcx, qword [rax + 0x40]
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x30]
mov r8d, ebp
mov edx, ebp
call qword [sym.imp.USER32.dll_InflateRect]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_PtInRect]
cmp eax, ebx
jne 0x14011f265
cmp rdi, rbx
jne 0x14011f1f1
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov rax, rsi
jmp 0x14011f24c
call fcn.14001505c
int3
Function at 0x14012aac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x14012aae9
mov rdi, qword [rdx + 0x10]
jmp 0x14012ab3a
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rbx + 8]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x14012ab0a
call fcn.140029bfc
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14012ab24
call fcn.140029bfc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14012ab3a
call fcn.140029bfc
call fcn.14005b520
cmp qword [rax + 0x68], 0
je 0x14012ab54
mov rdx, rdi
mov rcx, rbp
call fcn.140129148
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14012a8dc
mov rcx, qword [rbp + 0xb8]
mov rsi, rax
test rcx, rcx
je 0x14012ab7b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xb8], 0
test rsi, rsi
je 0x14012ab8a
mov rdi, rsi
mov qword [rbp + 0xb8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14012b588
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, [rcx + 0x110]
mov rbx, rcx
mov rcx, rdi
mov edx, 0x40d9
call fcn.1401634a0
lea r8, [rbx + 0x1b8]
mov edx, 0x40da
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x268]
mov edx, 0x40db
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401636f8

Function at 0x140136728
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, [rcx + 0x110]
mov rbx, rcx
mov rcx, rdi
mov edx, 0x4090
call fcn.1401634a0
lea r8, [rbx + 0x1b8]
mov edx, 0x4104
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x288]
mov edx, 0x4102
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x330]
mov edx, 0x408e
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x3d8]
mov edx, 0x4106
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x480]
mov edx, 0x4103
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x528]
mov edx, 0x4101
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x5d0]
mov edx, 0x40d9
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x678]
mov edx, 0x4105
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x720]
mov edx, 0x4082
mov rcx, rdi
call fcn.1401636f8
lea r8, [rbx + 0x728]
mov edx, 0x408f
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401636f8
Function at 0x140138414
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, [rcx + 0x110]
mov rbx, rcx
mov rcx, rdi
mov edx, 0x4265
call fcn.1401634a0
lea r8, [rbx + 0xb88]
mov edx, 0x425d
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x1600]
mov edx, 0x421c
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x16a8]
mov edx, 0x421d
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x1750]
mov edx, 0x421a
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x17f8]
mov edx, 0x421b
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x18a0]
mov edx, 0x4219
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x1b68]
mov edx, 0x421a
mov rcx, rdi
call fcn.1401636f8
lea r8, [rbx + 0x1b70]
mov edx, 0x421c
mov rcx, rdi
call fcn.1401636f8
lea r8, [rbx + 0x1b78]
mov edx, 0x421d
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401636f8

Function at 0x140139118
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, [rcx + 0x128]
mov rbx, rcx
mov rcx, rdi
mov edx, 0x40f7
call fcn.1401634a0
lea r8, [rbx + 0x1d0]
mov edx, 0x40fa
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x278]
mov edx, 0x4082
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x320]
mov edx, 0x4082
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401636f8

Function at 0x14013b48c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, 0x11
mov ebx, edx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov si, ax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r11w, ax
and r11d, 0x8000
and esi, 0x8000
je 0x14013b4db
cmp ebx, 0x43
je 0x14013b4ec
cmp ebx, 0x2d
je 0x14013b4ec
cmp ebx, 0x56
je 0x14013b4e5
test r11d, r11d
je 0x14013b508
cmp ebx, 0x2d
jne 0x14013b508
mov edx, 0x302
jmp 0x14013b4f1
mov edx, 0x301
mov rcx, qword [rdi + 0x40]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x14013b524
test esi, esi
je 0x14013b511
cmp ebx, 0x58
je 0x14013b51b
test r11d, r11d
je 0x14013b522
cmp ebx, 0x2e
jne 0x14013b522
mov edx, 0x300
jmp 0x14013b4f1
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140171e50
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, [rcx + 0xe8]
mov rbx, rcx
mov rcx, rdi
mov edx, 1
call fcn.1401634a0
lea r8, [rbx + 0x190]
mov edx, 0x4084
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401636f8

Function at 0x1401760e8
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov bl, r8b
movzx ebp, dx
mov rdi, rcx
call qword [rax + 0x2a0]
mov ecx, ebp
mov edx, 2
mov esi, eax
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
test bl, bl
jne 0x14017613f
test esi, esi
js 0x14017613f
cmp ax, 0x20
je 0x140176131
cmp bp, 0x71
jne 0x14017613f
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax + 0x2d0]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140185d9c
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.14018f164
nop
cmp dword [0x14025db98], 1
je 0x140185d48
mov dword [0x14025db94], 1
mov byte [0x14025db90], r12b
test ebx, ebx
jne 0x140185d34
mov rcx, qword [0x140260030]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140185d21
mov rcx, qword [0x140260028]
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 0x140185cc0
call fcn.14018bf84
cmp qword [rdi], rax
jne 0x140185cc0
jmp 0x140185ca6
cmp rdi, rsi
jb 0x140185d21
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14018bf84
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140260030]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140260028]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140185cff
cmp r13, rax
je 0x140185d1f
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 0x140185ca6
lea rdx, [0x1401bca78]
lea rcx, [0x1401bca60]
call fcn.140185af0
lea rdx, [0x1401bca88]
lea rcx, [0x1401bca80]
call fcn.140185af0
nop
test r12d, r12d
je 0x140185d57
mov ecx, 8
call fcn.14018f064
test r12d, r12d
jne 0x140185d82
mov dword [0x14025db98], 1
lea ecx, [r12 + 8]
call fcn.14018f064
mov ecx, r15d
call fcn.140185a84
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 0x140185c10

Function at 0x140185da8
Capabilities:
Terminate process

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

Disassembly:
cmp rcx, qword [0x140252530]
jne 0x140184e7a
rol rcx, 0x10
test cx, 0xffff
jne 0x140184e76
repz ret
ror rcx, 0x10
jmp 0x14018c430
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14025e1a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14025e298]
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 0x14018c4b5
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, [0x14025e1a0]
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 0x14018c4d7
mov rax, qword [rsp + 0x88]
mov qword [0x14025e298], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14025e238], rax
mov rax, qword [0x14025e298]
mov qword [0x14025e110], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14025e220], rax
mov dword [0x14025e100], 0xc0000409
mov dword [0x14025e104], 1
mov rax, qword [0x140252530]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140252538]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14025e198], eax
mov ecx, 1
call fcn.14018f634
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14020cd70]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14025e198], 0
jne 0x14018c55e
mov ecx, 1
call fcn.14018f634
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 0x140197334
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.14018bf84
xor ebx, ebx
mov rdi, rax
cmp qword [0x14025ea28], rbx
jne 0x14019743a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14019750f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14019750f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14020cfa0]
mov rcx, rsi
mov qword [0x14025ea28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14020cf88]
mov rcx, rsi
mov qword [0x14025ea30], 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 [0x14025ea38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14025ea48], rax
test rax, rax
je 0x140197431
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14025ea40], rax
jmp 0x140197441
mov rax, qword [0x14025ea40]
jmp 0x140197448
mov rax, qword [0x14025ea40]
mov r11, qword [0x14025ea48]
cmp rax, rdi
je 0x1401974b0
cmp r11, rdi
je 0x1401974b0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14025ea48]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1401974b0
test rax, rax
je 0x1401974b0
call rsi
test rax, rax
je 0x1401974aa
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 0x1401974aa
test byte [rsp + 0x38], 1
jne 0x1401974b0
bts ebp, 0x15
jmp 0x1401974ee
mov rcx, qword [0x14025ea30]
cmp rcx, rdi
je 0x1401974ee
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401974ee
call rax
mov rbx, rax
test rax, rax
je 0x1401974ee
mov rcx, qword [0x14025ea38]
cmp rcx, rdi
je 0x1401974ee
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1401974ee
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14025ea28]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14019750f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140197511
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
Function at 0x140001230
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea r14d, [rbp + 4]
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov r15d, 0x20
mov eax, dword [r15 + rsi]
mov r12d, 0x30
test al, 1
jne 0x1400012c9
or eax, 1
mov dword [r15 + rsi], eax
mov ebx, r12d
add rbx, rsi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
lea ecx, [rbp + 1]
lea r8, [rbx + 8]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [r8], edx
inc rcx
lea r8, [r8 + 4]
cmp rcx, 0x270
jb 0x1400012a1
mov dword [rbx], 0x270
mov eax, dword [r15 + rsi]
mov ecx, 0x10
test al, 2
jne 0x1400012ea
or eax, 2
mov dword [r15 + rsi], eax
mov qword [rsi + rcx], rbp
mov qword [rsi + rcx + 8], 0xf
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
lea r15, [rsi + rcx]
mov ebx, r12d
add rbx, rsi
lea r12, str.0123456789ABCDEF
nop dword [rax + rax]
dec r14
mov qword [rsp + 0x28], rbx
mov rbp, qword [r15]
mov rdx, qword [r15 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x140001355
mov rcx, rbx
call fcn.14000f790
mov esi, eax
shl rsi, 0x20
mov rcx, rbx
call fcn.14000f790
mov eax, eax
or rsi, rax
jmp 0x140001365
inc rdx
lea rcx, [rsp + 0x28]
call fcn.14000f5e0
mov rsi, rax
lea rax, [rsi + rbp]
movzx r9d, byte [rax + r12]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14000139a
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14000138f
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400013a2
mov rcx, rdi
call fcn.14000ef80
test r14, r14
jne 0x140001320
mov rax, rdi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret