joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100002454
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x100004758], rdi
je 0x1000024a2
cmp rax, rdi
jne 0x100002495
mov edi, 1
mov r12d, edi
jmp 0x1000024a7
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100002479
mov edi, 1
mov eax, dword [0x100004750]
cmp eax, edi
jne 0x1000024bd
mov ecx, 0x1f
call fcn.100181000
jmp 0x10000251a
mov eax, dword [0x100004750]
test eax, eax
jne 0x100002514
mov dword [0x100004750], edi
lea r13, [0x100001290]
lea rsi, [0x100001278]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x100002506
test eax, eax
jne 0x100002506
mov rcx, qword [rsi]
test rcx, rcx
je 0x1000024fb
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x1000024e4
test eax, eax
je 0x10000251a
mov eax, 0xff
jmp 0x1000025ec
mov dword [0x100004184], edi
mov eax, dword [0x100004750]
cmp eax, edi
jne 0x100002541
lea rdx, [0x100001270]
lea rcx, [0x100001260]
call sub.msvcrt.dll__initterm
mov dword [0x100004750], 2
test r12d, r12d
jne 0x10000254f
xor eax, eax
xchg qword [0x100004758], rax
cmp qword [0x100004760], 0
je 0x100002578
lea rcx, [0x100004760]
call fcn.10000284c
test eax, eax
je 0x100002578
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100004760]
mov r8, qword [0x100004168]
mov rdx, qword [0x100004170]
mov ecx, dword [0x100004160]
call fcn.100001b54
mov dword [0x100004180], eax
cmp dword [0x100004164], 0
jne 0x1000025a8
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100004184], 0
jne 0x1000025bd
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100004180]
jmp 0x1000025ec
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.100002960
add rsp, 0x28
jmp 0x100002454
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1401cde40]
mov dword [rax], 1
mov rax, qword [0x1401cde50]
mov dword [rax], 1
mov rax, qword [0x1401cde60]
mov dword [rax], 1
mov rax, qword [0x1401cddc0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14012d740
Capabilities:
Query environment variable

Disassembly:
push r15
mov eax, 0x10088
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.1401a74a0
sub rsp, rax
xor edx, edx
mov rbp, rcx
xor ecx, ecx
mov word [rsp + 0x80], dx
lea r15, [rsp + 0x30]
movzx eax, byte [rbp]
mov word [rsp + 0x30], cx
test al, al
je 0x14012d805
xor edi, edi
lea r15, [rsp + 0x30]
lea r14, [rsp + 0x2a]
mov r12d, 0x28
lea r13, [rsp + 0x2c]
nop dword [rax]
mov rsi, r12
mov r8d, 2
mov rdx, r14
mov rcx, r13
sub rsi, rdi
mov byte [rsp + 0x2a], al
lea rbx, [r15 + rdi*2]
mov byte [rsp + 0x2b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1401b8392
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x14012d7e6
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x14012d7d8
test rsi, rsi
je 0x1401b8392
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x14012d798
lea rbx, [rsp + 0x80]
mov r8d, 0x10000
mov rcx, r15
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x14012d834
mov rcx, rbx
call sub.msvcrt.dll__wcsdup
add rsp, 0x10088
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14012d850
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
movzx eax, byte [rcx]
mov qword [rsp + 0xd8], rdx
xor edx, edx
mov rbp, rcx
lea r15, [rsp + 0x30]
mov word [rsp + 0x30], dx
test al, al
je 0x14012d90d
xor edi, edi
lea r15, [rsp + 0x30]
lea r14, [rsp + 0x2a]
mov r12d, 0x28
lea r13, [rsp + 0x2c]
nop dword [rax]
mov rsi, r12
mov r8d, 2
mov rdx, r14
mov rcx, r13
sub rsi, rdi
mov byte [rsp + 0x2a], al
lea rbx, [r15 + rdi*2]
mov byte [rsp + 0x2b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1401b8398
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x14012d8ee
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x14012d8e0
test rsi, rsi
je 0x1401b8398
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x14012d8a0
mov rdx, qword [rsp + 0xd8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401a3a60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1401e5d61], 0
mov rbp, rcx
mov rdi, rdx
mov r12, r8
je 0x1401a3b08
lea rdx, [0x1401c9d5a]
mov rcx, r12
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1401a3b70
mov rbx, qword [0x1401e5c00]
jmp 0x1401a3aa5
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, r12
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x1401a3aa0
movzx eax, word [rdx + 4]
lea r8, [rdx + 6]
test ax, ax
je 0x1401a3af7
lea rbx, [rdi + rax*8]
nop word cs:[rax + rax]
mov rdx, rdi
mov rcx, rbp
add rdi, 8
call fcn.140193a60
mov r8, rax
cmp rdi, rbx
jne 0x1401a3ae0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1401e5c00], rax
mov ebx, dword [rax]
mov qword [0x1401e5c00], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1401e5c00], rdx
call fcn.1401a2b90
cmp eax, ebx
jne 0x1401a3bd8
mov byte [0x1401e5d61], 1
jmp 0x1401a3a80
cmp byte [0x1401e5d60], 0
jne 0x1401a3a97
mov rbx, qword [sym.imp.python312.dll_PyDict_New]
call rbx
mov qword [0x1401e6908], rax
call rbx
mov qword [0x1401e6900], rax
call rbx
mov qword [0x1401e68f8], rax
call rbx
mov qword [0x1401e68f0], rax
call rbx
mov qword [0x1401e68e8], rax
call rbx
mov qword [0x1401e68e0], rax
call rbx
mov qword [0x1401e68d8], rax
call rbx
mov byte [0x1401e5d60], 1
mov qword [0x1401e68d0], rax
jmp 0x1401a3a97
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x1401a6180
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1401b7910
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1401b7910
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x1401a6e52
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1401e6dc8]
test eax, eax
je 0x1401a6eea
lea rax, [0x1401e6da0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1401e6dd0]
mov qword [rbp - 8], rax
jmp 0x1401a6ece
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1401a6ec2
cmp qword [rbp - 0x10], 0
je 0x1401a6ec2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1401a6e88
lea rax, [0x1401e6da0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1401a6eeb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1401a6ff0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1401a7018
mov eax, 0
jmp 0x1401a7066
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1401a7041
mov eax, 0
jmp 0x1401a7066
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1401a7061
mov eax, 0
jmp 0x1401a7066
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1401a706c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1401a70ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1401a70e1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1401a70e1
mov rax, qword [rbp - 8]
jmp 0x1401a70ff
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1401a70b4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
fbld tbyte [rdx + rdx*8 - 0x63ffef06]
pop rdi
in al, dx
rcr dl, 0xbc
iretd
mov esp, 0x4311488c
xchg esi, eax
std
invalid
cmc
lodsb al, byte [rsi]
push rbx
jp 0x14003f6f3
cmp dword [rax], 0xc8e76e85
xor dword [rax], ebx
fmul dword [rdi]
jrcxz 0x14003f6ff
enter 0x1831, 0xffffffffffffffd8
pavgw mm7, qword [rcx]
cmp eax, edi
clc
fidivr dword [rbx + 0x30]
jnp 0x14003f6fa
out dx, al
movabs al, byte [0x9c6b96e1a393eeda]
adc eax, dword [rsi - 0x12db0688]
jle 0x14003f70e
add eax, 0x68e53372
invalid
invalid
ja 0x14003f703
jo 0xea2f431a
and byte [rcx], 0x4c
sub ebp, dword [rdx + 0xe0ac475]
jne 0x14003f6bf
invalid
or cl, byte [rsi]
xchg byte ss:[rsi], ch
test eax, 0x722498f7
test eax, 0x722498f7
and al, 0x72
jno 0x14003f6c5
adc esp, edi
cld
push rdx
pop rbx
shl byte [rcx + 0x41fb2b69], cl
cmpsb byte [rsi], byte [rdi]
cmpsb byte [rsi], byte [rdi]
sub edi, ebx
cmpsb byte [rsi], byte [rdi]
cmpsb byte [rsi], byte [rdi]
invalid
invalid
Function at 0x140011eb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x208
mov byte [rsp + 0x1d8], 0x4a
movzx eax, word [0x14015d2c8]
mov word [rsp + 0x1c0], ax
movsx ecx, word [rsp + 0x1c0]
sub ecx, 0x729
movsx eax, word [0x14015d2c8]
cmp ecx, eax
je 0x140012066
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
movsx eax, word [rax]
mov dword [rsp + 0x1e8], eax
cmp dword [rsp + 0x1e8], 0xffffd1a8
je 0x140011f32
jmp 0x14001200b
movsx eax, word [rsp + 0x1c0]
mov dword [rsp + 0x1ec], eax
cmp dword [rsp + 0x1ec], 0xffffd1a8
je 0x140011f53
jmp 0x140011fd8
movsx eax, byte [rsp + 0x218]
movsx ecx, byte [rsp + 0x230]
and eax, ecx
mov byte [rsp + 0x1d8], al
movsx eax, word [rsp + 0x1c0]
mov dword [rsp + 0x1f0], eax
cmp dword [rsp + 0x1f0], 0xffffd1a8
je 0x140011f97
cmp dword [rsp + 0x1f0], 0x267d
je 0x140011fc3
jmp 0x140011fd6
mov eax, 0xd32
mov word [rsp + 0x30], ax
mov dword [rsp + 0x38], 0xf33868b1
mov dword [rsp + 0x1c4], 0x2ec5d4d3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x1e0], rax
jmp 0x140011fd6
mov rax, qword [rsp + 0x1e0]
movzx eax, word [rax]
shl eax, 2
mov word [rsp + 0x30], ax
jmp 0x140012009
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1a0]
mov r8d, 0x3e
lea rdx, [rsp + 0x1a0]
lea rcx, str.forfeitureReputationExhaustion
call qword [sym.imp.KERNEL32.dll_CheckNameLegalDOS8Dot3W]
mov dword [rsp + 0x34], eax
jmp 0x140012061
movzx eax, byte [rsp + 0x230]
mov byte [rsp + 0x20], al
mov r9, qword [rsp + 0x228]
mov r8, qword [rsp + 0x220]
movzx edx, byte [rsp + 0x1d8]
mov rcx, qword [rsp + 0x210]
call fcn.140011eb0
movsx r11d, word [rsp + 0x1c0]
movsx eax, word [0x14015d2c8]
movzx ecx, al
mov eax, r11d
sar eax, cl
mov ecx, eax
mov rax, qword [rsp + 0x1d0]
mov word [rax], cx
jmp 0x140012104
movsx ecx, word [rsp + 0x1c0]
add ecx, 0x3180
movsx eax, word [0x14015d2c8]
cmp ecx, eax
jne 0x140012104
movsx edx, word [0x14015d2c8]
mov rax, qword [rsp + 0x1d0]
movsx ecx, word [rax]
mov eax, edx
or eax, ecx
mov word [rsp + 0x1c0], ax
mov rax, qword [rsp + 0x1d0]
movsx ecx, word [rax]
movsx eax, word [rsp + 0x1c0]
xor ecx, eax
mov rax, qword [rsp + 0x1d0]
mov word [rax], cx
movzx eax, byte [rsp + 0x230]
mov byte [rsp + 0x20], al
mov r9, qword [rsp + 0x228]
mov r8, qword [rsp + 0x228]
movzx edx, byte [rsp + 0x1d8]
mov rcx, qword [rsp + 0x210]
call fcn.140011eb0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rsp + 0x1c8], eax
movsx eax, word [0x14015d2c8]
add rsp, 0x208
ret
Function at 0x140152990
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.140153ed0
nop
cmp dword [0x140161c38], 1
je 0x14015293c
mov dword [0x140161c34], 1
mov byte [0x140161c30], r12b
test ebx, ebx
jne 0x140152928
mov rcx, qword [0x140162cf8]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140152915
mov rcx, qword [0x140162cf0]
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 0x1401528b4
call fcn.14015382c
cmp qword [rdi], rax
jne 0x1401528b4
jmp 0x14015289a
cmp rdi, rsi
jb 0x140152915
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14015382c
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140162cf8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140162cf0]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1401528f3
cmp r13, rax
je 0x140152913
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 0x14015289a
lea rdx, [0x140158790]
lea rcx, [0x140158788]
call fcn.1401526e4
lea rdx, [0x1401587a0]
lea rcx, [0x140158798]
call fcn.1401526e4
nop
test r12d, r12d
je 0x14015294b
mov ecx, 8
call fcn.140153dd0
test r12d, r12d
jne 0x140152976
mov dword [0x140161c38], 1
lea ecx, [r12 + 8]
call fcn.140153dd0
mov ecx, r15d
call fcn.140152678
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 0x140152804

