joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412480
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
mov rbx, r8
mov rbp, r9
call sym.pop_pthread_mem
mov r12, rax
test rax, rax
je 0x412720
test rdi, rdi
je 0x4124ba
mov rax, qword [rax + 0x1d8]
mov qword [rdi], rax
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [r12 + 8], rbp
mov dword [r12 + 0x44], 1
mov rbp, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [r12 + 0xbc], 0
mov r14, r13
mov qword [r12 + 0x28], 0xffffffffffffffff
mov qword [r12 + 0x10], rbx
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call rbp
mov qword [r12 + 0x30], rax
test rax, rax
jne 0x412530
test ebx, ebx
je 0x412638
mov ecx, 0x14
call r14
cmp ebx, 4
je 0x412530
inc ebx
jmp 0x4124f5
mov qword [r12 + 0x38], 0xffffffffffffffff
lea r14, [r12 + 0x68]
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x412734
cmp qword [r12 + 0x30], 0
mov qword [r12 + 0x68], 0xffffffffffffffff
mov dword [r12], 0xbab1f00d
mov dword [r12 + 0xc0], 0
mov dword [r12 + 0xb8], 0
je 0x4126d2
xor edx, edx
test rsi, rsi
je 0x4125a8
mov eax, dword [rsi]
mov edx, dword [rsi + 0x10]
mov dword [r12 + 0x44], eax
test al, 8
jne 0x412700
mov eax, dword [rsi + 0x18]
mov dword [r12 + 0xc0], eax
lea r8, [sym.pthread_create_wrapper]
mov r9, r12
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov r13, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x412698
mov eax, dword [r12 + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x412668
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [r12 + 0x44], 4
jne 0x412648
mov qword [r12 + 0x28], r13
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor ecx, ecx
inc ebx
call r13
jmp 0x4124f5
mov qword [r12 + 0x28], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x412618
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x4125ee
mov edx, 0xf
cmp eax, 0xe
jg 0x4125ee
cmp eax, 2
mov edx, 2
cmovle edx, eax
jmp 0x4125ee
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x4126a8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [r12 + 0x38]
call sym.pthread_mutex_destroy
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x412734
mov qword [r12 + 0x68], 0xffffffffffffffff
pxor xmm0, xmm0
movups xmmword [r12 + 0x28], xmm0
test rdi, rdi
je 0x4126de
mov qword [rdi], 0
mov rcx, r12
call sym.push_pthread_mem
mov eax, 0xb
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov dword [rsp + 0x3c], edx
call sym.__pthread_self_lite
mov edx, dword [rsp + 0x3c]
mov eax, dword [rax + 0xc0]
mov dword [r12 + 0xc0], eax
jmp 0x4125a8
mov eax, 0xb
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
call sym.replace_spin_keys.part.0
nop
nop word [rax + rax]
Function at 0x48f7c0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x48f7e7
call rbp
cmp dword [rax], 4
jne 0x48f804
mov rcx, qword [rdi]
call sym.fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sym.read
movsxd r12, eax
cmp eax, 0xffffffff
je 0x48f7e0
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x4dfe50
Capabilities:
Execute command

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rsi, [0x0050e040]
call dbg.__main
mov byte [rsp + 0x2f], 0x2f
lea rbx, [rsp + 0x2b]
lea rbp, [rsp + 0x30]
mov dword [rsp + 0x2b], 0x247b2f24
lea rdi, [rsp + 0x2a]
movzx eax, byte [rbx]
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
inc rbx
inc eax
mov byte [rsp + 0x2a], al
call method.std::basic_ostream_char__std::char_traits_char____std::__ostream_insert_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const__long_long_
cmp rbx, rbp
jne 0x4dfe80
lea rcx, [0x0050e040]
call method.std::basic_ofstream_char__std::char_traits_char___.close__
lea rcx, str.._file.bat
call sym.system
xor eax, eax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140027c84
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b594
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b594
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027dd4
cmp rax, 0xffffffffffffffff
je 0x140027dd4
xor edi, edi
test rbp, rbp
jle 0x140027d7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dea8
mov rbx, rax
test rax, rax
jne 0x140027d0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027d75
mov edx, 0x8000
mov ecx, r14d
call fcn.140018f00
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c270
cmp eax, 0xffffffff
je 0x140027d55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027d1c
mov edx, r15d
mov ecx, r14d
call fcn.140018f00
jmp 0x140027d75
cmp byte [rsi + 0x38], dil
je 0x140027d6c
cmp dword [rsi + 0x34], 5
jne 0x140027d6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027d75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019c58
jmp 0x140027de8
jns 0x140027de8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b594
cmp rax, 0xffffffffffffffff
jne 0x140027da0
cmp byte [rsi + 0x30], dil
je 0x140027de8
mov edi, dword [rsi + 0x2c]
jmp 0x140027de8
mov ecx, r14d
call fcn.140017a2c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027de8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027de8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027de1
mov eax, dword [rsi + 0x2c]
jmp 0x140027de6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b594
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140028ee0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140028f08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140028f08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400018f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001942
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001942
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001942
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001942
cmp dword [rcx + 0x84], 0xe
jbe 0x140001942
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001944
xor al, al
add rsp, 0x28
ret
Function at 0x140001a90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140001ac3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140001b07
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x140001b02
cmp rbx, r11
jae 0x140001b07
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140001af0
cmp rbx, r11
jb 0x140001b0b
xor eax, eax
jmp 0x140001b17
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140004ab0
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0x1100
mov r9d, 0x400
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
call fcn.14000ba9c
mov rcx, rax
test rax, rax
setne bl
test ebx, ebx
jne 0x140004b15
mov ecx, 0x80004005
call fcn.140001fe0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov r9, qword [rsp + 0x78]
lea rdx, str.error__d_n_s
lea rcx, [rsp + 0x70]
call fcn.140001a60
mov rcx, qword [rsp + 0x70]
add rcx, 0xffffffffffffffe8
call fcn.1400026b0
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400068d0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400068d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov r14, rdx
mov rbx, rcx
xor eax, eax
or r12, 0xffffffffffffffff
mov rcx, r12
lea rdi, [0x14003f43c]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x14003f43c]
mov rcx, r14
call fcn.1400025a0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r13, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp dword [rbx + 0x248], 0
je 0x140006a43
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileType]
test al, 1
jne 0x140006a12
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, r12d
mov r8, qword [r14]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.14000b1e8
mov rsi, rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, r12d
mov r8, qword [r14]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov ebx, eax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
xor eax, eax
mov rcx, r12
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x90]
mov rdx, rsi
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov rcx, rsi
call fcn.14000b1e0
jmp 0x140006ac4
mov rdx, qword [r14]
mov r8d, dword [rdx - 0x10]
add r8d, r8d
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x90]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x140006ac4
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov ebp, eax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov rdx, qword [r14]
movsxd rbx, dword [rdx - 0x10]
lea ecx, [rbx + 1]
movsxd rcx, ecx
call fcn.14000b1e8
mov rsi, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.140022e00
mov r8d, ebx
mov rdx, rsi
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_CharToOemBuffW]
mov byte [rbx + rsi], 0
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x90]
mov r8d, ebx
mov rdx, rsi
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov rcx, rsi
call fcn.14000b1e0
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x140006ae2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000a080
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rdi
mov r11, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
lea r10, [r11 + 0x40]
mov r8, rdx
repne scasb al, byte [rdi]
mov rdi, r10
not rcx
lea r9, [rcx - 1]
xor ecx, ecx
nop word [rax + rax]
xor edx, edx
mov eax, ecx
inc rdi
div r9d
movzx eax, byte [rdx + r8]
mov byte [rdi - 1], cl
inc ecx
cmp ecx, 0xff
mov byte [rdi + 0xff], al
jle 0x14000a0b0
xor r9b, r9b
mov r8d, 0x100
nop dword [rax + rax]
movzx edi, byte [r10]
movzx eax, byte [r10 + 0x100]
movzx ecx, r9b
add eax, edi
inc r10
add eax, ecx
cdq
movzx edx, dl
add eax, edx
movzx eax, al
sub eax, edx
sub r8, 1
movzx edx, al
mov r9d, eax
movzx ecx, byte [rdx + r11 + 0x40]
mov byte [r10 - 1], cl
mov byte [rdx + r11 + 0x40], dil
jne 0x14000a0e0
mov rdi, qword [rsp + 8]
ret

Function at 0x14000a130
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov ebp, r8d
mov r13, rcx
mov rdi, r9
lea eax, [rbp + 1]
mov r12, rdx
mov ecx, eax
mov ebx, eax
call fcn.14000b1e8
mov r8, rbx
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.140022e00
mov rdx, rdi
mov rcx, r13
call fcn.14000a080
xor bl, bl
xor dil, dil
test ebp, ebp
je 0x14000a202
mov r10, rsi
sub r12, rsi
mov r11, rbp
nop dword [rax]
movzx eax, bl
inc r10
inc eax
cdq
movzx edx, dl
add eax, edx
movzx eax, al
sub eax, edx
movzx r9d, al
mov ebx, eax
movzx eax, dil
movzx r8d, byte [r9 + r13 + 0x40]
add eax, r8d
cdq
movzx edx, dl
add eax, edx
movzx eax, al
sub eax, edx
movzx edx, al
mov edi, eax
movzx ecx, byte [rdx + r13 + 0x40]
mov byte [r9 + r13 + 0x40], cl
mov byte [rdx + r13 + 0x40], r8b
movzx eax, byte [r9 + r13 + 0x40]
add eax, r8d
cdq
movzx edx, dl
add eax, edx
movzx eax, al
sub eax, edx
movsxd rcx, eax
movzx eax, byte [rcx + r13 + 0x40]
xor al, byte [r12 + r10 - 1]
sub r11, 1
mov byte [r10 - 1], al
jne 0x14000a190
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rax, rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x14000d028
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14001d4c8
mov rsi, rax
test rax, rax
je 0x14000d0a4
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14000d09f
cmp dword [rbx], 0x40
jb 0x14000d09f
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14000d09f
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14000d0a8
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140023830
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.140029f34
nop
cmp dword [0x1400508c8], 1
je 0x1400237dc
mov dword [0x1400508c4], 1
mov byte [0x1400508c0], r12b
test ebx, ebx
jne 0x1400237c8
mov rcx, qword [0x140052c30]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400237b5
mov rcx, qword [0x140052c28]
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 0x140023754
call fcn.140026ec8
cmp qword [rdi], rax
jne 0x140023754
jmp 0x14002373a
cmp rdi, rsi
jb 0x1400237b5
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140026ec8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140052c30]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140052c28]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140023793
cmp r13, rax
je 0x1400237b3
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 0x14002373a
lea rdx, [0x140037a20]
lea rcx, [0x140037a08]
call fcn.140023584
lea rdx, [0x140037a30]
lea rcx, [0x140037a28]
call fcn.140023584
nop
test r12d, r12d
je 0x1400237eb
mov ecx, 8
call fcn.140029e34
test r12d, r12d
jne 0x140023816
mov dword [0x1400508c8], 1
lea ecx, [r12 + 8]
call fcn.140029e34
mov ecx, r15d
call fcn.140023518
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 0x1400236a4

