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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rdi, rcx
mov ebx, 1
mov rsi, qword [0x14004d200]
mov rax, qword [0x14004d208]
jmp 0x140003c28
test ebx, ebx
js 0x140003d51
mov r14, qword [rsi]
test r14, r14
je 0x140003c24
and qword [rsp + 0x50], 0
cmp qword [r14 + 0x10], 0
jne 0x140003ba9
xor ebx, ebx
jmp 0x140003c24
movabs r10, 0x804916e15a52a070
lea r8, [rsp + 0x50]
lea rdx, [0x140045bc0]
mov rcx, qword [r14 + 0x18]
mov rax, qword [r14 + 0x10]
call qword [vtable.H_MA8HI.0]
mov ebx, eax
test eax, eax
js 0x140003bfc
lea rax, [r14 + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8d, [r9 - 1]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRegisterClassObject]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140003c1d
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [vtable.H_MA8HI.0]
mov rax, qword [0x14004d208]
add rsi, 8
cmp rsi, rax
jb 0x140003b84
test ebx, ebx
js 0x140003d51
jne 0x140003d4d
cmp byte [rdi + 0x60], 0
je 0x140003cf7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
nop dword [rax + rax]
mov qword [rdi + 0x50], rax
test rax, rax
je 0x140003ca9
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x1400039b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x140003cb0
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov ebx, 0x80004005
jmp 0x140003d09
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoResumeClassObjects]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x140003ce6
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
nop dword [rax + rax]
mov edx, dword [rdi + 0x58]
add edx, edx
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x140003d05
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoResumeClassObjects]
nop dword [rax + rax]
mov ebx, eax
test ebx, ebx
jns 0x140003d51
xor eax, eax
mov rdi, qword [0x14004d200]
mov rcx, qword [0x14004d208]
jmp 0x140003d46
test eax, eax
jne 0x140003d51
mov rdx, qword [rdi]
test rdx, rdx
je 0x140003d42
cmp dword [rdx + 0x28], eax
je 0x140003d42
mov ecx, dword [rdx + 0x28]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevokeClassObject]
nop dword [rax + rax]
mov rcx, qword [0x14004d208]
add rdi, 8
cmp rdi, rcx
jb 0x140003d1b
jmp 0x140003d51
mov byte [rdi + 0x60], 0
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14000b5f8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x14004d298]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor ebx, ebx
mov r12, rdx
mov r14, rcx
mov ebp, ebx
mov edi, ebx
lea r15d, [rbx + 1]
test rdx, rdx
je 0x14000b7b8
lea esi, [rbx + 4]
mov r13d, 0x400
mov r9d, esi
lea r8, [rsp + 0x30]
mov ecx, r13d
lea edx, [rbx + 0xe]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
jne 0x14000b67b
lea r8, [0x140046158]
mov edx, esi
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
mov rsi, r14
cmp r14, r13
jb 0x14000b6d0
cmp edi, 4
jae 0x14000b69c
mov ebp, esi
add edi, r15d
and ebp, 0x3ff
shr rsi, 0xa
cmp rsi, r13
jae 0x14000b683
test edi, edi
je 0x14000b6d0
sub edi, r15d
je 0x14000b6c9
sub edi, r15d
je 0x14000b6c2
sub edi, r15d
je 0x14000b6bb
cmp edi, r15d
jne 0x14000b6d0
mov edx, 0x324
jmp 0x14000b6dd
mov edx, 0x323
jmp 0x14000b6dd
mov edx, 0x322
jmp 0x14000b6dd
mov edx, 0x321
jmp 0x14000b6dd
mov rsi, r14
mov ebp, ebx
mov r15d, ebx
mov edx, 0x325
mov rcx, qword [0x14004d978]
lea r8, [rsp + 0xc0]
mov edi, 0x40
mov r9d, edi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadStringW]
nop dword [rax + rax]
test eax, eax
jne 0x14000b726
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x14000b71b
mov ebx, eax
jmp 0x14000b79f
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14000b79f
lea rcx, [rsp + 0x40]
mov r9, rsi
mov rdx, rdi
test r15d, r15d
je 0x14000b7a3
imul eax, ebp, 0x64
lea r8, str._I64u_s_02d
shr eax, 0xa
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll_swprintf_s]
nop dword [rax + rax]
test eax, eax
jle 0x14000b79a
lea r8, [rsp + 0x40]
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
test eax, eax
jne 0x14000b79a
lea r8, [rsp + 0xc0]
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
test eax, eax
je 0x14000b79f
mov ebx, 0x80004005
mov eax, ebx
jmp 0x14000b7bd
lea r8, str._I64u
call qword [sym.imp.msvcrt.dll_swprintf_s]
nop dword [rax + rax]
jmp 0x14000b75d
mov eax, 0x80070057
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140001e70
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001372c
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbp
mov qword [rsp + 0x10], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword gs:[0x58]
mov rbp, rcx
mov ecx, 8
mov r14, r8
mov r15, rdx
mov r9, qword [rax]
lea rax, str.CTieredVolume::QueryDesiredStorageClass
mov qword [rcx + r9], rax
lea rcx, [rsp + 0x48]
call fcn.140005448
and qword [rsp + 0xa8], 0
lea r8, [rsp + 0xa8]
mov rdx, r15
mov rcx, rbp
call fcn.140013218
mov dword [rsp + 0x50], eax
mov esi, eax
test eax, eax
jns 0x1400137fa
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400137e4
test byte [rcx + 0x1c], 1
je 0x1400137e4
cmp byte [rcx + 0x19], 2
jb 0x1400137e4
mov r9, qword [r15 + 8]
lea rax, [rbp + 0x2a0]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400467b0]
mov dword [rsp + 0x30], esi
mov edx, 0x14f
mov qword [rsp + 0x28], rax
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
call fcn.140019e28
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400138cd
jmp 0x1400138c1
mov rcx, qword [rsp + 0xa8]
lea r8, [rsp + 0x40]
mov r9d, 8
mov dword [rsp + 0x20], 0x43
lea rdx, [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x140013835
mov eax, dword [rsp + 0x40]
mov dword [r14], eax
jmp 0x1400138ae
cmp edi, 0xc000050c
jne 0x140013843
and dword [r14], 0
jmp 0x1400138ae
mov ecx, edi
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov ecx, eax
call fcn.140002f1c
mov esi, eax
mov dword [rsp + 0x50], eax
mov rcx, qword [0x14004d128]
lea rax, [0x14004d128]
cmp rcx, rax
je 0x1400138ae
test byte [rcx + 0x1c], 1
je 0x1400138ae
cmp byte [rcx + 0x19], 2
jb 0x1400138ae
mov r9, qword [r15 + 8]
lea rax, [rbp + 0x2a0]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400467b0]
mov dword [rsp + 0x30], edi
mov edx, 0x150
mov qword [rsp + 0x28], rax
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
call fcn.140019e28
cmp qword [rsp + 0xa8], 0
je 0x1400138cd
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
lea rcx, [rsp + 0x48]
call fcn.1400059b8
lea r11, [rsp + 0x70]
mov eax, esi
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14001ba60
Capabilities:
Access peb ldr_data

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword gs:[0x58]
mov rdi, rcx
mov ecx, 8
mov esi, r9d
mov rbp, r8
mov rbx, rdx
mov r10, qword [rax]
lea rax, str.TieringJetDatabase::Initialize
mov qword [rcx + r10], rax
lea rcx, [r11 - 0x18]
call fcn.140005448
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x68], rax
mov qword [rdi], rbx
mov dword [rdi + 0x60], esi
mov qword [rdi + 0x70], rbp
cmp esi, 1
jne 0x14001bac6
lea rax, str.TieringEngineHeat
jmp 0x14001bae4
cmp esi, 2
jne 0x14001bad4
lea rax, str.TieringPinnedFiles
jmp 0x14001bae4
cmp esi, 3
jne 0x14001bb95
lea rax, str.TieringPinnedCacheFiles
mov qword [rdi + 0x58], rax
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x14001baff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
nop dword [rax + rax]
jmp 0x14001bb7b
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14001bb77
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14001bb37
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x38], eax
mov rcx, qword [0x14004d128]
lea rdx, [0x14004d128]
cmp rcx, rdx
je 0x14001bb77
test byte [rcx + 0x1c], 1
je 0x14001bb77
cmp byte [rcx + 0x19], 2
jb 0x14001bb77
mov r9, qword [rdi + 0x70]
lea r8, [0x140046aa8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x3d
mov dword [rsp + 0x20], eax
call fcn.14000a60c
mov qword [rdi + 0x50], rbx
and word [rdi + 0x4c], 0
lea rcx, [rsp + 0x30]
mov byte [rdi + 0x9c], 1
call fcn.1400059b8
xor eax, eax
jmp 0x14001bbea
mov ebx, 0x8009300f
mov dword [rsp + 0x38], ebx
mov rcx, qword [0x14004d128]
lea rdx, [0x14004d128]
cmp rcx, rdx
je 0x14001bbde
test byte [rcx + 0x1c], 1
je 0x14001bbde
cmp byte [rcx + 0x19], 2
jb 0x14001bbde
mov rcx, qword [rcx + 0x10]
lea r8, [0x140046aa8]
mov edx, 0x3c
mov dword [rsp + 0x28], ebx
mov r9d, esi
mov qword [rsp + 0x20], rbp
call fcn.14001ea34
lea rcx, [rsp + 0x30]
call fcn.1400059b8
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1000170f0
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x10001a100]
jne 0x10001710b
rol rcx, 0x10
test cx, 0xffff
jne 0x100017107
ret 0
ror rcx, 0x10
jmp 0x100017530
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x10001d130]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x10001d228]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1000175b5
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, [0x10001d130]
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.ntdll.dll_RtlVirtualUnwind
jmp 0x1000175d7
mov rax, qword [rsp + 0x88]
mov qword [0x10001d228], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x10001d1c8], rax
mov rax, qword [0x10001d228]
mov qword [0x10001d0a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x10001d1b0], rax
mov dword [0x10001d090], 0xc0000409
mov dword [0x10001d094], 1
mov rax, qword [0x10001a100]
mov qword [rsp + 0x68], rax
mov rax, qword [0x10001a108]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1000015d0]
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, 0x88
ret

