joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14019e8b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.140222910
sub rsp, rax
mov rbx, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.140142460
test eax, eax
je 0x14019e8ef
xor edx, edx
mov rcx, rbx
call fcn.1401428e0
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbp
mov ebp, dword [rsi + 8]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r14
mov r14, qword [rsi]
lea eax, [rbp - 1]
movsxd rdi, eax
xor eax, eax
mov rcx, qword [r14 + rdi*8]
cmp rcx, 1
sete al
sub ebp, eax
cmp rsi, rbx
je 0x14019e937
mov edx, ebp
mov rcx, rbx
call fcn.140142e80
test rax, rax
je 0x14019e99d
mov eax, dword [rsi + 0x10]
mov dword [rbx + 0x10], eax
mov rcx, qword [r14 + rdi*8]
mov rax, qword [rbx]
mov rdx, rcx
xor rdx, 1
inc rdx
neg rdx
shl rdx, 0x3f
lea r8, [rax + rdi*8]
shr rcx, 1
je 0x14019e957
mov qword [r8], rcx
test rdi, rdi
jle 0x14019e98e
sub r14, rax
nop
mov rcx, qword [r14 + r8 - 8]
lea r8, [r8 - 8]
mov rax, rcx
dec rdi
shr rax, 1
or rax, rdx
mov rdx, rcx
xor rdx, 1
mov qword [r8], rax
inc rdx
neg rdx
shl rdx, 0x3f
test rdi, rdi
jg 0x14019e960
mov dword [rbx + 8], ebp
test ebp, ebp
jne 0x14019e998
mov dword [rbx + 0x10], ebp
mov eax, 1
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x1401c7590
Capabilities:
Encode data using xor

Disassembly:
mov eax, gethostname
call fcn.140222910
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x1401c75b9
lea rax, [0x1401c5c00]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.1401be880
lea rax, [0x1401c4dc0]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.1401be5d0

Function at 0x1401dce10
Capabilities:
Encode data using xor

Disassembly:
mov eax, gethostname
call fcn.140222910
sub rsp, rax
mov r10, rdx
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
add rdx, 0xf
lea rax, [r8 + 0xf]
mov r11, rcx
cmp r10, rax
ja 0x1401dce63
xor ecx, ecx
cmp rdx, r8
jb 0x1401dce63
sub r8, r10
lea rax, [rcx + r10]
mov edx, reloc.WS2_32.dll_recv
sub rdx, rcx
nop
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1401dce50
jmp 0x1401dce76
movdqu xmm1, xmmword [r10]
movdqu xmm0, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [r10], xmm1
mov rcx, qword [r11 + 8]
lea r8, [rsp + 0x40]
mov r9, r10
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov rdx, r10
call fcn.14015b8a0
test eax, eax
je 0x1401dcea7
cmp dword [rsp + 0x40], 0x10
jne 0x1401dcea7
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret

Function at 0x1401dd050
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1401dd0d8
test r8, r8
je 0x1401dd0d8
mov rax, qword [rcx + 0x18]
cmp r8, rax
mov r9, rax
cmovb r9, r8
test r9, r9
je 0x1401dd096
add rcx, 0x20
mov r11, rdx
sub r11, r10
nop
movzx eax, byte [r11 + rcx - 0x20]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r9, 1
jne 0x1401dd080
mov rax, qword [r10 + 0x18]
cmp r8, rax
jbe 0x1401dd0d8
sub r8, rax
cmp r8, 0x10
jbe 0x1401dd0ac
mov r8d, reloc.WS2_32.dll_recv
jmp 0x1401dd0b1
test r8, r8
je 0x1401dd0d8
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r10 + 0x18]
add rax, rcx
movzx eax, byte [rax + rdx]
xor byte [r10 + rcx + 0x40], al
inc rcx
cmp rcx, r8
jb 0x1401dd0c0
ret
Function at 0x140222cb0
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x140005490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400054a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.140002f70
jmp 0x14000123c
mov rax, qword [0x1400054a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400054a0]
mov dword [rax], 1
mov rax, qword [0x1400054e0]
mov rdx, rax
mov rax, qword [0x1400054d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x140009024], 1
mov rax, qword [0x1400054a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400054c0]
mov rdx, rax
mov rax, qword [0x1400054b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400054a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x140005490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400053e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400053e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400021f8
mov rax, qword [0x140005520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140005480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400019f0
mov eax, dword [0x140009004]
lea rdx, [0x140009008]
mov ecx, eax
call fcn.14000147c
call fcn.140001787
mov rax, qword [0x140005410]
mov rax, qword [rax]
mov rdx, qword [0x140009010]
mov qword [rax], rdx
mov rcx, qword [0x140009010]
mov rdx, qword [0x140009008]
mov eax, dword [0x140009004]
mov r8, rcx
mov ecx, eax
call fcn.140003210
mov dword [0x14000901c], eax
mov eax, dword [0x140009020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14000901c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x140009024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14000901c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140005440]
mov dword [rax], 1
mov rax, qword [0x140005450]
mov dword [rax], 1
mov rax, qword [0x140005460]
mov dword [rax], 1
mov rax, qword [0x140005400]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001a00
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.140002d60
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x1400026d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140009168]
test eax, eax
je 0x14000276a
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140009170]
mov qword [rbp - 8], rax
jmp 0x14000274e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140002742
cmp qword [rbp - 0x10], 0
je 0x140002742
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002708
lea rax, [0x140009140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000276b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x14001527c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400152fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400152f1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400152f1
mov rax, qword [rbp - 8]
jmp 0x14001530f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400152c4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001c54
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x1400306f8], rbx
je 0x1400194a3
cmp rax, rbx
jne 0x140019496
mov ebx, 1
mov esi, ebx
jmp 0x1400194a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001947b
mov ebx, 1
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x1400194c0
mov edi, 0x1f
mov ecx, edi
call fcn.1401af000
jmp 0x14001952c
mov eax, dword [0x140030700]
test eax, eax
jne 0x140019521
mov dword [0x140030700], ebx
lea r15, [0x14001dcb8]
lea rdi, [0x14001dca0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140019513
test eax, eax
jne 0x140019517
cmp qword [rdi], r14
je 0x140019508
mov rax, qword [rdi]
mov rcx, qword [0x14001dc18]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400194ea
test eax, eax
je 0x140019527
mov eax, 0xff
jmp 0x140019682
mov dword [0x14002ffb4], ebx
mov edi, 0x1f
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x140019553
lea rdx, [0x14001dc98]
lea rcx, [0x14001dc20]
call sub.msvcrt.dll__initterm
mov dword [0x140030700], 2
test esi, esi
jne 0x140019561
mov rax, r14
xchg qword [0x1400306f8], rax
cmp qword [0x140030718], r14
je 0x140019594
lea rcx, [0x140030718]
call fcn.140019a50
test eax, eax
je 0x140019594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140030718]
mov r9, qword [0x14001dc18]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400195ad
mov eax, 0xff
jmp 0x140019682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140019633
test ax, ax
je 0x1400195c8
test edx, edx
jne 0x140019633
sub ax, bx
cmp ax, di
ja 0x1400195de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400195c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003e4c
mov dword [0x14002ffb0], eax
cmp dword [0x14002ffd0], r14d
jne 0x14001961c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002ffb4], r14d
jne 0x140019631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002ffb0]
jmp 0x140019682
cmp ax, 0x22
jne 0x140019647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400195b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140019ad0
add rsp, 0x28
jmp 0x14001943c
Function at 0x14012b84f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
invalid
sbb eax, 0x48fffffa
test esi, ebp
jns 0x14012ac8f
pushfq
lea ebp, [rcx + 0x641a]
jl 0x14012b738
invalid
or edi, 0x4d8713f0
test ecx, 0x1eb37156
jmp 0x14012b447
jmp rcx
je 0x14012b5bd
jne 0x14012b5bd
jmp 0x14012aaf8
jmp 0x14012ada7
mov ch, 0x98
add dword [rax], eax
add byte [rdi + rax*4 - 0xf], cl
enter 0, 0
jae 0x14012b59e
jmp 0x14012bbd4
pop rbx
xor ecx, 0x6911a5d9
test rcx, rbp
nop
jne 0x14012b69e
je 0x14012bc20
jne 0x14012bc20
test r10, rbp
popf
call rcx
rcl esi, 5
add edx, 0x29a1d210
test r14, rbx
jne 0x14012c333
add edi, 0x3080ccc3
lea r8d, [rdx - 0x41a5]
lea r14d, [rdi - 0x23ad]
cpuid
or ecx, 0x4a5d680a
movabs r13, 0x16a2f5a8420a6ceb
jmp 0x14012bc8e
div r11
jbe 0x14012adb5
test r12, rdx
jmp rax
jmp rax
mov ebp, 0xf0f28ccc
dec rbx
call fcn.14012c35b
rcr r10d, 0x55
jmp rcx

Function at 0x14012c35b
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
popfq
jmp rax
jns 0x14012c35c
invalid
dec dword [rax - 0x41]
jmp 0x14012c6b3
add byte [rax], al
and ebp, ecx
push 0
add byte [rax], al
lea r12d, [rbp - 0xfa00]
nop
or r15d, 0xa1272ff3
lea r13d, [rdx - 0xc44f]
bswap r8
dec rsi
lea edi, [rdi - 0x29d7]
je 0x14012c720
jne 0x14012c720
mov r9d, 0x1419773f
div r9
jno 0x14012d60a
lea r9d, [rbx + 0xff11]
jno 0x14012c3cf
sub esi, 0xa830f784
inc r10
jge 0x14012c624
jmp 0x14012c1ef
add byte [rdx], ch
jae 0x14012d686
jge 0x14012d5d7
pop r14
div dh
div dh
mov byte [rdx], 0
add byte [rcx - 0x79], cl
invalid
Function at 0x1400010d0
Capabilities:
Enumerate process modules

Disassembly:
push rdi
mov eax, 0x2250
call fcn.140001f90
sub rsp, rax
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x2240], rax
xor edi, edi
lea r8, [rsp + 0x28]
mov edx, 0x2000
mov dword [rsp + 0x28], edi
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x2c], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x140001134
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____EnumProcesses_Failed_With_Error_:__d__n
call fcn.140001070
xor eax, eax
jmp 0x140001251
mov qword [rsp + 0x2268], rbp
lea rcx, str._i__Number_Of_Processes_Detected_:__d__n
mov ebp, dword [rsp + 0x28]
shr ebp, 2
mov edx, ebp
call fcn.140001070
test ebp, ebp
je 0x140001244
mov qword [rsp + 0x2260], rbx
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x2270], rsi
nop
mov r8d, dword [rbx]
test r8d, r8d
je 0x140001226
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x140001226
lea r9, [rsp + 0x2c]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
jne 0x1400011cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [rbx]
lea rcx, str.____EnumProcessModules_Failed___At_Pid:__d___With_Error_:__d__n
mov r8d, eax
call fcn.140001070
jmp 0x14000121d
mov rdx, qword [rsp + 0x20]
lea r8, [rsp + 0x2030]
mov r9d, 0x104
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
jne 0x140001204
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [rbx]
lea rcx, str.____GetModuleBaseName_Failed___At_Pid:__d___With_Error_:__d__n
mov r8d, eax
call fcn.140001070
jmp 0x14000121d
mov r9d, dword [rbx]
lea r8, [rsp + 0x2030]
mov edx, edi
lea rcx, str.__0.3d__Process___s____Of_Pid_:__d__n
call fcn.140001010
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add rbx, 4
cmp edi, ebp
jb 0x140001170
mov rsi, qword [rsp + 0x2270]
mov rbx, qword [rsp + 0x2260]
mov rbp, qword [rsp + 0x2268]
mov eax, 1
mov rcx, qword [rsp + 0x2240]
xor rcx, rsp
call fcn.140001290
add rsp, 0x2250
pop rdi
ret

Function at 0x140001b64
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001bae
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001bae
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001bae
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001bae
cmp dword [rcx + 0x84], 0xe
jbe 0x140001bae
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001bb0
xor al, al
add rsp, 0x28
ret
Function at 0x14165e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14165e1df
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 0x14165e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14165e06f
add dl, dl
jne 0x14165e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14165e0f6
xor eax, eax
add dl, dl
jne 0x14165e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14165e1ad
add dl, dl
jne 0x14165e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14165e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14165e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14165e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14165e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14165e07e
mov eax, 1
add dl, dl
jne 0x14165e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14165e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14165e0fb
sub eax, ebx
mov ebx, 1
jne 0x14165e14c
mov ecx, 1
add dl, dl
jne 0x14165e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14165e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14165e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14165e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14165e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14165e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14165e15d
cmp eax, 0x7d00
jae 0x14165e19b
cmp eax, 0x500
jb 0x14165e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14165e07e
cmp eax, 0x7f
ja 0x14165e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14165e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14165e1d2
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 0x14165e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400022e0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov esi, ecx
mov rbx, rdx
cmp ecx, 1
jle 0x140002388
movzx eax, byte [section..data]
lea r12, section..data
test al, 1
jne 0x140002528
lea edx, [rsi - 1]
lea rbp, [0x1400055dc]
lea rsi, [rbx + rdx*8 + 8]
lea rdi, [0x140005610]
jmp 0x140002339
add rbx, 8
cmp rsi, rbx
je 0x140002370
mov edx, eax
and edx, 1
je 0x140002330
mov rcx, qword [rbx]
add rbx, 8
call fcn.1400020b0
mov rdx, r12
mov r9, rbp
mov r8, rdi
mov qword [rsp + 0x20], rax
xor ecx, ecx
call fcn.140001fe0
movzx eax, byte [r12]
mov edx, eax
and edx, 1
cmp rsi, rbx
jne 0x140002339
test dl, dl
jne 0x140002500
xor eax, eax
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov qword [rsp + 0x58], 0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 0xffffffff
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
lea rax, [rsp + 0x50]
xor edx, edx
lea r9, [0x140006280]
mov qword [rsp + 0x20], rax
mov r8d, 1
lea rcx, [0x1400062a0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x140002378
lea rcx, [0x1400055e2]
call qword [sym.imp.oleaut32.dll_SysAllocString]
mov r12, rax
test rax, rax
je 0x1400024c9
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rcx]
mov qword [rsp + 0x40], rdx
mov rdx, r12
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [rax + 0x18]
mov rcx, r12
mov ebx, eax
call qword [sym.imp.oleaut32.dll_SysFreeString]
test ebx, ebx
jne 0x1400024c9
lea rdi, str.OS_Name
mov r12, qword [sym.imp.ucrtbase.dll_wcslen]
lea rcx, str.Host_Name
lea rsi, [rdi - 0x28]
lea rbp, [rsi + 0x4b0]
jmp 0x140002497
mov rcx, qword [rdi]
add rdi, 0x28
call r12
cmp ebx, eax
cmovb ebx, eax
cmp rdi, rbp
jne 0x140002490
add ebx, 1
nop word [rax + rax]
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
mov r8d, ebx
add rsi, 0x28
call fcn.140001ac0
cmp rsi, rbp
jne 0x1400024b0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400024d9
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea r9, [0x1400055e0]
lea r8, [0x140005610]
mov rdx, r12
xor ecx, ecx
call fcn.140001fe0
xor eax, eax
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea r9, str.stub:
lea r8, [0x140005610]
mov rdx, r12
xor ecx, ecx
call fcn.140001fe0
movzx eax, byte [section..data]
jmp 0x14000230e
Function at 0x140003120
Capabilities:
Terminate process

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
mov ecx, 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x140003190
mov r12d, dword [rax]
call sub.ucrtbase.dll___p___wargv
mov r13, qword [rax]
call sub.ucrtbase.dll__get_initial_wide_environment
xor ecx, ecx
mov rbx, rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x10]
mov edx, dword [rax + 0x3c]
cmp word [rax + rdx + 0x5c], 2
sete cl
add ecx, 1
call sub.ucrtbase.dll__set_app_type
mov ecx, r12d
mov r8, rbx
mov rdx, r13
call fcn.1400022e0
mov ecx, eax
call sub.ucrtbase.dll_exit
nop
nop
nop
nop
jmp qword [sym.imp.ucrtbase.dll___p___argc]