Function at 0x14002383c
Capabilities:
Terminate process

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

Disassembly:
cmp rcx, qword [0x14004b200]
jne 0x1400213ca
rol rcx, 0x10
test cx, 0xffff
jne 0x1400213c6
repz ret
ror rcx, 0x10
jmp 0x140024358
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140050970]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140050a68]
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 0x1400243dd
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, [0x140050970]
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 0x1400243ff
mov rax, qword [rsp + 0x88]
mov qword [0x140050a68], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140050a08], rax
mov rax, qword [0x140050a68]
mov qword [0x1400508e0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400509f0], rax
mov dword [0x1400508d0], 0xc0000409
mov dword [0x1400508d4], 1
mov rax, qword [0x14004b200]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14004b208]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140050968], eax
mov ecx, 1
call fcn.14002bf2c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14003bd18]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140050968], 0
jne 0x140024486
mov ecx, 1
call fcn.14002bf2c
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 0x14002e15c
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.140026ec8
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400517d8], rbx
jne 0x14002e262
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14002e337
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002e337
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14003d870]
mov rcx, rsi
mov qword [0x1400517d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14003d858]
mov rcx, rsi
mov qword [0x1400517e0], 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 [0x1400517e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400517f8], rax
test rax, rax
je 0x14002e259
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400517f0], rax
jmp 0x14002e269
mov rax, qword [0x1400517f0]
jmp 0x14002e270
mov rax, qword [0x1400517f0]
mov r11, qword [0x1400517f8]
cmp rax, rdi
je 0x14002e2d8
cmp r11, rdi
je 0x14002e2d8
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400517f8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14002e2d8
test rax, rax
je 0x14002e2d8
call rsi
test rax, rax
je 0x14002e2d2
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 0x14002e2d2
test byte [rsp + 0x38], 1
jne 0x14002e2d8
bts ebp, 0x15
jmp 0x14002e316
mov rcx, qword [0x1400517e0]
cmp rcx, rdi
je 0x14002e316
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002e316
call rax
mov rbx, rax
test rax, rax
je 0x14002e316
mov rcx, qword [0x1400517e8]
cmp rcx, rdi
je 0x14002e316
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002e316
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400517d8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002e337
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14002e339
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