joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400012e0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rbx, rax
test edi, edi
jns 0x1400013b4
movzx eax, byte [rax]
test al, al
je 0x14000132a
cmp al, 0x20
je 0x14000132a
cmp al, 0x22
jne 0x14000131f
nop dword [rax]
movzx eax, byte [rbx + 1]
inc rbx
test al, al
je 0x14000131f
cmp al, 0x22
jne 0x140001310
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140001304
movzx ecx, byte [rbx]
call fcn.140005970
test eax, eax
je 0x140001350
nop word [rax + rax]
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.140005970
test eax, eax
jne 0x140001340
mov rdi, 0xffffffffffffffff
mov rcx, rdi
nop word [rax + rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140001360
inc rcx
call section..text
mov rdx, rax
sub rdx, rbx
nop word [rax + rax]
movzx ecx, byte [rbx]
mov byte [rbx + rdx], cl
lea rbx, [rbx + 1]
test cl, cl
jne 0x140001380
nop
cmp byte [rax + rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x140001390
cmp byte [rdi + rax - 1], 0x14
jne 0x140001469
mov byte [rax], 0
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
inc edi
mov qword [rsp + 0x38], rsi
movzx ecx, byte [rbx]
call fcn.140005970
test eax, eax
je 0x1400013e0
nop dword [rax]
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.140005970
test eax, eax
jne 0x1400013d0
movzx eax, byte [rbx]
mov rbp, rbx
cmp al, 0x22
jne 0x140001404
nop word [rax + rax]
movzx eax, byte [rbx + 1]
inc rbx
test al, al
je 0x140001417
cmp al, 0x22
jne 0x1400013f0
inc rbx
jmp 0x140001417
test al, al
je 0x140001417
cmp al, 0x20
je 0x140001417
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140001408
sub rdi, 1
jne 0x1400013c0
cmp byte [rbp], 0x22
jne 0x140001431
lea rax, [rbx - 1]
inc rbp
cmp byte [rax], 0x22
cmove rbx, rax
mov eax, ebx
sub eax, ebp
movsxd rdi, eax
lea rcx, [rdi + 1]
call section..text
mov r8, rdi
mov rdx, rbp
mov rcx, rax
mov rsi, rax
call fcn.140005a30
mov rcx, rsi
mov rax, rsi
mov rsi, qword [rsp + 0x38]
sub rcx, rbp
mov rbp, qword [rsp + 0x30]
mov byte [rcx + rbx], 0
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140002b64
Capabilities:
Parse pe header

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

Function at 0x140005cbc
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 0x140005d2b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005d2b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005d2b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005d2b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005d2b
cmp dword [rcx + 0x84], 0xe
jbe 0x140005d2b
cmp dword [rcx + 0xf8], 0
je 0x140005d2b
mov ecx, ebx
call fcn.140005ddc
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.140005bb8
nop
cmp dword [rbp + 0x20], 0
je 0x140005d79
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005d84
int3
xor r8d, r8d
xor edx, edx
jmp 0x140005cbc

Function at 0x140005ec0
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 0x140005d2b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005d2b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005d2b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005d2b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005d2b
cmp dword [rcx + 0x84], 0xe
jbe 0x140005d2b
cmp dword [rcx + 0xf8], 0
je 0x140005d2b
mov ecx, ebx
call fcn.140005ddc
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.140005bb8
nop
cmp dword [rbp + 0x20], 0
je 0x140005d79
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005d84
int3
xor r8d, r8d
xor edx, edx
jmp 0x140005cbc
Function at 0x14000cde0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1403f1200]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14000ce37
cmp word [rdx], r13w
jne 0x14000ce37
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14000ce3c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14000cf61
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14000cf82
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14000ce75
mov rdx, r9
mov word [rbx], cx
jmp 0x14000ce9c
cmp r9, r8
jae 0x14000ceac
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14000ce56
jmp 0x14000cf61
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000cf56
cmp dword [rsp + 0x80], esi
je 0x14000cf56
lea r8, [0x1403f1200]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14000cf2e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14000cefe
mov word [rbx], r13w
jmp 0x14000cf5e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14000cf0b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14000cf5e
cmp word [rsp + 0x70], r13w
jne 0x14000cf3b
cmp rbx, r14
je 0x14000cef8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001249c
cmp word [rsp + 0x70], r13w
je 0x14000cf61
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1403f1200]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14000cf5b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14000cf61
Function at 0x140010918
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 0x140010948
xor eax, eax
jmp 0x140010a0b
mov rbp, rbx
cmp word [rax], si
je 0x14001096d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140010954
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140010950
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.140010838
movsxd r14, eax
test eax, eax
jne 0x1400109ab
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140010941
mov rcx, r14
call fcn.14000d940
mov rdi, rax
test rax, rax
jne 0x1400109c4
xor ecx, ecx
call fcn.14000a978
jmp 0x1400109a0
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.140010838
test eax, eax
jne 0x1400109f5
mov rcx, rdi
call fcn.14000a978
jmp 0x1400109ff
xor ecx, ecx
call fcn.14000a978
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 0x140015004
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001501a
mov al, 1
jmp 0x14001507a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001502b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140015078
mov ecx, dword [rcx + 0x18]
nop
call fcn.14001131c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140015078
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140015078
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140015078
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001507a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140016050
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140009fac
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400160da
cmp byte [rbp - 0x21], r15b
je 0x1400160d5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140016110
call fcn.14000b240
test eax, eax
jne 0x1400160fc
cmp byte [rbp - 0x21], r15b
je 0x1400160f4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140016110
cmp byte [rbp - 0x21], r15b
je 0x14001610d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000ef84
test eax, eax
jne 0x1400161b0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140009fac
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001614f
cmp byte [rbp - 0x21], r15b
je 0x140016184
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140016184
call fcn.14000b240
test eax, eax
jne 0x140016170
cmp byte [rbp - 0x21], r15b
je 0x140016169
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140016184
cmp byte [rbp - 0x21], r15b
je 0x140016181
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000ef84
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400161b0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400161b3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400161c1
mov rcx, rdi
call fcn.14000a978
cmp byte [rbp + 0x3f], r15b
je 0x1400161d0
mov rcx, qword [rbp + 0x27]
call fcn.14000a978
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400165d0
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.14001249c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001249c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140016720
cmp rax, 0xffffffffffffffff
je 0x140016720
xor edi, edi
test rbp, rbp
jle 0x1400166cb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14000a900
mov rbx, rax
test rax, rax
jne 0x140016658
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400166c1
mov edx, 0x8000
mov ecx, r14d
call fcn.140009608
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.14000c778
cmp eax, 0xffffffff
je 0x1400166a1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140016668
mov edx, r15d
mov ecx, r14d
call fcn.140009608
jmp 0x1400166c1
cmp byte [rsi + 0x38], dil
je 0x1400166b8
cmp dword [rsi + 0x34], 5
jne 0x1400166b8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400166c1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14000a978
jmp 0x140016734
jns 0x140016734
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001249c
cmp rax, 0xffffffffffffffff
jne 0x1400166ec
cmp byte [rsi + 0x30], dil
je 0x140016734
mov edi, dword [rsi + 0x2c]
jmp 0x140016734
mov ecx, r14d
call fcn.14001131c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140016734
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 0x140016734
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14001672d
mov eax, dword [rsi + 0x2c]
jmp 0x140016732
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001249c
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 0x140018220
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140018248
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140018248
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x1423b3108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1423b328f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1423b3139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1423b311f
add dl, dl
jne 0x1423b3146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1423b31a6
xor eax, eax
add dl, dl
jne 0x1423b3155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1423b325d
add dl, dl
jne 0x1423b3166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1423b3173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1423b3180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1423b318d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1423b319a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1423b312e
mov eax, 1
add dl, dl
jne 0x1423b31b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1423b31c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1423b31ab
sub eax, ebx
mov ebx, 1
jne 0x1423b31fc
mov ecx, 1
add dl, dl
jne 0x1423b31de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1423b31eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1423b31d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1423b312e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1423b3218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1423b3225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1423b320d
cmp eax, 0x7d00
jae 0x1423b324b
cmp eax, 0x500
jb 0x1423b3246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1423b312e
cmp eax, 0x7f
ja 0x1423b324e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1423b312e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1423b3282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1423b312e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140013010
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 0x140011276
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x1400119a0
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1400230a2]
call fcn.14001137f
mov qword [rbp + 8], 0x110
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rbp + 8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140011a23
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.VirtualAlloc_failed_with_error:__d_n
call fcn.14001119a
mov eax, 1
jmp 0x140011a99
mov dword [rbp + 0x44], 0
mov r8, qword [rbp + 8]
lea rdx, [0x14001abb0]
mov rcx, qword [rbp + 0x28]
call fcn.1400111b8
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x28]
lea rcx, str.CreateThread
call fcn.140011262
lea r9, [rbp + 0x44]
mov r8d, 0x40
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140011a89
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.VirtualProtect_failed_with_error:__d_n
call fcn.14001119a
mov eax, 1
jmp 0x140011a99
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x68], rax
call qword [rbp + 0x68]
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001add0]
call fcn.140011311
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400111b3
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x140011280
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014360
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014380
xor al, al
jmp 0x140014401
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014393
xor al, al
jmp 0x140014401
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 0x1400143bd
xor al, al
jmp 0x140014401
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400143d1
xor al, al
jmp 0x140014401
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400143e3
xor al, al
jmp 0x140014401
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400143ff
xor al, al
jmp 0x140014401
mov al, 1
add rsp, 0x38
ret
Function at 0x140009690
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x48
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000979a
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000978f
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140009784
mov r8d, 0x7fff
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140009779
mov edx, 0x7fff
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140009779
mov r9, qword [rsp + 0x28]
lea r8, str._scmd.exe
mov edx, 0x7fff
mov rcx, qword [rsp + 0x30]
call fcn.14002356c
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140009779
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x14000979c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x48
ret
Function at 0x14000ea10
Capabilities:
Persist via run registry key

Disassembly:
sub rsp, 0x68
lea rdx, [rsp + 0x30]
lea rcx, [0x14005cf20]
call fcn.14000ed20
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14000eb6f
mov edx, 0xfffe
mov ecx, 0x40
call qword [0x140063cf0]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000eb64
lea rax, str.0BCBAC7A_800C_46ED_BA75_9F3CAE586B1F
mov qword [rsp + 0x28], rax
lea rax, str.Runtime_Broker.exe
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x38]
lea r8, str._s_s__s
mov edx, 0x7fff
mov rcx, qword [rsp + 0x40]
call qword [0x140064438]
mov dword [rsp + 0x50], eax
cmp dword [0x14005ebd0], 1
jne 0x14000eaf4
lea r8, [rsp + 0x48]
lea rdx, [0x140034900]
mov rcx, 0xffffffff80000001
call qword [0x140064290]
test eax, eax
jne 0x14000eaf4
mov eax, dword [rsp + 0x50]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14005f554]
mov rcx, qword [rsp + 0x48]
call qword [0x140064288]
mov rcx, qword [rsp + 0x48]
call qword [0x140064298]
cmp dword [0x14005ebcc], 1
jne 0x14000eb59
lea r8, [rsp + 0x48]
lea rdx, [0x140034960]
mov rcx, 0xffffffff80000002
call qword [0x140064290]
test eax, eax
jne 0x14000eb59
mov eax, dword [rsp + 0x50]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14005f5a2]
mov rcx, qword [rsp + 0x48]
call qword [0x140064288]
mov rcx, qword [rsp + 0x48]
call qword [0x140064298]
mov rcx, qword [rsp + 0x40]
call qword [0x140063d08]
mov rcx, qword [rsp + 0x38]
call qword [0x140063d08]
mov eax, 1
add rsp, 0x68
ret

Function at 0x14000eb80
Capabilities:
Persist via run registry key

Disassembly:
sub rsp, 0x38
cmp dword [0x14005ebd0], 1
jne 0x14000ebc7
lea r8, [rsp + 0x20]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [0x140064290]
test eax, eax
jne 0x14000ebc7
lea rdx, [0x14005f554]
mov rcx, qword [rsp + 0x20]
call qword [0x1400642e0]
mov rcx, qword [rsp + 0x20]
call qword [0x140064298]
cmp dword [0x14005ebcc], 1
jne 0x14000ec0a
lea r8, [rsp + 0x20]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call qword [0x140064290]
test eax, eax
jne 0x14000ec0a
lea rdx, [0x14005f5a2]
mov rcx, qword [rsp + 0x20]
call qword [0x1400642e0]
mov rcx, qword [rsp + 0x20]
call qword [0x140064298]
mov eax, 1
add rsp, 0x38
ret