joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006c8e0
Capabilities:
Read file on windows

Disassembly:
jmp 0x14006c8e8
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14006c930
call fcn.1400659b4
mov dword [rax], 0x16
call fcn.140065284
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14006c918
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14006c918
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14006c962
lock or dword [rax + 0x14], 0x10
jmp 0x14006c918
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14006c97f
mov rcx, qword [rbp + 0x10]
call fcn.140070680
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14006708c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14006d1ac
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14006c9d6
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14006c918
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14006ca42
mov rcx, qword [rbp + 0x10]
call fcn.14006708c
cmp eax, 0xffffffff
je 0x14006ca29
mov rcx, qword [rbp + 0x10]
call fcn.14006708c
cmp eax, 0xfffffffe
je 0x14006ca29
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14006708c
movsxd rdi, eax
lea rsi, [0x14009d690]
mov rcx, rbx
sar rdi, 6
call fcn.14006708c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14006ca30
lea rax, [0x14009b750]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14006ca42
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14006ca78
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14006ca74
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14006ca74
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14006c91b
Function at 0x14002943c
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.14001cb04
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001cb04
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002958c
cmp rax, 0xffffffffffffffff
je 0x14002958c
xor edi, edi
test rbp, rbp
jle 0x140029537
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f430
mov rbx, rax
test rax, rax
jne 0x1400294c4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002952d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a438
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.14001d7e0
cmp eax, 0xffffffff
je 0x14002950d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400294d4
mov edx, r15d
mov ecx, r14d
call fcn.14001a438
jmp 0x14002952d
cmp byte [rsi + 0x38], dil
je 0x140029524
cmp dword [rsi + 0x34], 5
jne 0x140029524
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002952d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b1cc
jmp 0x1400295a0
jns 0x1400295a0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001cb04
cmp rax, 0xffffffffffffffff
jne 0x140029558
cmp byte [rsi + 0x30], dil
je 0x1400295a0
mov edi, dword [rsi + 0x2c]
jmp 0x1400295a0
mov ecx, r14d
call fcn.1400188f4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400295a0
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 0x1400295a0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029599
mov eax, dword [rsi + 0x2c]
jmp 0x14002959e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001cb04
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 0x140014b18
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140019068]
test rax, rax
je 0x140014b62
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140014b62
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140014b62
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140014b62
cmp dword [rcx + 0x84], 0xe
jbe 0x140014b62
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140014b64
xor al, al
add rsp, 0x28
ret
Function at 0x140005120
Capabilities:
Set environment variable

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x140023018]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rdx, str.runtime
lea rcx, [rsp + 0x40]
call fcn.140001c80
lea rcx, [rsp + 0x40]
call fcn.140003040
test eax, eax
je 0x140005164
mov ebx, 3
jmp 0x14000531f
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_AttachConsole]
test eax, eax
je 0x1400052ae
mov ecx, 1
call fcn.14000bf8c
mov r8, rax
lea rdx, [0x140018c00]
lea rcx, [0x140018c08]
call fcn.14000c134
mov ecx, 2
call fcn.14000bf8c
mov r8, rax
lea rdx, [0x140018c00]
lea rcx, [0x140018c08]
call fcn.14000c134
mov ecx, 1
call fcn.14000bf8c
mov rcx, rax
call fcn.14000c014
test eax, eax
js 0x140005234
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140005030
cmp qword [rsp + 0x38], 0x10
lea rdx, [rsp + 0x20]
lea rcx, str.PYSTAND_STDOUT
cmovae rdx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140005234
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000522f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000534a
call fcn.140005498
xor ecx, ecx
call fcn.14000bf8c
mov rcx, rax
call fcn.14000c014
test eax, eax
js 0x1400052ae
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140005030
cmp qword [rsp + 0x38], 0x10
lea rdx, [rsp + 0x20]
lea rcx, str.PYSTAND_STDIN
cmovae rdx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400052ae
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400052a9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005350
call fcn.140005498
mov r8, qword [section..data]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140002260
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
cmovae rdx, qword [rsp + 0x20]
call fcn.140004370
mov rdx, qword [rsp + 0x38]
mov ebx, eax
cmp rdx, 8
jb 0x14000531f
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000531a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005344
call fcn.140005498
lea rcx, [rsp + 0x40]
call fcn.140002030
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140005850
add rsp, 0x170
pop rbx
ret
call fcn.14000bad4
int3
call fcn.14000bad4
int3
call fcn.14000bad4
int3

