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

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbx, rcx
call sym.rwl_ref.constprop.0
test eax, eax
je 0x1400261c8
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rsi, qword [rbx]
lea rdi, [rsi + 0x18]
mov rcx, rdi
call sym.pthread_mutex_lock
test eax, eax
mov ebp, eax
jne 0x140026219
lea r12, [rsi + 0x20]
mov rcx, r12
call sym.pthread_mutex_lock
test eax, eax
mov ebp, eax
jne 0x1400262b0
mov edx, dword [rsi + 8]
test edx, edx
jne 0x140026214
mov edx, dword [rsi + 0x10]
mov eax, dword [rsi + 0xc]
test edx, edx
jle 0x140026210
sub eax, edx
mov dword [rsi + 0x10], 0
mov dword [rsi + 0xc], eax
test eax, eax
jg 0x140026230
lock add dword [rsi + 8], 1
mov edx, ebp
mov rcx, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.rwl_unref
mov qword [rsp + 0x28], rsi
lea r13, [rsi + 0x28]
neg eax
mov dword [rsi + 0x10], eax
lea rax, [sym.st_cancelwrite]
mov qword [rsp + 0x20], rax
call sym.pthread_getclean
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call sym.pthread_getclean
lea rdx, [rsp + 0x20]
mov qword [rax], rdx
lock or qword [rsp], 0
jmp 0x14002627f
mov eax, dword [rsi + 0x10]
test eax, eax
jns 0x1400262c0
mov rdx, r12
mov rcx, r13
call sym.pthread_cond_wait
test eax, eax
mov edi, eax
je 0x140026278
call sym.pthread_getclean
mov rdx, qword [rsp + 0x30]
mov ebp, edi
mov qword [rax], rdx
mov rcx, qword [rsp + 0x28]
call qword [rsp + 0x20]
jmp 0x140026219
mov rcx, rdi
call sym.pthread_mutex_unlock
jmp 0x140026219
call sym.pthread_getclean
mov rdx, qword [rsp + 0x30]
mov qword [rax], rdx
mov dword [rsi + 0xc], 0
jmp 0x140026214
Function at 0x1400262e0
Capabilities:
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
test rcx, rcx
mov rbx, rcx
mov rsi, rdx
je 0x140026390
test rdx, rdx
je 0x140026390
call sym.rwl_ref.constprop.0
test eax, eax
je 0x140026320
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rdi, qword [rbx]
mov rdx, rsi
lea rbp, [rdi + 0x18]
mov rcx, rbp
call sym.pthread_mutex_timedlock
test eax, eax
mov edx, eax
jne 0x140026377
lea r13, [rdi + 0x20]
mov rdx, rsi
mov rcx, r13
call sym.pthread_mutex_timedlock
test eax, eax
mov r12d, eax
jne 0x1400263a8
mov edx, dword [rdi + 8]
test edx, edx
jne 0x14002636f
mov edx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
test edx, edx
jle 0x14002636b
sub eax, edx
mov dword [rdi + 0x10], 0
mov dword [rdi + 0xc], eax
test eax, eax
jg 0x1400263b8
lock add dword [rdi + 8], 1
mov edx, r12d
mov rcx, rbx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sym.rwl_unref
mov eax, 0x16
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, rbp
call sym.pthread_mutex_unlock
jmp 0x140026374
mov qword [rsp + 0x28], rdi
lea r14, [rdi + 0x28]
neg eax
mov dword [rdi + 0x10], eax
lea rax, [sym.st_cancelwrite]
mov qword [rsp + 0x20], rax
call sym.pthread_getclean
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call sym.pthread_getclean
lea rdx, [rsp + 0x20]
mov qword [rax], rdx
lock or qword [rsp], 0
jmp 0x140026404
test ebp, ebp
jne 0x14002641b
mov r8, rsi
mov rdx, r13
mov rcx, r14
call sym.pthread_cond_timedwait
mov ebp, eax
mov eax, dword [rdi + 0x10]
test eax, eax
js 0x140026400
call sym.pthread_getclean
mov rdx, qword [rsp + 0x30]
test ebp, ebp
mov qword [rax], rdx
jne 0x140026440
mov dword [rdi + 0xc], 0
jmp 0x14002636f
mov rcx, qword [rsp + 0x28]
mov r12d, ebp
call qword [rsp + 0x20]
jmp 0x140026374
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14000a8d0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14000a8e0]
mov dword [rax], 1
mov rax, qword [0x14000a8f0]
mov dword [rax], 1
mov rax, qword [0x14000a850]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14000a8c0]
mov dword [0x14000d00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14000a9a0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14000a980]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14000a830]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001a75
Capabilities:
Get system information on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov dword [rbp - 4], 1
lea rax, [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call rax
mov eax, dword [rbp - 0x20]
mov dword [rbp - 8], eax
mov eax, dword [rbp - 8]
cmp eax, dword [rbp - 4]
jg 0x140001aac
mov ecx, 1
call sym.exit
nop
add rsp, 0x60
pop rbp
ret

Function at 0x140001ab3
Capabilities:
Get memory capacity

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov dword [rbp - 0x40], 0x40
lea rax, [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
mov rax, qword [rbp - 0x38]
test rax, rax
js 0x140001ae6
pxor xmm0, xmm0
cvtsi2ss xmm0, rax
jmp 0x140001aff
mov rdx, rax
shr rdx, 1
and eax, 1
or rdx, rax
pxor xmm0, xmm0
cvtsi2ss xmm0, rdx
addss xmm0, xmm0
movss xmm2, dword [0x14000a14c]
movups xmm1, xmm0
divss xmm1, xmm2
movss xmm0, dword [0x14000a150]
comiss xmm0, xmm1
jbe 0x140001b25
mov ecx, 1
call sym.exit
nop
add rsp, 0x60
pop rbp
ret

Function at 0x140001bad
Capabilities:
Hide graphical window

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
call dbg.__main
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
mov ecx, 0xa
call sym.SL
call sym.CPUCheck
call sym.MemCheck
mov dword [rbp - 4], 0
jmp 0x140001c4e
mov eax, dword [rbp - 4]
mov ecx, eax
call sym.factorial
mov qword [rbp - 0x10], rax
mov rdx, qword [rbp - 0x10]
mov eax, dword [rbp - 4]
mov r8, rdx
mov edx, eax
lea rax, str.Factorial_of__d_is__llu_n
mov rcx, rax
call sym.printf
mov eax, dword [rbp - 4]
mov ecx, eax
call sym.fibonacci
mov qword [rbp - 0x10], rax
mov rdx, qword [rbp - 0x10]
mov eax, dword [rbp - 4]
mov r8, rdx
mov edx, eax
lea rax, str.The__dth_Fibonacci_number_is__llu_n
mov rcx, rax
call sym.printf
add dword [rbp - 4], 1
cmp dword [rbp - 4], 0x2d
jle 0x140001bf8
call sym.DL
mov dword [rbp - 8], eax
mov rax, qword [0x14000d038]
cmp rax, 9
ja 0x140001c74
mov qword [0x14000d038], 8
call sym.DirectPointer
mov eax, 0
add rsp, 0x30
pop rbp
ret

Function at 0x140001fa0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140002010
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000d0c4]
mov rbx, rcx
test esi, esi
jle 0x140002140
mov rax, qword [0x14000d0c8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000205b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400020e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002040
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140002162
mov rax, qword [0x14000d0c8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000d0c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002147
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400020de
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400020f0
add dword [0x14000d0c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000d0c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400020de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140002068
mov rax, qword [0x14000d0c8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400026f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000d120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000d100]
test rbx, rbx
je 0x14000274c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140002743
test eax, eax
jne 0x140002743
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002728
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002960
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002978
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002980
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140002990
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400029dd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400029d4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400029df
add rax, 0x28
cmp rax, r9
jne 0x1400029c0
xor eax, eax
ret

Function at 0x1400029e0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002a70
mov rdx, qword [0x14000a850]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x140002a5e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140002a5e
cmp word [rax + 0x18], 0x20b
jne 0x140002a5e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002a70
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002a49
add rbx, 0x28
cmp rbx, rdi
je 0x140002a70
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002a40
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002a80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a850]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002aa0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002aa8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002aa0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140002afd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002af4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002aa0
add rax, 0x28
cmp rax, r9
jne 0x140002ae0
xor eax, eax
ret

Function at 0x140002b00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a850]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140002b1f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002b28
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002b1f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002b40
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000a850]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002b60
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002b68
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002b60
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002bb0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002ba7
test rcx, rcx
je 0x140002b60
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140002b98
xor eax, eax
ret
Function at 0x140002bc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a850]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140002bdf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002be8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002c00
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a850]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002c20
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002c28
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002c20
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002c20
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002c74
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002c80
add rdx, 0x28
cmp rdx, r9
jne 0x140002c60
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002c90
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14000a850]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002cb2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002cc0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002cb2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002cb2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002cb2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002d15
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002d28
add rdx, 0x28
cmp r10, rdx
jne 0x140002d00
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002d37
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002d47
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002d1e
test ecx, ecx
jg 0x140002d30
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14001be3c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x14001be89
cmp rcx, 0xffffffffffffffff
je 0x14001be89
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001be81
cmp dword [rcx + 0x3c], edx
jl 0x14001be81
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14001be81
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 0x14001be89
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400013e0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xe0
xor eax, eax
xor edi, edi
mov rbx, rcx
lea rcx, [rsp + 0x70]
lea r8d, [rdi + 0x68]
xor edx, edx
mov dword [rsp + 0xf0], edi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.140001ce0
lea edx, [rdi + 1]
lea rcx, [0x1400013b0]
mov dword [rsp + 0x70], 0x68
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea r11, [rsp + 0x50]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001499
call fcn.140001a60
lea rdx, str.failed_to_create_process._n
lea rcx, [rax + 0x60]
call fcn.1400018e8
xor eax, eax
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rdi
ret
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
mov dword [0x140013540], eax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x1400014f0
call fcn.140001a60
lea rdx, str.failed_to_get_exit_code_from_process._n
lea rcx, [rax + 0x60]
call fcn.1400018e8
xor eax, eax
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rdi
ret
mov eax, dword [rsp + 0xf0]
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rdi
ret
Function at 0x140002940
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.1400046b4
nop
cmp dword [0x140013598], 1
je 0x1400028ec
mov dword [0x140013594], 1
mov byte [0x140013590], r12b
test ebx, ebx
jne 0x1400028d8
mov rcx, qword [0x1400145a0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400028c5
mov rcx, qword [0x140014598]
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 0x140002864
call fcn.1400056f8
cmp qword [rdi], rax
jne 0x140002864
jmp 0x14000284a
cmp rdi, rsi
jb 0x1400028c5
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400056f8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400145a0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140014598]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400028a3
cmp r13, rax
je 0x1400028c3
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 0x14000284a
lea rdx, [0x14000f2e8]
lea rcx, [0x14000f2d0]
call fcn.140002694
lea rdx, [0x14000f2f8]
lea rcx, [0x14000f2f0]
call fcn.140002694
nop
test r12d, r12d
je 0x1400028fb
mov ecx, 8
call fcn.1400045b4
test r12d, r12d
jne 0x140002926
mov dword [0x140013598], 1
lea ecx, [r12 + 8]
call fcn.1400045b4
mov ecx, r15d
call fcn.140002628
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 0x1400027b4

Function at 0x14000294c
Capabilities:
Terminate process

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

Disassembly:
cmp rcx, qword [0x1400123c0]
jne 0x14000235a
rol rcx, 0x10
test cx, 0xffff
jne 0x140002356
repz ret
ror rcx, 0x10
jmp 0x1400049bc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400138b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400139a8]
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 0x140004a41
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, [0x1400138b0]
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 0x140004a63
mov rax, qword [rsp + 0x88]
mov qword [0x1400139a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140013948], rax
mov rax, qword [0x1400139a8]
mov qword [0x140013820], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140013930], rax
mov dword [0x140013810], 0xc0000409
mov dword [0x140013814], 1
mov rax, qword [0x1400123c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400123c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400138a8], eax
mov ecx, 1
call fcn.1400072e4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000f470]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400138a8], 0
jne 0x140004aea
mov ecx, 1
call fcn.1400072e4
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 0x1400097ac
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.1400056f8
xor ebx, ebx
mov rdi, rax
cmp qword [0x140014270], rbx
jne 0x1400098b2
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140009987
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140009987
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140014270], 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 [0x140014278], 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 [0x140014280], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140014290], rax
test rax, rax
je 0x1400098a9
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140014288], rax
jmp 0x1400098b9
mov rax, qword [0x140014288]
jmp 0x1400098c0
mov rax, qword [0x140014288]
mov r11, qword [0x140014290]
cmp rax, rdi
je 0x140009928
cmp r11, rdi
je 0x140009928
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140014290]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140009928
test rax, rax
je 0x140009928
call rsi
test rax, rax
je 0x140009922
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 0x140009922
test byte [rsp + 0x38], 1
jne 0x140009928
bts ebp, 0x15
jmp 0x140009966
mov rcx, qword [0x140014278]
cmp rcx, rdi
je 0x140009966
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140009966
call rax
mov rbx, rax
test rax, rax
je 0x140009966
mov rcx, qword [0x140014280]
cmp rcx, rdi
je 0x140009966
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140009966
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140014270]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140009987
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140009989
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