joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800185b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x1d8
mov rax, qword [0x1801519f8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov r14, qword [rsp + 0x230]
xor r15d, r15d
mov rbx, r9
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
mov qword [r14], r15
mov eax, dword [r9 + 8]
cmp eax, 0x51
jne 0x180018601
call fcn.180017810
mov al, 1
jmp 0x1800187a1
cmp eax, 0x319
jne 0x1800186fc
movzx ecx, word [r9 + 0x1a]
xor dl, dl
mov r8d, ecx
mov eax, ecx
and r8d, 0xfff
mov ebp, 1
and eax, 0xf000
je 0x18001863c
cmp eax, 0x8000
jne 0x180018646
xor bl, bl
movzx eax, bl
jmp 0x1800187a1
cmp r8d, 7
movzx edx, dl
cmovne edx, ebp
mov rax, qword [rdi + 0x18]
movzx ebx, word [r9 + 0x18]
and ebx, 0xc
shl ebx, 0x17
test rax, rax
cmovne rsi, rax
cmp r8d, 0x34
ja 0x180018632
and ecx, 0xfff
lea rax, [0x1800f5c30]
mov edi, dword [rax + rcx*4]
test dl, dl
jne 0x1800186b5
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
mov word [rsp + 0x40], bp
xor r9d, r9d
mov byte [rsp + 0x38], r15b
mov r8d, ebx
mov qword [rsp + 0x30], rax
mov edx, edi
mov dword [rsp + 0x28], r15d
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call fcn.180018140
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea edx, [rdi + rbx]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea rcx, [rsp + 0x50]
xor r8d, r8d
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QKeySequence::constructor_int__int__int__int____ptr64]
call qword [sym.imp.Qt5Gui.dll_public:_static_class_QGuiApplicationPrivate____ptr64___cdecl_QGuiApplicationPrivate::instance_void_]
lea rdx, [rsp + 0x50]
lea rcx, [rax + 0xd8]
call qword [sym.imp.Qt5Gui.dll_public:_bool___cdecl_QShortcutMap::hasShortcutForKeySequence_class_QKeySequence_const____ptr64_const___ptr64]
lea rcx, [rsp + 0x50]
movzx ebx, al
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QKeySequence::destructor_void____ptr64]
movzx eax, bl
jmp 0x1800187a1
cmp eax, 0x102
je 0x18001873b
cmp eax, 0x286
je 0x18001873b
lea rcx, [rsp + 0xc0]
call qword [sym.imp.USER32.dll_GetKeyboardState]
mov r8d, dword [rbx + 0x18]
lea rdx, [rsp + 0xc0]
mov r9d, dword [rbx + 0x10]
mov rcx, rdi
sar r8, 0x10
and r8d, 0x1ff
call fcn.1800196e0
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, [rsp + 0x90]
mov rdx, rbp
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x18001876c
cmp dword [rsp + 0x98], 0x103
je 0x1800185fa
movups xmm0, xmmword [rbx]
xor r9d, r9d
lea r8, [rsp + 0x60]
movups xmm1, xmmword [rbx + 0x10]
mov rdx, rsi
mov rcx, rdi
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rbx + 0x20]
mov qword [rsp + 0x20], r14
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x80], xmm0
call fcn.1800187d0
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1800eea90
add rsp, 0x1d8
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18001a140
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov dword [rcx], 0
mov ecx, SafeArrayCopy
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
mov ecx, 1
setne dil
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18001a17c
movzx eax, dil
inc eax
or dword [rbx], eax
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18001a197
movzx eax, dil
xor eax, 1
inc eax
or dword [rbx], eax
mov ecx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18001a1aa
or dword [rbx], 4
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18001a1bd
or dword [rbx], 8
mov ecx, 6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov rax, rbx
jns 0x18001a1d3
or dword [rbx], 0x10
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18001cc00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov dword [rcx], 0
mov ecx, SafeArrayCopy
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
mov ecx, 1
setne dil
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18001cc3c
movzx eax, dil
inc eax
or dword [rbx], eax
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18001cc57
movzx eax, dil
xor eax, 1
inc eax
or dword [rbx], eax
mov ecx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18001cc6a
or dword [rbx], 4
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18001cc7d
or dword [rbx], 8
mov ecx, 6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov rax, rbx
jns 0x18001cc93
or dword [rbx], 0x10
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180029350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
movzx r13d, byte [rsp + 0xc0]
movzx r12d, r9b
mov rbx, rcx
call qword [sym.imp.Qt5Gui.dll_public:_int___cdecl_QImage::width_void_const___ptr64]
mov rcx, rbx
mov dword [rsp + 0x44], eax
mov edi, eax
call qword [sym.imp.Qt5Gui.dll_public:_int___cdecl_QImage::height_void_const___ptr64]
mov ecx, dword [rsp + 0xb0]
mov ebp, eax
mov dword [rsp + 0x40], ecx
test ecx, ecx
jns 0x1800293b4
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0xb0], eax
test eax, eax
jns 0x1800293d4
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0xb0], eax
mov eax, edi
mov edi, 1
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, edi
cmovg edi, eax
mov eax, edi
imul eax, ebp
movsxd rbx, eax
mov rcx, rbx
call fcn.1800eeadc
mov rcx, rbx
mov qword [rsp + 0x50], rax
mov r14, rax
call fcn.1800eeadc
xor ebx, ebx
movsxd rsi, edi
mov qword [rsp + 0x48], rsi
mov r15, rax
test ebp, ebp
jle 0x1800294cc
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsp + 0xa0]
mov edx, ebx
call qword [sym.imp.Qt5Gui.dll_public:_unsigned_char_const____ptr64___cdecl_QImage::constScanLine_int_const___ptr64]
mov rcx, qword [rsp + 0xa8]
mov edx, ebx
mov rdi, rax
call qword [sym.imp.Qt5Gui.dll_public:_unsigned_char_const____ptr64___cdecl_QImage::constScanLine_int_const___ptr64]
test rsi, rsi
jle 0x1800294bd
mov rsi, qword [rsp + 0x50]
lea r10, [r14 + r15]
mov r11, qword [rsp + 0x48]
sub rsi, r15
sub rdi, rax
add r14, r11
nop
movzx edx, byte [rax]
lea r10, [r10 + 1]
movzx r9d, byte [rdi + rax]
lea rax, [rax + 1]
movzx ecx, dl
test r13b, r13b
not cl
movzx r8d, cl
cmove r8d, edx
test r12b, r12b
movzx ecx, r8b
not cl
mov byte [rsi + r10 - 1], cl
movzx ecx, r9b
not cl
movzx edx, cl
cmove edx, r9d
xor dl, r8b
mov byte [r10 - 1], dl
sub r11, 1
jne 0x180029470
mov rsi, qword [rsp + 0x48]
inc ebx
cmp ebx, ebp
jl 0x180029430
mov r14, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, dword [rsp + 0x44]
mov rcx, rax
mov r8d, dword [rsp + 0xb0]
mov edx, dword [rsp + 0x40]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateCursor]
mov rcx, r15
mov rbx, rax
call fcn.1800ee414
mov rcx, r14
call fcn.1800ee414
mov rax, rbx
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002b130
Capabilities:
Get keyboard layout

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rsi, rcx
call qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QPlatformInputContext::constructor_void____ptr64]
lea rax, vtable.QWindowsInputContext.0
lea rcx, str.MSIMEMouseOperation
mov qword [rsi], rax
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
xor ebp, ebp
mov byte [rsi + 0x14], 0
lea rcx, [rsi + 0x28]
mov dword [rsi + 0x10], eax
mov qword [rsi + 0x20], rbp
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
mov dword [rsi + 0x30], ebp
xor ecx, ecx
mov byte [rsi + 0x34], bpl
mov qword [rsi + 0x38], rbp
mov qword [rsi + 0x40], rbp
mov byte [rsi + 0x48], bpl
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx edx, ax
lea rcx, [rsi + 0x50]
mov dword [rsi + 0x4c], edx
call qword [sym.imp.Qt5Core.dll_class_QLocale___cdecl_qt_localeFromLCID_unsigned_long_int_]
mov edx, 2
mov dword [rsp + 0x80], ebp
mov r9d, 1
lea rax, [rsp + 0x80]
mov ecx, edx
mov qword [rsp + 0x20], rax
mov r8d, r9d
call qword [sym.imp.GDI32.dll_CreateBitmap]
mov qword [rsi + 0x18], rax
lea rax, [fcn.18002bab0]
mov qword [rsp + 0x88], rax
mov rax, qword [sym.imp.Qt5Gui.dll_public:_void___cdecl_QInputMethod::cursorRectangleChanged_void____ptr64]
mov qword [rsp + 0x90], rax
call qword [sym.imp.Qt5Gui.dll_public:_static_class_QInputMethod____ptr64___cdecl_QGuiApplication::inputMethod_void_]
mov rbx, qword [sym.imp.Qt5Gui.dll_struct_QMetaObject_const_QInputMethod::staticMetaObject]
lea ecx, [rbp + 0x18]
mov rdi, rax
call fcn.1800ee3d0
mov rcx, qword [rsp + 0x88]
lea rdx, [0x18002c230]
mov qword [rsp + 0x40], rbx
lea r8, [rsp + 0x90]
mov qword [rsp + 0x38], rbp
mov r9, rsi
mov qword [rax + 8], rdx
mov rdx, rdi
mov qword [rax + 0x10], rcx
lea rcx, [rsp + 0x98]
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], rax
mov dword [rax], 1
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
call qword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const____ptr64__void____ptr64____ptr64__class_QObject_const____ptr64__void____ptr64____ptr64__class_QtPrivate::QSlotObjectBase____ptr64__enum_Qt::ConnectionType__int_const____ptr64__struct_QMetaObject_const____ptr64_]
lea rcx, [rsp + 0x98]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
mov rax, rsi
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18003a040
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
lea rdi, [rcx + 0x48]
xor edx, edx
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0xb8]
mov rax, qword [rdi]
mov rcx, 0xffffffffffffffff
movsxd rsi, dword [rax + 4]
mov eax, 2
lea rdx, [rsi + 1]
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.1800eeadc
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::toWCharArray_wchar_t____ptr64_const___ptr64]
xor edi, edi
mov word [rbx + rsi*2], di
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x40], rdi
lea rcx, [0x18003c790]
mov dword [rsp + 0x38], eax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
call fcn.1800ee414
call fcn.180010fd0
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QLoggingCategory::isDebugEnabled_void_const___ptr64]
test al, al
je 0x18003a150
call fcn.180010fd0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [rsp + 0x80]
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug___cdecl_QMessageLogger::debug_void____ptr64]
mov rcx, rax
lea rdx, str.QWindowsNativeFileDialogBase::close
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.closing
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___char_const____ptr64____ptr64]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QDebug____ptr64___cdecl_QDebug::operator___void_const____ptr64____ptr64]
lea rcx, [rsp + 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDebug::destructor_void____ptr64]
test rbx, rbx
je 0x18003a175
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x18003a175
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180040e70
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov edx, 6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x180040ebc
mov r8, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x28], 1
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov qword [rbx + 0x10], rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.ole32.dll_CoUninitialize]
add rsp, 0x30
pop rbx
ret
Function at 0x18004f1c0
Capabilities:
Check for debugger via api

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbx, rcx
mov rsi, r9
mov rcx, qword [rcx + 0x28]
mov rbp, r8
mov r14d, edx
test rcx, rcx
je 0x18004f2b6
call qword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
je 0x18004f224
xor r9d, r9d
lea rcx, [rsp + 0x28]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.Cowardly_refusing_to_send_clipboard_message_to_hung_application...
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
mov rcx, qword [rbx + 0x28]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x70], 0
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x18004f29e
mov r8d, dword [rsp + 0x70]
test r8d, r8d
je 0x18004f29e
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x18004f29e
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x20], 0
je 0x18004f29e
mov rcx, qword [rbx + 0x28]
mov r9, rsi
mov r8, rbp
mov edx, r14d
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x18004f2b1
mov rcx, qword [rbx + 0x28]
mov r9, rsi
mov r8, rbp
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
Function at 0x18008e400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2e0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.18007c570
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x18008e456
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x18008e4ad
mov ebp, 0x4b0000
jmp 0x18008e4bb
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.18007ee50
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x18008e4d1
mov eax, r12d
jmp 0x18008e4da
mov edx, edi
mov ecx, ebp
call fcn.18007ee50
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x18008e4f6
shl esi, 0x10
mov ecx, esi
jmp 0x18008e5e5
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x18008e554
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.18007c570
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x18008e544
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.18007ed20
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.18007c570
add ebx, eax
jmp 0x18008e5ee
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x18008e561
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x18008e5a0
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.18007c570
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x18008e5a5
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.18007ed20
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.18007c570
add ebx, eax
jmp 0x18008e5ee
cmp eax, r12d
jge 0x18008e5de
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.18007c570
sub ebp, eax
sub r15d, esi
je 0x18008e5de
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.18007ed20
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.18007c570
add ebx, eax
jmp 0x18008e5ee
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.18007c570
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
call fcn.18007c570
mov r15, qword [rsp + 0x30]
add eax, 0x8000
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
shr eax, 0x10
cwde
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x1800c7380
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r15d, r15d
sub rax, 0x34
mov qword [rcx + 0x78], r15
mov qword [rcx + 0x28], rax
mov r14d, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r15w
mov ebp, r15d
mov dword [rcx + 0x3c], r15d
movzx esi, r15w
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r15w
cmp r15w, word [rcx + 0xb8]
jge 0x1800c74dc
movzx r11d, r15w
mov edi, r15d
nop word [rax + rax]
mov rax, qword [rbx + 0xd0]
mov r9d, r14d
mov dword [rbx + 0x88], r15d
movzx edx, r11w
mov qword [rbx + 0x80], r15
mov rcx, rbx
movzx r8d, word [rdi + rax]
call fcn.1800c7840
test al, al
jne 0x1800c756a
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r11d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x1800c7468
cmp edx, dword [rbx + 0x60]
jl 0x1800c7468
cmp edx, dword [rbx + 0x64]
jg 0x1800c7468
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x1800c7468
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rax + 0x18]
xor cl, byte [r9 + 0x18]
test cl, 8
jne 0x1800c7468
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r10, qword [rbx + 0x70]
mov rax, qword [r10 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x1800c748b
test byte [r10 + 0x18], 8
je 0x1800c748b
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x1800c749c
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1800c8220
test al, al
jne 0x1800c756a
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x1800c74bf
mov qword [r10 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc ebp
add rdi, 2
inc r11w
cmp ebp, eax
jl 0x1800c73f0
movzx esi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp si, 1
jbe 0x1800c756e
test rdx, rdx
je 0x1800c756e
mov ebp, 0xffff
lea r14, [rdx + 8]
cmp si, 1
jbe 0x1800c750c
movsxd r9, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r8, [rax + r9*4]
jmp 0x1800c7513
mov r9d, dword [rdx + 0x1c]
mov r8, r15
mov qword [r14], r8
test byte [rdx + 0x18], 8
mov edi, dword [rdx + 0x20]
mov r8d, edi
je 0x1800c7529
dec edi
add edi, r9d
jmp 0x1800c7542
sub r8d, r9d
lea eax, [r9 - 1]
inc r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov dword [rdx + 0x20], r8d
mov edx, r8d
mov rcx, rbx
call fcn.1800c84e0
test al, al
jne 0x1800c756a
lea edx, [rdi + 1]
mov rcx, rbx
call fcn.1800c84e0
test al, al
jne 0x1800c756a
mov rdx, qword [r14]
add si, bp
jne 0x1800c74f4
jmp 0x1800c7572
mov al, 1
jmp 0x1800c757d
mov qword [rbx + 0x78], r15
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x141a03058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141a031df
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 0x141a03089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a0306f
add dl, dl
jne 0x141a03096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a030f6
xor eax, eax
add dl, dl
jne 0x141a030a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141a031ad
add dl, dl
jne 0x141a030b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a030c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a030d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a030dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141a030ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141a0307e
mov eax, 1
add dl, dl
jne 0x141a03106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141a03113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a030fb
sub eax, ebx
mov ebx, 1
jne 0x141a0314c
mov ecx, 1
add dl, dl
jne 0x141a0312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141a0313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a03123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a0307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141a03168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141a03175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141a0315d
cmp eax, 0x7d00
jae 0x141a0319b
cmp eax, 0x500
jb 0x141a03196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a0307e
cmp eax, 0x7f
ja 0x141a0319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141a0307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141a031d2
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 0x141a0307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002c40
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002c8a
mov ecx, _callnewh
cmp word [rax], cx
jne 0x140002c8a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002c8a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002c8a
cmp dword [rcx + 0x84], 0xe
jbe 0x140002c8a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002c8c
xor al, al
add rsp, 0x28
ret