joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140080440
Capabilities:
Terminate process

Disassembly:
push rbp
sub rsp, 0x110
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1402930e8]
xor rax, rsp
mov qword [rbp + 0xc0], rax
lea rcx, [0x140293b90]
call fcn.1400aa8b0
cmp byte [0x140293da0], 0
jne 0x140080683
movabs rax, 0xfe38983aeee19f3e
movabs r8, 0xfe579848ee939f7b
mov qword [rbp], rax
movabs rdx, 0x1178f9c52b02ec48
mov rax, qword [rbp]
movabs rcx, 0x663f067fd21a4e26
mov qword [rbp + 0x10], rax
movabs rax, 0x1178f9c52b02ec3a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], r8
mov rax, qword [rbp]
mov qword [rbp], rdx
mov qword [rbp + 0x60], rax
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x10]
mov qword [rbp + 0x68], rax
movabs rax, 0xfe3b9821eef29f3d
pxor xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x110cf9e52b66ec2d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0xa28eb3489caad182
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0xdfd6d79fa48dae5e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0x87c9e56c0079e48b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0xbb78133a6e956da9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0x7a81a6036e24f05e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], r8
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0xa2efb33e9c8ad1ed
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0xdfb7d7fba4e4ae32
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0x87bae54c001ce4ff
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0xbb1113496ee66dcc
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0x7a81a6226e4af031
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
vmovdqu ymm0, ymmword [rbp + 0x80]
mov qword [rbp + 0xb8], rax
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
vmovdqu ymm0, ymmword [rbp + 0x40]
vmovdqa ymmword [rbp + 0x20], ymm1
vpxor ymm1, ymm0, ymmword [rbp + 0xa0]
vmovdqa ymmword [rbp + 0x40], ymm1
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x20]
xor ecx, ecx
vzeroupper
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140106b10
add rsp, 0x110
pop rbp
ret
Function at 0x14008fa40
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1402930e8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
xor edi, edi
movabs rax, 0xce66d07bdae1f735
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rcx, 0x1178f9c52b02ec48
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
movabs rax, 0xfe579848ee939f7b
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x14008fb00
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.140002370
nop
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x48]
test r15, r15
je 0x14008fb9c
mov rdx, r15
mov rcx, rsi
call fcn.140013f70
mov rbx, qword [rsi]
mov r8, r15
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + rbx]
mov qword [rsi + 8], rax
mov r8, qword [rsp + 0x58]
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x48]
cmp r14, 0x10
cmovae rcx, rbp
xor edx, edx
mov rax, rdi
div r8
add rdx, rcx
mov rcx, qword [rsi]
movzx eax, byte [rcx + rdi]
xor al, byte [rdx]
mov byte [rcx + rdi], al
inc rdi
cmp rdi, r15
jne 0x14008fb70
cmp r14, 0x10
jb 0x14008fbd6
lea rdx, [r14 + 1]
mov rax, rbp
cmp rdx, 0x1000
jb 0x14008fbce
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008fbce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call fcn.140106740
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140106b10
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14008fc00
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14008fc22
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14008fc31
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14008fc54
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14008fc56
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14008fc92
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14008fd2e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14008fccd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14008fd0e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14008fd2e
cmp rbx, rax
ja 0x14008fce0
test rbx, rbx
je 0x14008fd2e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
jne 0x14026f5af
imul ebp, dword [rsi + 0x67], 0x20504920
invalid
invalid
Function at 0x14008fd50
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x14008fd71
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14008fd9e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14008fda0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14008fdf9
test ecx, ecx
jle 0x14008fdd9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14008fdf9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14008fdf9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
jae 0x14026f5e5
and byte [rdi + 0x72], ch
Function at 0x140094040
Capabilities:
Allocate or change rwx memory
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1402930e8]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor edx, edx
lea r9, [rbp + 0xf]
mov rsi, rcx
xor r15d, r15d
xor r8d, r8d
mov dword [rbp + 0xf], r15d
mov edi, r15d
lea ecx, [rdx + 0x40]
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x1400940d5
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp + 0xf]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rbp + 0xf]
lea r9, [rbp + 0xf]
mov rdx, rax
mov ecx, 0x40
mov rdi, rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x140094090
test eax, eax
jns 0x1400940f1
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
jmp 0x14009417a
mov qword [rsp + 0xb8], rbx
mov ebx, r15d
mov qword [rsp + 0xc0], r14
mov r14, r15
cmp qword [rdi], rbx
jbe 0x14009419e
mov rax, r15
lea rax, [rax + rax*4]
movups xmm0, xmmword [rdi + rax*8 + 0x10]
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [rdi + rax*8 + 0x20]
movups xmmword [rbp - 9], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movups xmm0, xmmword [rbp - 0x29]
mov ecx, eax
psrldq xmm0, 8
movq rax, xmm0
cmp rax, rcx
jne 0x14009414e
cmp qword [rbp - 9], rsi
je 0x14009419a
inc ebx
mov eax, ebx
cmp rax, qword [rdi]
jb 0x140094113
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov rbx, qword [rsp + 0xb8]
mov r14, qword [rsp + 0xc0]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140106b10
mov rsi, qword [rsp + 0xc8]
add rsp, 0x90
pop r15
pop rdi
pop rbp
ret
mov r14, qword [rbp - 0x19]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test r14, r14
je 0x140094168
lea r8, [r14 + 8]
mov qword [rbp + 0x1f], r15
mov r9d, 8
lea rdx, [rbp + 0x1f]
mov rcx, rsi
call fcn.140095950
test al, al
je 0x140094168
mov r8, qword [rbp + 0x1f]
lea rdx, [rbp + 0x27]
add r8, 8
mov qword [rbp + 0x27], r15
mov r9d, 8
mov rcx, rsi
call fcn.140095950
test al, al
je 0x140094168
mov r8, qword [rbp + 0x27]
lea rdx, [rbp + 0x17]
add r8, 0x28
mov qword [rbp + 0x17], r15
mov r9d, 8
mov rcx, rsi
call fcn.140095950
test al, al
je 0x140094168
mov r8, qword [rbp + 0x17]
lea rdx, [rbp + 0x2f]
xorps xmm0, xmm0
add r8, 0x58
mov r9d, reloc.WS2_32.dll_recv
mov rcx, rsi
movups xmmword [rbp + 0x2f], xmm0
call fcn.140095950
test al, al
je 0x140094168
mov rdx, qword [rbp + 0x17]
lea r8, [rbp + 0x2f]
add rdx, 0x58
mov word [rbp + 0x2f], r15w
mov r9d, reloc.WS2_32.dll_recv
mov rcx, rsi
call fcn.140095950
test al, al
setne al
jmp 0x14009416a
Function at 0x140098ab0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140098ace
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
xor ecx, ecx
cmp dword [rax], 0x4550
cmovne rax, rcx
ret
xor eax, eax
ret

Function at 0x140098ae0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1402930e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140098bfc
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x140098bfc
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + rdx + 0xb0]
test ecx, ecx
jne 0x140098b59
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x140098c07
lea rbx, [rdx + rcx]
mov ebp, dword [rax + rdx + 0xb4]
add rbp, rbx
mov eax, dword [rbx]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x140098bea
mov edx, eax
cmp rdx, rbp
jae 0x140098bea
mov r9d, dword [rbx + 4]
test r9d, r9d
je 0x140098bea
lea rax, [rdx + rsi]
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [r9 - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, r8
je 0x140098bc2
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x140098bde
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140098210
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx]
test eax, eax
jne 0x140098b72
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x140098c07
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140106b10
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14009ae80
Capabilities:
Delete service
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1402930e8]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
mov rbx, rcx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x14009aedf
cmp qword [rbx + 0x18], 0x10
jb 0x14009aebc
mov rbx, qword [rbx]
mov r8d, 0x10020
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
test rax, rax
jne 0x14009aee3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x14009af40
xor eax, eax
mov qword [rsp + 0x68], rsi
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x20]
mov dword [rsp + 0x38], eax
mov rcx, rbx
lea edx, [rax + 1]
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14009af22
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x14009af22
mov sil, 1
jmp 0x14009af25
xor sil, sil
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, sil
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140106b10
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14009b290
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1402930e8]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edx, edx
lea r9, [rsp + 0x20]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov edi, r14d
lea ecx, [rdx + 0xb]
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14009b318
nop
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, listen
mov rdi, rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
je 0x14009b2d0
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbp
test eax, eax
js 0x14009b3f7
mov ebx, r14d
cmp dword [rdi], ebx
jbe 0x14009b3f7
nop dword [rax + rax]
mov eax, ebx
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rdi + 0x2e]
lea rbp, [rcx + rdi]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x14009b375
lea rcx, [rsp + 0x28]
call fcn.140002370
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x14009b395
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14009b42d
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14009b3ed
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009b3e8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009b476
call fcn.140106740
inc ebx
cmp ebx, dword [rdi]
jb 0x14009b340
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140106b10
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov rbx, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14009b482
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009b47d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009b47d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140106740
mov rax, rbx
jmp 0x14009b40a
Function at 0x1400a1d20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword gs:[0x58]
mov rbp, rcx
mov r10d, dword [0x140294248]
mov rbx, r9
mov ecx, 4
mov rdi, r8
mov esi, edx
mov r10, qword [rax + r10*8]
mov eax, dword [rcx + r10]
cmp dword [0x140293f18], eax
jg 0x1400a1e0f
mov r10, qword [0x140293f10]
test r10, r10
je 0x1400a1da7
mov rax, qword [rsp + 0xa0]
mov r9, rbx
mov qword [rsp + 0x30], rax
mov r8, rdi
mov eax, dword [rsp + 0x98]
mov edx, esi
mov dword [rsp + 0x28], eax
mov rcx, rbp
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
call r10
jmp 0x1400a1db7
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0xc000007a
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
lea edx, [rax - 0x7b]
xor byte [rsp + rax + 0x40], dl
inc rax
cmp rax, 0xf
jb 0x1400a1dd0
mov rcx, qword [0x140293f08]
lea rdx, [rsp + 0x40]
mov byte [rsp + 0x50], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x140293f18]
mov qword [0x140293f10], rax
call fcn.140106568
jmp 0x1400a1d68
lea rcx, [0x140293f18]
call fcn.1401065c8
cmp dword [0x140293f18], 0xffffffff
jne 0x1400a1d68
movdqa xmm0, xmmword [0x140124c90]
xor eax, eax
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x50], 1
jmp 0x1400a1dd0

Function at 0x1400a1e40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword gs:[0x58]
mov rbp, rcx
mov r10d, dword [0x140294248]
mov rbx, r9
mov ecx, 4
mov rdi, r8
mov rsi, rdx
mov r10, qword [rax + r10*8]
mov eax, dword [rcx + r10]
cmp dword [0x140293f28], eax
jg 0x1400a1f5f
mov r10, qword [0x140293f20]
test r10, r10
je 0x1400a1eee
mov eax, dword [rsp + 0xc8]
mov r9, rbx
mov dword [rsp + 0x48], eax
mov r8, rdi
mov eax, dword [rsp + 0xc0]
mov rdx, rsi
mov dword [rsp + 0x40], eax
mov rcx, rbp
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
call r10
jmp 0x1400a1efe
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0xc000007a
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea edx, [rax - 0x7b]
xor byte [rsp + rax + 0x50], dl
inc rax
cmp rax, 0x12
jb 0x1400a1f20
mov rcx, qword [0x140293f08]
lea rdx, [rsp + 0x50]
mov byte [rsp + 0x63], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x140293f28]
mov qword [0x140293f20], rax
call fcn.140106568
jmp 0x1400a1e89
lea rcx, [0x140293f28]
call fcn.1401065c8
cmp dword [0x140293f28], 0xffffffff
jne 0x1400a1e89
movdqa xmm0, xmmword [0x140124cc0]
xor eax, eax
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x100f8fa
jmp 0x1400a1f20
Function at 0x1400a1fa0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword gs:[0x58]
mov rbp, rcx
mov r10d, dword [0x140294248]
mov ebx, r9d
mov ecx, 4
mov rdi, r8
mov rsi, rdx
mov r10, qword [rax + r10*8]
mov eax, dword [rcx + r10]
cmp dword [0x140293f38], eax
jg 0x1400a207f
mov r10, qword [0x140293f30]
test r10, r10
je 0x1400a2013
mov rax, qword [rsp + 0x80]
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call r10
jmp 0x1400a2023
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0xc000007a
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
lea edx, [rax - 0x7b]
xor byte [rsp + rax + 0x30], dl
inc rax
cmp rax, 0x16
jb 0x1400a2040
mov rcx, qword [0x140293f08]
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x47], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x140293f38]
mov qword [0x140293f30], rax
call fcn.140106568
jmp 0x1400a1fe9
lea rcx, [0x140293f38]
call fcn.1401065c8
cmp dword [0x140293f38], 0xffffffff
jne 0x1400a1fe9
movdqa xmm0, xmmword [0x140124cb0]
xor eax, eax
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xf7faf3d8
mov dword [rsp + 0x44], 0x100e3eb
jmp 0x1400a2040
Function at 0x1400a2280
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rcx, rcx
je 0x1400a2423
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400a2423
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400a2423
mov edx, 0x20b
cmp word [rax + rcx + 0x18], dx
jne 0x1400a2423
mov qword [rbx], rcx
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
mov qword [rsp + 0x40], rdi
mov qword [rbx + 8], rcx
xor edi, edi
mov qword [rsp + 0x48], r14
lea rax, [rcx + 4]
mov qword [rbx + 0x10], rax
lea r14, [rcx + 0x18]
lea rax, [rcx + 0x18]
mov qword [rbx + 0x18], rax
lea rax, [rcx + 0x88]
mov qword [rbx + 0x20], rax
lea rax, [rcx + 0x90]
mov qword [rbx + 0x28], rax
lea rax, [rcx + 0x98]
mov qword [rbx + 0x30], rax
lea rax, [rcx + 0xa0]
mov qword [rbx + 0x38], rax
lea rax, [rcx + 0xa8]
mov qword [rbx + 0x40], rax
lea rax, [rcx + 0xb0]
mov qword [rbx + 0x48], rax
lea rax, [rcx + 0xb8]
mov qword [rbx + 0x50], rax
lea rax, [rcx + 0xc0]
mov qword [rbx + 0x58], rax
lea rax, [rcx + 0xc8]
mov qword [rbx + 0x60], rax
lea rax, [rcx + 0xd0]
mov qword [rbx + 0x68], rax
lea rax, [rcx + 0xd8]
mov qword [rbx + 0x70], rax
lea rax, [rcx + 0xe0]
mov qword [rbx + 0x78], rax
lea rax, [rcx + 0xe8]
mov qword [rbx + 0x80], rax
lea rax, [rcx + 0xf0]
mov qword [rbx + 0x88], rax
lea rax, [rcx + 0xf8]
mov qword [rbx + 0x90], rax
lea rax, [rcx + 0x100]
mov qword [rbx + 0x98], rax
movzx eax, word [rcx + 0x14]
add r14, rax
cmp di, word [rcx + 6]
jae 0x1400a2411
mov qword [rsp + 0x38], rsi
nop dword [rax]
mov rdx, qword [rbx + 0xa8]
movsxd rax, edi
lea rcx, [rax + rax*4]
lea rax, [r14 + rcx*8]
mov qword [rsp + 0x30], rax
cmp rdx, qword [rbx + 0xb0]
je 0x1400a23ed
mov qword [rdx], rax
add qword [rbx + 0xa8], 8
jmp 0x1400a23fe
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0xa0]
call fcn.1400a20c0
mov rax, qword [rbx + 0x10]
inc edi
movzx ecx, word [rax + 2]
cmp edi, ecx
jl 0x1400a23c0
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x48]
mov al, 1
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400a24a0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x1400a24cd
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400a24cd
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400a24cd
mov edx, 0x20b
cmp word [rax + rcx + 0x18], dx
jne 0x1400a24cd
mov eax, dword [rax + rcx + 0x50]
ret
xor eax, eax
ret