Function at 0x140006038
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006082
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006082
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006082
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006082
cmp dword [rcx + 0x84], 0xe
jbe 0x140006082
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140006084
xor al, al
add rsp, 0x28
ret
Function at 0x14000be60
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000bcbf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000bcbf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000bcbf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000bcbf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000bcbf
cmp dword [rcx + 0x84], 0xe
jbe 0x14000bcbf
cmp dword [rcx + 0xf8], 0
je 0x14000bcbf
mov ecx, ebx
call fcn.14000bd7c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000bb4c
nop
cmp dword [rbp + 0x20], 0
je 0x14000bd0d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000bd18
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000bc50
Function at 0x140010a48
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140010a78
xor eax, eax
jmp 0x140010b3b
mov rbp, rbx
cmp word [rax], si
je 0x140010a9d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140010a84
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140010a80
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140010998
movsxd r14, eax
test eax, eax
jne 0x140010adb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140010a71
mov rcx, r14
call fcn.14000efdc
mov rdi, rax
test rax, rax
jne 0x140010af4
xor ecx, ecx
call fcn.14000de94
jmp 0x140010ad0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140010998
test eax, eax
jne 0x140010b25
mov rcx, rdi
call fcn.14000de94
jmp 0x140010b2f
xor ecx, ecx
call fcn.14000de94
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400150b0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x140024820]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14001510e
cmp word [rdx], r12w
jne 0x14001510e
or byte [rax + r8*8 + 0x38], cl
jmp 0x140015114
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14001526f
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14001524a
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14001514d
mov rcx, r9
jmp 0x140015170
cmp r9, rdx
jae 0x140015187
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x140015131
jmp 0x14001526f
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140015244
cmp dword [rsp + 0x80], edi
je 0x140015244
mov rdx, r14
lea r11, [0x140024820]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14001521d
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400151f0
mov word [rbx], r12w
jmp 0x14001526b
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1400151f9
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14001526b
cmp word [rsp + 0x70], r12w
jne 0x14001522a
cmp rbx, rsi
je 0x1400151ea
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140014fd0
cmp word [rsp + 0x70], r12w
je 0x14001526f
mov word [rbx], r13w
jmp 0x14001526b
lea r11, [0x140024820]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140015267
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14001526f
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140015a40
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.140014fd0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140014fd0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140015b90
cmp rax, 0xffffffffffffffff
je 0x140015b90
xor edi, edi
test rbp, rbp
jle 0x140015b3b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14000de1c
mov rbx, rax
test rax, rax
jne 0x140015ac8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140015b31
mov edx, 0x8000
mov ecx, r14d
call fcn.14000cb60
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.140012b9c
cmp eax, 0xffffffff
je 0x140015b11
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140015ad8
mov edx, r15d
mov ecx, r14d
call fcn.14000cb60
jmp 0x140015b31
cmp byte [rsi + 0x38], dil
je 0x140015b28
cmp dword [rsi + 0x34], 5
jne 0x140015b28
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140015b31
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14000de94
jmp 0x140015ba4
jns 0x140015ba4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140014fd0
cmp rax, 0xffffffffffffffff
jne 0x140015b5c
cmp byte [rsi + 0x30], dil
je 0x140015ba4
mov edi, dword [rsi + 0x2c]
jmp 0x140015ba4
mov ecx, r14d
call fcn.140011004
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140015ba4
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 0x140015ba4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140015b9d
mov eax, dword [rsi + 0x2c]
jmp 0x140015ba2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140014fd0
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 0x1400019a0
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.1400027c4
nop
cmp dword [0x14000c130], 1
je 0x14000194c
mov dword [0x14000c12c], 1
mov byte [0x14000c128], r12b
test ebx, ebx
jne 0x140001938
mov rcx, qword [0x14000d2a0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140001925
mov rcx, qword [0x14000d298]
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 0x1400018c4
call fcn.140001ff4
cmp qword [rdi], rax
jne 0x1400018c4
jmp 0x1400018aa
cmp rdi, rsi
jb 0x140001925
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140001ff4
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14000d2a0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14000d298]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140001903
cmp r13, rax
je 0x140001923
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 0x1400018aa
lea rdx, [0x140008240]
lea rcx, [0x140008238]
call fcn.1400016f4
lea rdx, [0x140008250]
lea rcx, [0x140008248]
call fcn.1400016f4
nop
test r12d, r12d
je 0x14000195b
mov ecx, 8
call fcn.1400026c4
test r12d, r12d
jne 0x140001986
mov dword [0x14000c130], 1
lea ecx, [r12 + 8]
call fcn.1400026c4
mov ecx, r15d
call fcn.140001688
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 0x140001814

Function at 0x1400019ac
Capabilities:
Terminate process

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

Disassembly:
cmp rcx, qword [0x14000b010]
jne 0x14000164a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001646
repz ret
ror rcx, 0x10
jmp 0x140001d94
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000c1f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14000c2e8]
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 0x140001e19
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, [0x14000c1f0]
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 0x140001e3b
mov rax, qword [rsp + 0x88]
mov qword [0x14000c2e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000c288], rax
mov rax, qword [0x14000c2e8]
mov qword [0x14000c160], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000c270], rax
mov dword [0x14000c150], 0xc0000409
mov dword [0x14000c154], 1
mov rax, qword [0x14000b010]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000b018]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000c1e8], eax
mov ecx, 1
call fcn.140003eac
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400082a8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000c1e8], 0
jne 0x140001ec2
mov ecx, 1
call fcn.140003eac
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 0x140004e1c
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.140001ff4
xor ebx, ebx
mov rdi, rax
cmp qword [0x14000ce00], rbx
jne 0x140004f22
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140004ff7
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140004ff7
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000ce00], 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 [0x14000ce08], 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 [0x14000ce10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14000ce20], rax
test rax, rax
je 0x140004f19
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14000ce18], rax
jmp 0x140004f29
mov rax, qword [0x14000ce18]
jmp 0x140004f30
mov rax, qword [0x14000ce18]
mov r11, qword [0x14000ce20]
cmp rax, rdi
je 0x140004f98
cmp r11, rdi
je 0x140004f98
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14000ce20]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140004f98
test rax, rax
je 0x140004f98
call rsi
test rax, rax
je 0x140004f92
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 0x140004f92
test byte [rsp + 0x38], 1
jne 0x140004f98
bts ebp, 0x15
jmp 0x140004fd6
mov rcx, qword [0x14000ce08]
cmp rcx, rdi
je 0x140004fd6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140004fd6
call rax
mov rbx, rax
test rax, rax
je 0x140004fd6
mov rcx, qword [0x14000ce10]
cmp rcx, rdi
je 0x140004fd6
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140004fd6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000ce00]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140004ff7
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140004ff9
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 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x140012f60
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011280
Capabilities:
Execute command

Disassembly:
jmp 0x140011950
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x1400220a4]
call fcn.140011389
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
xor ecx, ecx
call fcn.140011b20
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
mov dword [rbp + 4], 0
jmp 0x140011999
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x14
jge 0x1400119ed
lea rcx, [0x14001ac3c]
call qword [sym.imp.ucrtbased.dll_system]
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0x64
idiv ecx
mov eax, edx
mov ecx, dword [rbp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x24], eax
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0x64
idiv ecx
mov eax, edx
mov ecx, dword [rbp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x44], eax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140011991
xor eax, eax
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400142b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400142d0
xor al, al
jmp 0x140014351
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400142e3
xor al, al
jmp 0x140014351
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001430d
xor al, al
jmp 0x140014351
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014321
xor al, al
jmp 0x140014351
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014333
xor al, al
jmp 0x140014351
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001434f
xor al, al
jmp 0x140014351
mov al, 1
add rsp, 0x38
ret