Function at 0x1000173cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100017419
cmp rcx, 0xffffffffffffffff
je 0x100017419
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x100017411
cmp dword [rcx + 0x3c], edx
jl 0x100017411
cmp dword [rcx + 0x3c], 0x10000000
jae 0x100017411
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 0x100017419
mov rax, rdx
add rsp, 0x18
ret

Function at 0x1000ae93e
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xbea9bea8
stosb byte [rdi], al
adc ebp, ebp
test eax, 0xed13aabe
xor dword [rcx], edi
push rbx
jp 0x1000ae941
cmp al, 0x6b
xor dword [rcx + rax], edx
test al, 0x21
sbb byte [rsi], dl
test dword [rdi], esi
jge 0x1000ae9ba
mov esp, 0xd7d832c4
cmp dword [rdx], edi
add edi, dword [rdx + 0x15d22562]
pop rdx
xchg esp, eax
sub edx, dword [rbx]
sbb byte [rdx - 2], 0x1f
lahf
adc dword [rax - 0x8ac05af], esp
test byte [rdi - 0x3bef3adf], cl
invalid
invalid
Function at 0x140001000
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
lea rsi, [rsp + 0x30]
mov qword [rsi], 1
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov eax, 1
xor ebx, ebx
lea r14, [0x14001445a]
xor edi, edi
cmp rbx, 0x179
je 0x140001071
mov bpl, byte [rbx + r14]
cmp rdi, qword [rsp + 0x38]
jne 0x14000105b
mov rcx, rsi
mov rdx, rdi
call fcn.140001c71
mov rax, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rax + rdi], bpl
mov rdi, qword [rsp + 0x40]
inc rdi
mov qword [rsp + 0x40], rdi
inc rbx
jmp 0x140001032
mov qword [rsp + 0x70], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov rbx, qword [rsp + 0x30]
test rdi, rdi
je 0x1400010d3
lea r14, [rsp + 0x70]
mov rcx, r14
mov rdx, rdi
call fcn.140001acb
mov rsi, qword [r14]
mov r14, qword [r14 + 0x10]
lea rax, [rsi + r14]
lea rcx, [rdi - 1]
xor edx, edx
mov byte [rax + rdx], 0
cmp rcx, rdx
je 0x1400010bb
inc rdx
jmp 0x1400010ad
add r14, rdi
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x50]
mov rdx, rbx
mov r8, rdi
mov r9, rsi
jmp 0x1400010f2
and qword [rsp + 0x20], 0
xor r14d, r14d
lea rcx, [rsp + 0x50]
mov esi, 1
mov r9d, 1
mov rdx, rbx
xor r8d, r8d
call fcn.140001dd0
cmp dword [rsp + 0x50], 3
jne 0x140001260
mov rdi, qword [rsp + 0x58]
cmp r14, rdi
cmovb rdi, r14
lea r14, [rsp + 0x70]
mov r15, qword [r14 + 8]
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.140001c8c
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r15
mov rcx, rdi
call fcn.140001ca0
mov qword [r14], rax
mov qword [r14 + 8], rdx
and qword [r14 + 0x10], 0
mov rcx, r14
mov rdx, rdi
call fcn.140001acb
mov rax, qword [r14 + 0x10]
test rdi, rdi
je 0x140001174
mov rcx, qword [rsp + 0x70]
xor edx, edx
mov r8b, byte [rsi + rdx]
xor r8b, 0xa8
mov byte [rcx + rax], r8b
inc rax
inc rdx
cmp rdi, rdx
jne 0x14000115d
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.140001c8c
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x40], rsi
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [0x1400145d3]
call qword [sym.imp.kernel32.dll_LoadLibraryA]
test rax, rax
je 0x140001259
lea rdx, str.EtwpCreateEtwThread
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rdi, rax
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x3000
mov r9d, 4
call qword [sym.imp.kernel32.dll_VirtualAlloc]
test rax, rax
je 0x140001259
mov r14, rax
mov rbx, qword [rsp + 0x30]
mov rcx, rax
mov rdx, rbx
mov r8, rsi
call fcn.140005310
lea r9, [rsp + 0x70]
mov dword [r9], 4
mov rcx, r14
mov rdx, rsi
mov r8d, 0x10
call qword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x140001259
mov rcx, r14
xor edx, edx
call rdi
test rax, rax
je 0x140001259
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.140001c8c
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400046a9
ud2
mov rdx, qword [rsp + 0x78]
mov rcx, rsi
call fcn.140001c8c
ud2
Function at 0x1400036a9
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
test r9, r9
je 0x1400036ec
mov r15, r9
mov r14, r8
mov rbx, qword [rsp + 0x100]
mov ecx, edx
call qword [sym.imp.kernel32.dll_GetStdHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x140003709

Function at 0x140004fec
Capabilities:
Parse pe header

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

Function at 0x1400092b4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400090b0
Function at 0x14000c37c
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 0x14000c3ac
xor eax, eax
jmp 0x14000c46f
mov rbp, rbx
cmp word [rax], si
je 0x14000c3d1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000c3b8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000c3b4
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.14000c29c
movsxd r14, eax
test eax, eax
jne 0x14000c40f
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x14000c3a5
mov rcx, r14
call fcn.14000d258
mov rdi, rax
test rax, rax
jne 0x14000c428
xor ecx, ecx
call fcn.14000a8fc
jmp 0x14000c404
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.14000c29c
test eax, eax
jne 0x14000c459
mov rcx, rdi
call fcn.14000a8fc
jmp 0x14000c463
xor ecx, ecx
call fcn.14000a8fc
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 0x14000f960
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.14000b36c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000f9ea
cmp byte [rbp - 0x21], r15b
je 0x14000f9e5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000fa20
call fcn.14000da68
test eax, eax
jne 0x14000fa0c
cmp byte [rbp - 0x21], r15b
je 0x14000fa04
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000fa20
cmp byte [rbp - 0x21], r15b
je 0x14000fa1d
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.14000a94c
test eax, eax
jne 0x14000fac0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000b36c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000fa5f
cmp byte [rbp - 0x21], r15b
je 0x14000fa94
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000fa94
call fcn.14000da68
test eax, eax
jne 0x14000fa80
cmp byte [rbp - 0x21], r15b
je 0x14000fa79
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000fa94
cmp byte [rbp - 0x21], r15b
je 0x14000fa91
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.14000a94c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000fac0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000fac3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000fad1
mov rcx, rdi
call fcn.14000a8fc
cmp byte [rbp + 0x3f], r15b
je 0x14000fae0
mov rcx, qword [rbp + 0x27]
call fcn.14000a8fc
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 0x1800031b4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movdqa xmm0, xmmword [0x180037480]
movdqa xmm1, xmmword [0x180037470]
mov rbx, qword [0x180040e10]
movdqu xmmword [rbp + 0x1f], xmm0
mov dword [rbp + 0x4f], 0x20
movdqa xmm0, xmmword [0x180037460]
movdqu xmmword [rbp + 0x3f], xmm0
mov dword [rbp + 0x53], 0xfd
movdqa xmm0, xmmword [0x180037490]
movdqu xmmword [rbp - 0x19], xmm0
mov dword [rbp + 0x17], 0x7d
movdqa xmm0, xmmword [str.eI2]
movdqu xmmword [rbp + 0x2f], xmm1
mov dword [rbp + 0x1b], 0x84
movdqa xmm1, xmmword [0x180037450]
movdqu xmmword [rbp + 7], xmm0
movdqu xmmword [rbp - 9], xmm1
call fcn.180006394
mov edx, 0xc9
mov r8d, 2
mov rcx, rbx
call rax
mov esi, dword [rax + 4]
mov edi, dword [rax]
mov ecx, esi
add rdi, rbx
mov ebx, esi
call fcn.18000a77c
xor r10d, r10d
mov r11, rax
test rax, rax
je 0x180003281
test esi, esi
je 0x180003281
mov byte [rax], r10b
inc rax
sub rbx, 1
jne 0x180003275
lea rdx, [rdi + 0x67]
mov r8d, esi
mov rcx, r11
call fcn.180003328
mov r8d, r10d
mov r9, r11
movabs rbx, 0x2492492492492493
mov edi, 0x49200
movsxd rcx, r8d
mov rax, rbx
mul rcx
mov rax, rcx
inc r8d
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 3
imul rax, rax, 0xe
sub rcx, rax
mov al, byte [rbp + rcx*4 - 0x19]
xor byte [r9], al
inc r9
cmp r8d, edi
jb 0x1800032a5
mov r8, r11
movsxd rcx, r10d
mov rax, rbx
mul rcx
mov rax, rcx
inc r10d
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 3
imul rax, rax, 0xe
sub rcx, rax
mov al, byte [rbp + rcx*4 + 0x1f]
xor byte [r8], al
inc r8
cmp r10d, edi
jb 0x1800032da
mov rax, r11
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret