joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004f270
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rdi, rcx
jmp 0x14004f2fc
mov rax, qword [0x1400bd8b8]
xor r9d, r9d
mov ecx, 0x100
cmp byte [rax + 0x3e], r9b
lea rax, [rsp + 0x260]
lea rdx, [rsp + 0x40]
cmovne r9d, ecx
xor r8d, r8d
mov rcx, rdi
or r9d, 0x20019
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004f359
mov rcx, qword [rsp + 0x260]
call fcn.14004f270
mov rcx, qword [rsp + 0x260]
mov bl, al
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x14004f359
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x14004f359
mov rcx, rdi
lea rax, [rsp + 0x268]
lea r9, [rsp + 0x258]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor edx, edx
mov dword [rsp + 0x258], 0xff
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x14004f282
mov al, 1
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
xor al, al
jmp 0x14004f348

Function at 0x140058e5c
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x50
mov rbx, rdx
xor edx, edx
lea rbp, [0x1400bd7d0]
lea r8d, [rdx + 0x68]
mov rcx, rbp
call fcn.1400761e0
xor edx, edx
lea rdi, [0x1400bd7b8]
lea r8d, [rdx + 0x18]
mov rcx, rdi
call fcn.1400761e0
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rbp
xor edi, edi
mov eax, 1
xor r9d, r9d
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x28], SafeArrayDestroyDescriptor
mov dword [0x1400bd7d0], 0x68
mov dword [0x1400bd80c], eax
mov word [0x1400bd810], ax
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, edi
je 0x140058ef8
mov rcx, qword [0x1400bd7b8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14005965c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov rbx, qword [rdx]
mov rbp, rcx
lea rcx, [rsp + 0x50]
mov esi, r8d
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r11d, dword [rsp + 0x50]
mov eax, dword [rsp + 0x54]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov dword [rdi + 0x274], r11d
mov dword [rdi + 0x278], eax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [rsp + 0x50]
mov edx, dword [rsp + 0x54]
cmp eax, dword [rdi + 0x27c]
jne 0x1400596c2
cmp edx, dword [rdi + 0x280]
je 0x1400596ea
cmp esi, 1
mov dword [rdi + 0x27c], eax
mov dword [rdi + 0x280], edx
jl 0x1400596ea
mov dword [rsp + 0x20], edx
mov r9d, eax
mov r8, rdi
mov edx, 0xfffffff5
mov rcx, rbp
call fcn.140058cc4
mov ecx, dword [rbp + 0x18]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [rbp + 0x1c]
mov r12w, ax
shr r12d, 0xf
and r12d, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov bx, ax
shr ebx, 0xf
and ebx, 1
cmp r12d, dword [rdi + 0x284]
je 0x140059797
cmp esi, 1
jl 0x140059797
cmp byte [rdi + 0x2c0], 0
je 0x140059797
mov eax, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x50]
mov r8, rdi
mov rcx, rbp
mov dword [rsp + 0x20], eax
test r12d, r12d
je 0x140059747
mov edx, 0xfffffff9
jmp 0x14005978b
mov edx, 0xfffffff8
call fcn.140058cc4
cmp byte [rdi + 0x28c], 0
je 0x140059790
mov rcx, qword [rdi]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r9d, dword [rsp + 0x50]
mov r8, rdi
bt eax, 0x18
mov eax, dword [rsp + 0x54]
mov rcx, rbp
mov dword [rsp + 0x20], eax
mov edx, 0xfffffffa
jb 0x14005978b
mov edx, 0xfffffff4
call fcn.140058cc4
mov byte [rdi + 0x28c], 0
test esi, esi
je 0x1400597a2
mov dword [rdi + 0x284], r12d
cmp ebx, dword [rdi + 0x288]
je 0x1400597d5
cmp esi, 1
jl 0x1400597d5
mov eax, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x50]
mov r8, rdi
mov rcx, rbp
mov edx, 0xfffffff7
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x1400597d0
mov edx, 0xfffffff6
call fcn.140058cc4
test esi, esi
je 0x1400597df
mov dword [rdi + 0x288], ebx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x14005aa18
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
test r8, r8
je 0x14005aa45
lea rcx, [0x1400a9420]
mov rdx, r8
call fcn.1400587a4
mov dword [0x1400a94d8], eax
jmp 0x14005aa4b
mov eax, dword [0x1400a94d8]
cmp eax, 0xffffffff
je 0x14005abc1
movsxd rcx, eax
mov rax, qword [0x1400a94c0]
mov rcx, qword [rax + rcx*8]
mov rdi, qword [rcx]
cmp byte [rdi + 0x6a], 0
mov rsi, qword [rdi]
je 0x14005aaa1
cmp dword [rdi + 0x298], 0
mov byte [rdi + 0x6a], 0
jl 0x14005aaa1
cmp byte [rdi + 0x2a4], 0
je 0x14005aaa1
mov r8d, dword [rdi + 0x2a0]
lea rcx, [0x1400a9420]
mov rdx, rdi
call fcn.1400614f8
mov byte [rdi + 0x2a4], 0
cmp ebx, 8
jg 0x14005ab3b
je 0x14005ab07
test ebx, ebx
je 0x14005aaee
cmp ebx, 1
je 0x14005ab07
mov edx, 6
cmp ebx, 2
je 0x14005aad5
cmp ebx, 3
je 0x14005ab9c
jle 0x14005aafd
cmp ebx, 5
jle 0x14005ab07
cmp ebx, edx
je 0x14005aad9
jmp 0x14005aafd
mov byte [rdi + 0x68], 1
cmp byte [rdi + 0x68], 0
je 0x14005abc1
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14005aafd
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [rdi + 0x68], 0
mov eax, 1
jmp 0x14005abc3
cmp byte [rdi + 0x68], 0
jne 0x14005abc1
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
cmp ebx, 8
je 0x14005ab35
cmp ebx, 4
je 0x14005ab35
mov rcx, qword [0x1400bd8c0]
mov rdx, rsi
call fcn.14000e914
mov byte [rdi + 0x68], 1
jmp 0x14005aafd
mov edx, ebx
sub edx, 9
je 0x14005ab9c
sub edx, 0x37
je 0x14005ab95
sub edx, 1
je 0x14005ab85
sub edx, 1
je 0x14005ab73
cmp edx, 1
jne 0x14005aafd
xor ecx, ecx
mov byte [rdi + 0x69], 0
call qword [sym.imp.USER32.dll_LockWindowUpdate]
mov rcx, qword [rdi]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x14005aafd
mov rcx, rsi
mov byte [rdi + 0x69], 1
call qword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0x14005aafd
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x14005aafd
mov edx, 1
jmp 0x14005ab87
cmp byte [rdi + 0x68], 0
je 0x14005abc1
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400bd8c0]
mov rdx, rsi
call fcn.14000e914
jmp 0x14005aafd
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140060730
Capabilities:
Get file size
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x80
xor r13d, r13d
mov rbp, r9
mov rax, r8
mov rsi, rdx
mov qword [r11 - 0x50], r13
cmp word [r8], r13w
je 0x1400608b7
mov qword [r11 - 0x68], r13
mov dword [r11 - 0x70], r13d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, rax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x140060799
xor eax, eax
jmp 0x1400608f4
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, 2
mov edx, eax
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r9, [rsp + 0xb0]
mov r8d, ebx
mov rcx, r12
mov rdx, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [rsp + 0x50]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rcx, qword [rsp + 0x50]
lea r11, [rsp + 0x48]
lea r9, [0x1400922e0]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r11
call qword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x48]
cmp rcx, r13
je 0x140060792
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x58]
mov edx, SafeArrayAllocDescriptor
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r11, qword [rsp + 0xc0]
cmp dword [rbp], r13d
jne 0x140060884
cmp dword [r11], r13d
jne 0x140060884
mov eax, dword [rsp + 0x5c]
mov dword [rbp], eax
mov eax, dword [rsp + 0x60]
mov dword [r11], eax
mov r9d, dword [r11]
mov r8d, dword [rbp]
mov rcx, qword [rsp + 0x40]
xor edx, edx
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.USER32.dll_CopyImage]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r9, qword [rsp + 0x40]
jmp 0x1400608bf
mov r9, r13
mov qword [rsp + 0x40], r13
mov rcx, qword [rsi + 0xb8]
cmp rcx, r13
je 0x1400608d6
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r9, qword [rsp + 0x40]
mov rbx, qword [rsi]
xor r8d, r8d
mov edx, 0x172
mov rcx, rbx
mov qword [rsi + 0xb8], r9
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x140065b08
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
sub rsp, 0x30
lea rcx, [0x1400a9420]
mov r12d, r9d
mov rbp, r8
mov rsi, rdx
call fcn.1400587a4
movsxd rcx, eax
mov rax, qword [0x1400a94c0]
mov rcx, qword [rax + rcx*8]
mov rbx, qword [rcx]
cmp rbp, rsi
jne 0x140065b8c
cmp qword [rbx + 0x2b0], 0
je 0x140065bfe
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
and qword [rsp + 0x28], 0
mov rcx, qword [rbx + 0x2b0]
mov qword [rsp + 0x20], rsi
mov r8d, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x54]
xor edx, edx
call qword [sym.imp.USER32.dll_TrackPopupMenuEx]
jmp 0x140065c20
lea rcx, [0x1400a9420]
mov rdx, rbp
call fcn.1400587f8
cmp eax, 0xffffffff
je 0x140065bfe
movsxd rdi, eax
mov rax, qword [0x1400a94e8]
mov rcx, qword [rax + rdi*8]
mov rdx, qword [rcx]
mov al, byte [rdx + 0xf4]
cmp al, 0xe
je 0x140065bfe
cmp al, 0xf
je 0x140065bfe
cmp al, 0x13
je 0x140065bfe
cmp al, 0x10
je 0x140065bfe
cmp qword [rdx + 0x10], 0
je 0x140065bfe
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r11, qword [0x1400a94e8]
and qword [rsp + 0x28], 0
mov rax, qword [r11 + rdi*8]
mov rcx, qword [rax]
mov rax, qword [rbx]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
jmp 0x140065b75
movzx r9d, word [rsp + 0x70]
movzx eax, r12w
mov r8, rbp
shl r9d, 0x10
mov edx, 0x7b
mov rcx, rsi
or r9, rax
call qword [sym.imp.USER32.dll_DefDlgProcW]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x140075f7c
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.14007e570
nop
cmp dword [0x1400a96b0], 1
je 0x140075f28
mov dword [0x1400a96ac], 1
mov byte [0x1400a96a8], r12b
test ebx, ebx
jne 0x140075f14
mov rcx, qword [0x1400beb10]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140075f01
mov rcx, qword [0x1400beb08]
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 0x140075ea0
call fcn.14007c918
cmp qword [rdi], rax
jne 0x140075ea0
jmp 0x140075e86
cmp rdi, rsi
jb 0x140075f01
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14007c918
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400beb10]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400beb08]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140075edf
cmp r13, rax
je 0x140075eff
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 0x140075e86
lea rdx, [0x140092150]
lea rcx, [0x140092138]
call fcn.140075cd0
lea rdx, [0x140092160]
lea rcx, [0x140092158]
call fcn.140075cd0
nop
test r12d, r12d
je 0x140075f37
mov ecx, 8
call fcn.14007e470
test r12d, r12d
jne 0x140075f62
mov dword [0x1400a96b0], 1
lea ecx, [r12 + 8]
call fcn.14007e470
mov ecx, r15d
call fcn.140075c64
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 0x140075df0

Function at 0x140075f88
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140075df0
Function at 0x14007c728
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14007c7b1
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x14007c773
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x14007c7c1
mov ecx, 0x20b
cmp word [rax + 0x18], cx
je 0x14007c789
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x14007c7c1
cmp dword [rax + 0x84], 0xe
ja 0x14007c79d
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x14007c7c1
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xb0], ebx
jmp 0x14007c7c1
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
lea rdi, [0x140000000]
mov ecx, 1
call fcn.140080058
test eax, eax
jne 0x14007c7f1
cmp dword [0x1400a96d8], 1
jne 0x14007c7dd
call fcn.14007e31c
mov ecx, 0x1c
call fcn.14007e0f4
mov ecx, 0xff
call fcn.140075ca0
call fcn.14007cc40
test eax, eax
jne 0x14007c81c
cmp dword [0x1400a96d8], 1
jne 0x14007c808
call fcn.14007e31c
mov ecx, reloc.WSOCK32.dll_recv
call fcn.14007e0f4
mov ecx, 0xff
call fcn.140075ca0
call fcn.14007e5b4
nop
call fcn.140083af8
test eax, eax
jns 0x14007c835
mov ecx, 0x1b
call fcn.140075c34
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x1400bdae8], rax
call fcn.140088ef0
mov qword [0x1400a96d0], rax
call fcn.140088e00
test eax, eax
jns 0x14007c860
mov ecx, 8
call fcn.140075c34
call fcn.140088b30
test eax, eax
jns 0x14007c873
mov ecx, 9
call fcn.140075c34
mov ecx, 1
call fcn.140075d40
test eax, eax
je 0x14007c888
mov ecx, eax
call fcn.140075c34
call fcn.140088ad4
test byte [rsp + 0x6c], 1
movzx edx, word [rsp + 0x70]
mov r9d, 0xa
cmovne r9d, edx
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.140002254
mov edi, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x14007c8bf
mov ecx, eax
call fcn.140075f7c
call fcn.140075f94
jmp 0x14007c8e0
mov eax, edi
jmp 0x14007c8e9
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.140088f84
add rsp, 0x28
jmp 0x14007c728
Function at 0x140089aa8
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.14007c918
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400a9fe8], rbx
jne 0x140089bae
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140089c83
lea rdx, [0x140094990]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140089c83
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140094980]
mov rcx, rsi
mov qword [0x1400a9fe8], 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 [0x1400a9ff0], 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 [0x1400a9ff8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400aa008], rax
test rax, rax
je 0x140089ba5
lea rdx, [0x140094930]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400aa000], rax
jmp 0x140089bb5
mov rax, qword [0x1400aa000]
jmp 0x140089bbc
mov rax, qword [0x1400aa000]
mov r11, qword [0x1400aa008]
cmp rax, rdi
je 0x140089c24
cmp r11, rdi
je 0x140089c24
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400aa008]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140089c24
test rax, rax
je 0x140089c24
call rsi
test rax, rax
je 0x140089c1e
lea rcx, [rsp + 0x88]
mov r9d, recvfrom
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140089c1e
test byte [rsp + 0x38], 1
jne 0x140089c24
bts ebp, 0x15
jmp 0x140089c62
mov rcx, qword [0x1400a9ff0]
cmp rcx, rdi
je 0x140089c62
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140089c62
call rax
mov rbx, rax
test rax, rax
je 0x140089c62
mov rcx, qword [0x1400a9ff8]
cmp rcx, rdi
je 0x140089c62
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140089c62
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400a9fe8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140089c83
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140089c85
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 0x14008ccc3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400a6258]
jne 0x14008436a
rol rcx, 0x10
test cx, 0xffff
jne 0x140084366
repz ret
ror rcx, 0x10
jmp 0x14008cc1c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400aa0c0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400aa1b8]
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 0x14008cca1
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, [0x1400aa0c0]
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 0x14008ccc3
mov rax, qword [rsp + 0x88]
mov qword [0x1400aa1b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400aa158], rax
mov rax, qword [0x1400aa1b8]
mov qword [0x1400aa030], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400aa140], rax
mov dword [0x1400aa020], 0xc0000409
mov dword [0x1400aa024], 1
mov rax, qword [0x1400a6258]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400a6260]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400aa0b8], eax
mov ecx, 1
call fcn.140089a2c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140094a20]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400aa0b8], 0
jne 0x14008cd4a
mov ecx, 1
call fcn.140089a2c
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 0x180002d20
Capabilities:
Parse pe header

Disassembly:
cmp ecx, 0x207
jg 0x180002f74
je 0x180002f6e
dec ecx
cmp ecx, 0xbf
ja case.0x180002d5c.3
movsxd rax, ecx
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x30f4]
mov ecx, dword [rdx + rax*4 + 0x2f90]
add rcx, rdx
jmp rcx
mov eax, 7
ret
mov eax, 8
ret
mov eax, 9
ret
mov eax, 0xa
ret
mov eax, 0xb
ret
mov eax, 0xc
ret
mov eax, 0xd
ret
mov eax, 0xe
ret
mov eax, 0xf
ret
mov eax, 0x10
ret
mov eax, 0x11
ret
mov eax, 0x12
ret
mov eax, 0x13
ret
mov eax, 0x14
ret
mov eax, 0x15
ret
mov eax, 0x16
ret
mov eax, 0x17
ret
mov eax, 0x18
ret
mov eax, 0x19
ret
mov eax, 0x1a
ret
mov eax, 0x1b
ret
mov eax, 0x1c
ret
mov eax, 0x41
ret
mov eax, 0x42
ret
mov eax, 0x43
ret
mov eax, 0x44
ret
mov eax, 0x45
ret
mov eax, 0x46
ret
mov eax, 0x47
ret
mov eax, 0x48
ret
mov eax, 0x49
ret
mov eax, 0x4a
ret
mov eax, 0x4b
ret
mov eax, 0x4c
ret
mov eax, 0x4d
ret
mov eax, 0x4e
ret
mov eax, 0x4f
ret
mov eax, 0x1e
ret
mov eax, 0x20
ret
mov eax, 0x27
ret
mov eax, 0x28
ret
mov eax, 0x29
ret
mov eax, 0x2a
ret
mov eax, 0x2b
ret
mov eax, 0x2c
ret
mov eax, 0x2d
ret
mov eax, 0x2e
ret
mov eax, 0x2f
ret
mov eax, 0x30
ret
mov eax, 0x31
ret
mov eax, 0x32
ret
mov eax, 0x33
ret
mov eax, 0x34
ret
mov eax, 0x35
ret
mov eax, 0x36
ret
mov eax, 0x37
ret
mov eax, 0x38
ret
mov eax, 0x39
ret
mov eax, 0x3a
ret
mov eax, 0x3b
ret
mov eax, 0x3c
ret
mov eax, 0x3d
ret
mov eax, 0x3e
ret
mov eax, 0x3f
ret
mov eax, 0x40
ret
mov eax, 0x50
ret
mov eax, 0x51
ret
mov eax, 0x52
ret
mov eax, 0x53
ret
mov eax, 0x54
ret
mov eax, 0x55
ret
mov eax, 0x56
ret
mov eax, 0x57
ret
mov eax, 0x58
ret
mov eax, 0x59
ret
mov eax, 0x5a
ret
mov eax, 0x5b
ret
mov eax, 0x5c
ret
mov eax, 0x5d
ret
mov eax, 0x5e
ret
mov eax, 0x5f
ret
mov eax, 0x60
ret
mov eax, 0x61
ret
mov eax, 0x62
ret
mov eax, 0x63
ret
mov eax, 0x64
ret
mov eax, 0x65
ret
mov eax, 0x6d
ret
mov eax, 5
ret
sub ecx, 0x208
je 0x180002f8a
cmp ecx, 2
je 0x180002f84
xor eax, eax
ret
mov eax, 6
ret
mov eax, 4
ret