Function at 0x14015299c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140152804
Function at 0x1401546c0
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.14015382c
xor ebx, ebx
mov rdi, rax
cmp qword [0x140162408], rbx
jne 0x1401547c6
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14015489b
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14015489b
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140162408], 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 [0x140162410], 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 [0x140162418], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140162428], rax
test rax, rax
je 0x1401547bd
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140162420], rax
jmp 0x1401547cd
mov rax, qword [0x140162420]
jmp 0x1401547d4
mov rax, qword [0x140162420]
mov r11, qword [0x140162428]
cmp rax, rdi
je 0x14015483c
cmp r11, rdi
je 0x14015483c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140162428]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14015483c
test rax, rax
je 0x14015483c
call rsi
test rax, rax
je 0x140154836
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140154836
test byte [rsp + 0x38], 1
jne 0x14015483c
bts ebp, 0x15
jmp 0x14015487a
mov rcx, qword [0x140162410]
cmp rcx, rdi
je 0x14015487a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14015487a
call rax
mov rbx, rax
test rax, rax
je 0x14015487a
mov rcx, qword [0x140162418]
cmp rcx, rdi
je 0x14015487a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14015487a
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140162408]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14015489b
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14015489d
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 0x140156fb3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14015e510]
jne 0x140155dba
rol rcx, 0x10
test cx, 0xffff
jne 0x140155db6
repz ret
ror rcx, 0x10
jmp 0x140156f0c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140162530]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140162628]
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 0x140156f91
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, [0x140162530]
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 0x140156fb3
mov rax, qword [rsp + 0x88]
mov qword [0x140162628], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1401625c8], rax
mov rax, qword [0x140162628]
mov qword [0x1401624a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1401625b0], rax
mov dword [0x140162490], 0xc0000409
mov dword [0x140162494], 1
mov rax, qword [0x14015e510]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14015e518]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140162528], eax
mov ecx, 1
call fcn.140155ba4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14015a238]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140162528], 0
jne 0x14015703a
mov ecx, 1
call fcn.140155ba4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret