joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x1409030b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140903237
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 0x1409030e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409030c7
add dl, dl
jne 0x1409030ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14090314e
xor eax, eax
add dl, dl
jne 0x1409030fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140903205
add dl, dl
jne 0x14090310e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14090311b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140903128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140903135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140903142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409030d6
mov eax, 1
add dl, dl
jne 0x14090315e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14090316b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140903153
sub eax, ebx
mov ebx, 1
jne 0x1409031a4
mov ecx, 1
add dl, dl
jne 0x140903186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140903193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14090317b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409030d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409031c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409031cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409031b5
cmp eax, 0x7d00
jae 0x1409031f3
cmp eax, 0x500
jb 0x1409031ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409030d6
cmp eax, 0x7f
ja 0x1409031f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409030d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14090322a
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 0x1409030d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400011d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebp, ebp
mov esi, ebp
mov dword [rsp + 0x58], ebp
call qword [sym.imp.MSVCP140.dll__Thrd_hardware_concurrency]
mov edi, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x50], rbp
lea r14, [0x1400011c0]
nop
mov ebx, ebp
test edi, edi
je 0x140001220
mov ecx, 8
call fcn.140001610
mov qword [rax], r14
or esi, 1
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x1400015b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400012b9
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsp + 0x50]
je 0x14000128c
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmmword [rdx], xmm1
add qword [rsp + 0x48], 0x10
jmp 0x14000129c
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140001360
nop
cmp dword [rsp + 0x38], 0
jne 0x1400012b2
inc ebx
cmp ebx, edi
jb 0x140001226
jmp 0x140001220
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140001f84
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [sym.imp.KERNEL32.dll_AllocConsole]
call rax
mov edx, 0
lea rcx, str.ConsoleWindowClass
mov rax, qword [sym.imp.USER32.dll_FindWindowA]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
nop
add rsp, 0x30
pop rbp
ret
Function at 0x401e50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rbp, dword [0x0040d054]
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
test ebp, ebp
jle 0x401f6a
mov rax, qword [0x0040d058]
xor r9d, r9d
add rax, 8
mov r10, qword [rax]
cmp rbx, r10
jb 0x401e9e
mov rdx, qword [rax + 8]
mov r11d, dword [rdx + 8]
add r10, r11
cmp rbx, r10
jb 0x401f50
add r9d, 1
add rax, 0x18
cmp r9d, ebp
jne 0x401e82
mov rcx, rbx
call fcn.00402c90
test rax, rax
mov r12, rax
je 0x401fa2
lea rbp, [rbp + rbp*2]
shl rbp, 3
mov r13, rbp
add r13, qword [0x0040d058]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call fcn.00402db0
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 8], rax
mov rax, qword [0x0040d058]
mov rcx, qword [rax + rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401f85
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x401f49
sub eax, 0x40
and eax, 0xffffffbf
je 0x401f49
mov r9, rbp
add r9, qword [0x0040d058]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x401f71
add dword [0x0040d054], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.msvcrt.dll_memcpy
xor ebp, ebp
jmp 0x401eab
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00401de0
mov rax, qword [0x0040d058]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbp + 8]
call fcn.00401de0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.00401de0
nop
nop word cs:[rax + rax]

Function at 0x402ba0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402be1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x402bd8
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x402be3
add rax, 0x28
cmp rax, r9
jne 0x402bc4
xor eax, eax
repz ret

Function at 0x402c90
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x0040a7e0]
cmp word [rbx], 0x5a4d
je 0x402cb0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rsi, rcx
mov rcx, rbx
call fcn.00402b60
test eax, eax
je 0x402ca4
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.00402ba0
Function at 0x402f00
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0040d9c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0040d9a0]
test rbx, rbx
je 0x402f54
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x402f4b
test rsi, rsi
je 0x402f4b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402f30
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x0040d9c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
Function at 0x401e80
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.00403010
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.00403010
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x401ef0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x00408614]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x402098
mov rax, qword [0x00408618]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x401f3c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x401fc7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x401f20
mov rcx, r12
call fcn.00402c50
mov rbp, rax
test rax, rax
je 0x4020d2
mov rax, qword [0x00408618]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.00402d80
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00408618]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4020e1
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x401fc0
sub eax, 4
and eax, 0xfffffffb
jne 0x402050
add dword [0x00408614], 1
cmp ebx, 8
jae 0x401ff8
test bl, 4
jne 0x4020a0
test ebx, ebx
je 0x401fe9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x4020c0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x401fe9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x40202a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x00408618]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401fc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00401e80
nop dword [rax]
xor edi, edi
jmp 0x401f47
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x401fe9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x401fe9
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.00401e80
mov rax, qword [0x00408618]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.00401e80
nop
nop dword [rax]
Function at 0x4028c0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00408900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004088e0]
test rbx, rbx
je 0x402914
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x40290b
test r12, r12
je 0x40290b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4028f0
lea rcx, [0x00408900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402c50
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x00405af0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x402cc9
mov rcx, r10
call fcn.00402b20
test eax, eax
je 0x402cc9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x402cc6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x402cbd
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x402cc9
add r8, 0x28
cmp r8, r9
jne 0x402ca8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x1400041a4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140004228
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140006460]
cmp byte [rcx + rax], 0
je 0x140004228
dec r8
sub rdx, 1
jne 0x14000420e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000534c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005396
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005396
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005396
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005396
cmp dword [rcx + 0x84], 0xe
jbe 0x140005396
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140005398
xor al, al
add rsp, 0x28
ret
Function at 0x1800032da
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push rbx
sub rsp, 0x2a0
mov rax, qword gs:[0x60]
lea rdx, [rsp + 0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbx, qword [rax + 0x30]
mov rcx, rbx
call fcn.1800032a6
mov edx, dword [rsp + 0xe4]
lea rax, [rsp + 0x60]
add rdx, rbx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call rdx
add rsp, 0x2a0
pop rbx
ret
Function at 0x140013ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push rbx
sub rsp, 0x20
movdqa xmm2, xmmword [str.DDDDDDDDDDDDDDDD_]
lea rax, [0x140003090]
xor ecx, ecx
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add ecx, 0x40
lea rax, [rax + 0x40]
xorps xmm0, xmm2
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm1, xmmword [rax - 0x40]
xorps xmm1, xmm2
movdqu xmmword [rax - 0x40], xmm1
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm0, xmm2
movdqu xmmword [rax - 0x30], xmm0
movdqu xmm0, xmmword [rax - 0x20]
xorps xmm0, xmm2
movdqu xmmword [rax - 0x20], xmm0
cmp ecx, 0x200
jb 0x140001020
movsxd rax, ecx
lea rbx, [0x140003080]
cmp rax, 0x200
jae 0x140001091
add rax, rbx
nop dword [rax + rax]
xor byte [rax], 0x44
lea rax, [rax + 1]
inc ecx
cmp ecx, 0x200
jb 0x140001080
xor ecx, ecx
mov edx, 0x201
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
mov rcx, rax
mov edx, 4
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rbx]
lea rbx, [rbx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rbx - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rbx - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rbx - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rbx - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rbx - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rbx - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rbx - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400010b3
movzx eax, byte [rbx]
mov byte [rcx], al
call r8
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400019f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a42
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a42
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a42
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a42
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a42
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a44
xor al, al
add rsp, 0x28
ret
Function at 0x140009048
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x48
cmp byte [0x140086e20], 0
je 0x140009060
mov al, byte [0x140087289]
add rsp, 0x48
ret
and dword [rsp + 0x50], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea r8, str.SkipAPOFailureCheck
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionAudioPolicy
and qword [rsp + 0x20], 0
mov r9d, 0x10
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
je 0x140020eba
mov byte [0x140086e20], 1
jmp 0x140009055
cmp dword [rsp + 0x50], 0
setne byte [0x140087289]
jmp 0x1400090b0

Function at 0x140015abc
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140086ca0], eax
call fcn.140016330
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140086ca0], 0
jne 0x140015aff
mov ecx, 1
call fcn.140016330
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
Function at 0x1400289ac
Capabilities:
Check if file exists

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 - 0x168]
sub rsp, 0x250
mov rax, qword [0x1400866a0]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r15d, r15d
mov r14, r8
mov qword [r8], r15
mov ebx, 0x104
mov r8, rcx
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140028778
mov ecx, ebx
lea rax, [rsp + 0x30]
cmp word [rax], r15w
je 0x140028a13
add rax, 2
sub rcx, 1
jne 0x140028a03
test rcx, rcx
je 0x140028a20
mov rax, rbx
sub rax, rcx
jmp 0x140028a23
mov rax, r15
test rcx, rcx
je 0x140028a7d
mov rdx, rbx
lea rcx, [rsp + 0x30]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140028a6e
lea r8, [rax + 0x7ffffefa]
add r8, rdx
lea rax, [0x140070d88]
sub rax, rcx
test r8, r8
je 0x140028a6e
movzx r9d, word [rax + rcx]
test r9w, r9w
je 0x140028a6e
mov word [rcx], r9w
dec r8
add rcx, 2
sub rdx, 1
jne 0x140028a4d
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
mov rdi, rax
test rax, rax
jne 0x140028ac5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
je 0x140028bf7
mov edx, 0xc0
mov rcx, qword [rbp + 0x168]
lea r8, [0x140070d4c]
call fcn.1400281e4
mov esi, eax
jmp 0x140028bfa
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], r15d
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.140027558
mov esi, eax
test eax, eax
jns 0x140028b02
mov rcx, qword [rbp + 0x168]
lea r8, [0x140070d4c]
mov r9d, eax
mov edx, 0xc6
call fcn.140028204
jmp 0x140028bfa
mov rcx, rbx
lea rax, [rsp + 0x30]
cmp word [rax], r15w
je 0x140028b1a
add rax, 2
sub rcx, 1
jne 0x140028b0a
test rcx, rcx
je 0x140028b27
mov rax, rbx
sub rax, rcx
jmp 0x140028b2a
mov rax, r15
test rcx, rcx
je 0x140028b7f
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rax*2]
sub rbx, rax
je 0x140028b70
lea rcx, [rax + 0x7ffffefa]
add rcx, rbx
lea r8, [0x140070d90]
sub r8, rdx
test rcx, rcx
je 0x140028b70
movzx eax, word [r8 + rdx]
test ax, ax
je 0x140028b70
mov word [rdx], ax
dec rcx
add rdx, 2
sub rbx, 1
jne 0x140028b51
test rbx, rbx
lea rax, [rdx - 2]
cmovne rax, rdx
mov word [rax], r15w
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
mov rbx, rax
test rax, rax
jne 0x140028ba3
mov edx, 0xcc
jmp 0x140028aab
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140027558
mov esi, eax
test eax, eax
jns 0x140028bdb
mov rcx, qword [rbp + 0x168]
lea r8, [0x140070d4c]
mov r9d, eax
mov edx, 0xce
call fcn.140028204
mov rcx, rbx
call fcn.140026850
jmp 0x140028bfa
mov rcx, rbx
call fcn.140026850
movsxd rcx, dword [rsp + 0x20]
movsxd rax, dword [rsp + 0x24]
shl rcx, 0x1f
or rax, rcx
mov qword [r14], rax
mov esi, r15d
test rdi, rdi
je 0x140028c07
mov rcx, rdi
call fcn.140026850
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140015a80
lea r11, [rsp + 0x250]
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 0x14002b894
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x80
mov rax, qword [0x1400866a0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov rcx, qword [0x1400860c0]
lea r14, [0x1400860c0]
cmp rcx, r14
je 0x14002b8f2
test byte [rcx + 0x1c], 0x10
je 0x14002b8f2
cmp byte [rcx + 0x19], 4
jb 0x14002b8f2
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400716d8]
mov edx, 0xe
call fcn.14002bed0
test byte [0x140087280], 0x20
mov rax, qword [rbx + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x88]
mov qword [rsp + 0x48], rax
je 0x14002b91c
mov r8d, dword [rbx + 0x98]
call fcn.14002be6c
lea r15, [0x140086ee8]
and dword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
xor r8d, r8d
or r9d, 0xffffffff
lea ecx, [r8 + 2]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForMultipleObjectsEx]
mov edi, eax
cmp eax, 1
jne 0x14002ba46
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
mov byte [rbx + 0x94], al
xor edx, edx
lea rcx, [0x140086ee0]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_InitOnceBeginInitialize]
test eax, eax
je 0x14002b9f0
cmp dword [rsp + 0x30], 0
je 0x14002b9f0
lea rax, [0x1400638a0]
mov qword [rsp + 0x38], r15
mov qword [0x140086ee8], rax
lea rax, [0x140086088]
lea rcx, [0x140029920]
mov qword [0x140086f00], rax
call fcn.140016148
mov rcx, qword [0x140086f00]
mov qword [0x140086ef0], rcx
mov byte [0x140086ef8], dil
call fcn.140025e60
mov rax, qword [0x140086ee8]
mov rcx, r15
mov dword [0x140086efc], edi
mov rax, qword [rax + 8]
call qword [case.0x1400174ae.0]
lea r8, [0x140086ee8]
xor edx, edx
lea rcx, [0x140086ee0]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_InitOnceComplete]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x14002ba32
movabs rdx, 0x400000000000
call fcn.14000eec0
test al, al
je 0x14002ba32
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rdx, [0x14006f85c]
mov dword [rsp + 0x20], 2
call fcn.140013fb4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x64
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
test edi, edi
jne 0x14002b923
mov rcx, qword [0x1400860c0]
cmp rcx, r14
je 0x14002ba79
test byte [rcx + 0x1c], 0x10
je 0x14002ba79
cmp byte [rcx + 0x19], 4
jb 0x14002ba79
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0xf]
lea r8, [0x1400716d8]
call fcn.14002bed0
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140015a80
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret