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

Disassembly:
cld
pop r11
jmp 0x679e8d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x679e9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x679e85
lea eax, [rcx + 1]
jmp 0x679eab
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x679ebe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x679ea4
sub eax, 3
jb 0x679ede
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x679f2d
sar eax, 1
movsxd rbp, eax
jb 0x679f14
jmp 0x679eec
add ebx, ebx
jne 0x679eea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x679f14
inc ecx
add ebx, ebx
jne 0x679efa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x679f14
call r11
adc ecx, ecx
add ebx, ebx
jne 0x679f0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x679efc
add ecx, 2
jmp 0x679f19
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00679e42
jmp 0x679e8d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x88600
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x679f79
cmp rsi, rcx
jae 0x679f81
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x679f60
cmp al, 0x8f
ja 0x679f60
cmp byte [rsi - 2], 0xf
je 0x679f66
sub al, 0xe8
cmp al, 1
ja 0x679f4a
cmp rsi, rcx
jae 0x679f81
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x679f50
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x679f81
lodsb al, byte [rsi]
jmp 0x679f60
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x276000]
mov eax, dword [rdi]
or eax, eax
je 0x679fde
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x27a000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x679f8e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x679fd8
mov qword [rbx], rax
add rbx, 8
jmp 0x679fae
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x67a018
cmp al, 0xef
ja 0x67a00a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x679fea
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x679ff9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x67a06c
sub rsp, 0xffffffffffffff80
jmp 0x463ac0
Function at 0x140001940
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea rbp, [rcx + 2]
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x18], rbp
nop word [rax + rax]
movzx r9d, byte [rbp - 1]
movzx edx, byte [rbp - 2]
movzx ebx, r9b
movzx r8d, byte [rbp]
movzx eax, dl
shr al, 7
movzx r10d, r8b
movzx eax, al
add r10b, r10b
imul eax, eax, 0x1b
add bl, bl
movzx ecx, byte [rbp + 1]
mov byte [rsp], dl
add dl, dl
mov byte [rsp + 0x80], r9b
mov byte [rsp + 0x88], r8b
xor dl, al
mov dword [rsp + 8], eax
movzx eax, dl
movzx esi, dl
shr al, 7
add sil, sil
movzx eax, al
imul eax, eax, 0x1b
xor sil, al
mov dword [rsp + 4], eax
movzx eax, r9b
shr al, 7
movzx eax, al
imul r14d, eax, 0x1b
xor bl, r14b
movzx eax, bl
movzx r9d, bl
shr al, 7
add r9b, r9b
movzx eax, al
imul eax, eax, 0x1b
xor r9b, al
mov dword [rsp + 0xc], eax
movzx eax, r8b
shr al, 7
movzx eax, al
imul r12d, eax, 0x1b
xor r10b, r12b
movzx eax, r10b
movzx r8d, r10b
shr al, 7
xor r10b, dl
movzx eax, al
add r8b, r8b
imul ebp, eax, 0x1b
movzx eax, cl
shr al, 7
add cl, cl
movzx eax, al
imul r13d, eax, 0x1b
xor r8b, bpl
xor cl, r13b
mov dword [rsp + 0x10], r13d
movzx eax, cl
shr al, 7
movzx eax, al
imul r15d, eax, 0x1b
movzx eax, cl
add al, al
xor al, r15b
xor r10b, al
mov byte [rsp + 0x78], al
shr al, 7
xor r10b, r8b
movzx eax, al
xor r10b, r9b
imul edi, eax, 0x1b
xor r10b, sil
movzx eax, r8b
mov byte [rsp + 1], r10b
shr al, 7
movzx eax, al
imul r11d, eax, 0x1b
movzx eax, r9b
shr al, 7
movzx eax, al
imul r10d, eax, 0x1b
movzx eax, sil
xor byte [rsp + 0x78], cl
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
mov r13, qword [rsp + 0x18]
movzx eax, byte [rsp + 1]
xor al, byte [rsp + 0x80]
xor al, byte [rsp]
add al, al
movzx ecx, byte [rsp + 0x78]
xor al, dl
xor cl, r8b
xor al, r10b
mov r8d, dword [rsp + 0xc]
xor al, r11b
xor cl, r9b
xor al, dil
movzx r9d, byte [r13 + 1]
xor al, bpl
xor cl, bl
xor al, r14b
movzx ebx, byte [rsp + 0x88]
xor al, byte [rsp + 4]
xor cl, sil
xor al, byte [rsp + 8]
xor al, byte [r13 + 1]
xor al, byte [rsp + 0x88]
xor al, byte [rsp + 0x80]
movzx esi, byte [rsp + 0x80]
mov byte [r13 - 2], al
movzx eax, cl
xor al, bl
xor cl, r9b
xor al, sil
add al, al
xor al, dl
xor al, r10b
xor al, r11b
xor al, dil
xor al, r15b
xor al, r12b
xor al, r8b
xor al, r14b
mov r14, r13
movzx r14d, byte [rsp]
xor al, r9b
xor al, bl
xor cl, r14b
xor al, r14b
add cl, cl
mov byte [r13 - 1], al
xor cl, dl
mov r13d, dword [rsp + 0x10]
xor cl, r10b
movzx eax, byte [rsp + 1]
xor cl, r11b
xor al, r9b
xor cl, dil
xor al, bl
xor cl, r15b
add al, al
xor cl, r13b
xor al, dl
xor cl, r8b
xor cl, byte [rsp + 8]
xor al, r10b
xor al, r11b
xor al, dil
xor al, r13b
xor al, bpl
mov rbp, qword [rsp + 0x18]
xor al, r12b
xor al, byte [rsp + 4]
xor al, r9b
xor al, sil
xor al, r14b
mov byte [rbp], al
xor cl, bl
xor cl, sil
xor cl, r14b
mov byte [rbp + 1], cl
add rbp, 4
sub qword [rsp + 0x20], 1
mov qword [rsp + 0x18], rbp
jne 0x140001970
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001ee0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r10, rdx
mov rsi, rdx
sub r10, rcx
mov rbx, rcx
mov r8, rcx
mov r11d, 4
nop dword [rax]
mov r9d, 4
nop word [rax + rax]
movzx eax, byte [r8 + r10 + 0xa0]
xor byte [r8], al
inc r8
sub r9, 1
jne 0x140001f20
sub r11, 1
jne 0x140001f10
mov dil, 9
lea rbp, [0x140001100]
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax]
nop word [rax + rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + rbp]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001fc0
inc r8
sub r9, 1
jne 0x140001fb0
movzx r8d, dil
mov rax, rbx
shl r8, 4
mov r9d, 4
sub r8, rbx
add r8, rsi
nop dword [rax]
nop dword [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [rax + r8]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x140002010
sub r9, 1
jne 0x140002000
test dil, dil
je 0x14000203c
mov rcx, rbx
call fcn.140001940
add dil, 0xff
jmp 0x140001f45
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140004810
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov eax, 0x8000
mov qword [rsp + 0x108], r15
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x48], 0x3be000
mov dword [rbp + 0x40], 0x3bdf70
mov dword [rbp + 0x50], 0x1000
call fcn.140006110
call fcn.1400049f0
xor ecx, ecx
call qword [0x140001260]
mov rcx, qword [rbp + 0x58]
lea rdx, [rsp + 0x20]
add rcx, rax
mov dword [rsp + 0x20], 0xefb823d6
mov qword [rbp + 0x58], rcx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x24], 0xc3ce2662
mov dword [rsp + 0x28], 0x12554ce2
mov dword [rsp + 0x2c], 0xe773e87d
mov dword [rsp + 0x30], 0x6b779c83
mov dword [rsp + 0x34], 0x573ba9b1
mov dword [rsp + 0x38], 0xeadb5fb2
mov dword [rsp + 0x3c], 0xa28eb60d
call fcn.1400012e0
mov r15, qword [rbp + 0x58]
mov esi, dword [rbp + 0x48]
mov rbx, r15
mov dword [rbp - 0x10], 0x2d314218
mov dword [rbp - 0xc], 0xb6daeffc
mov dword [rbp - 8], 0xdf149b9
mov dword [rbp - 4], 0xbd7e7e03
test rsi, rsi
je 0x14000493d
lea rdi, [rbp - 0x10]
sub rdi, r15
dec rsi
shr rsi, 4
inc rsi
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140001ee0
mov ecx, 0x10
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x140004920
sub rdi, 0x10
movaps xmmword [rbp - 0x10], xmm0
sub rsi, 1
jne 0x140004900
mov ecx, dword [rbp + 0x40]
call qword [0x140001250]
mov r8d, dword [rbp + 0x40]
lea rdx, [r15 + 0x10]
mov rcx, rax
mov r14, rax
call fcn.140004ae0
mov r8d, dword [rbp + 0x48]
xor edx, edx
mov rcx, qword [rbp + 0x58]
call fcn.140004a10
call fcn.140003610
mov r15, qword [rsp + 0x108]
mov rsi, rax
test rax, rax
je 0x1400049ca
mov r8, qword [rax + 0x30]
mov edx, 0x28
mov ecx, pe_nt_image_headers64
call r8
mov rdi, rax
test rax, rax
je 0x1400049ca
mov qword [rax + 0x10], rsi
mov r8d, 1
mov dword [rax + 0x18], 1
mov rdx, r14
xor eax, eax
mov rcx, rdi
mov qword [rdi + 0x1c], rax
call fcn.140002730
test eax, eax
jne 0x1400049ca
mov rbx, qword [rsi + 0x38]
mov rcx, rdi
call rbx
mov rcx, rsi
call rbx
mov rcx, r14
call qword [0x140001258]
add rsp, 0x110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140005c30
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx edx, byte [rsp + 0x20]
mov ecx, 0x53b2070f
call fcn.140005c60
add rsp, 0x30
pop rdi
ret

Function at 0x1400060c0
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
movsx eax, byte [rsp + 0x10]
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
mov rcx, qword [rsp + 8]
mov dword [rcx], eax
ret
Function at 0x1400167b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14001c040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], r9
call fcn.140016230
test al, al
jne 0x1400169ef
cmp byte [0x14001a363], 0
movups xmm0, xmmword [0x14001a350]
mov eax, dword [0x14001a360]
mov qword [rsp + 0x88], rdi
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], eax
je 0x14001698d
xor ecx, ecx
cmp dword [0x14001c018], 2
jl 0x14001694b
movdqa xmm0, xmmword [0x14001a500]
lea rdx, [rsp + 0x24]
movdqa xmm4, xmmword [0x14001a4b0]
movdqa xmm3, xmmword [0x14001a510]
movdqa xmm5, xmmword [0x14001a4d0]
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm6
movdqa xmm6, xmmword [0x14001a4e0]
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140016860
movaps xmm6, xmmword [rsp + 0x70]
cmp ecx, 0x14
jge 0x14001698d
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0x14
jl 0x140016960
mov rcx, qword [0x14001c140]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 0x8000
lea rdx, [rsp + 0x50]
mov rdi, rax
xor r8d, r8d
mov rcx, rbx
call rdi
test eax, eax
js 0x1400169e3
mov r9d, 0x8000
lea rdx, [rsp + 0x58]
xor r8d, r8d
mov rcx, rbx
call rdi
test eax, eax
js 0x1400169e3
mov r9d, 0x8000
lea rdx, [rsp + 0x60]
xor r8d, r8d
mov rcx, rbx
call rdi
mov rdi, qword [rsp + 0x88]
xor al, al
jmp 0x1400169f1
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140018dd0
add rsp, 0x90
pop rbx
ret
Function at 0x1400194e8
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400774a0
xor r8d, r8d
xor edx, edx
jmp 0x140077190
Function at 0x140002af9
Capabilities:
Get geographical location

Disassembly:
jmp 0x14005ed40
sub rsp, 0x28
and dword [rsp + 0x30], 0
call fcn.140003cec
mov r9d, 2
lea r8, [rsp + 0x30]
mov rcx, qword [rax + 0x28]
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x14005ed8d
sub ecx, 1
je 0x14005ed86
cmp ecx, 1
je 0x14005ed7f
xor eax, eax
jmp 0x14005ed92
mov eax, 3
jmp 0x14005ed92
mov eax, 1
jmp 0x14005ed92
mov eax, 2
add rsp, 0x28
ret

Function at 0x140002d24
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400df0dc
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140113100]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x140117868]
xor r11d, r11d
lea rdi, [0x1400ef2be]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x1400df14c
mov rax, 0xfffffffffffffffe
jmp 0x1400df299
cmp word [r10 + 6], r11w
jne 0x1400df1bb
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400df176
test r14, r14
je 0x1400df167
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400df299
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400df184
mov r8b, 2
jmp 0x1400df1a2
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400df192
mov r8b, 3
jmp 0x1400df1a2
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400df28e
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1400df1e4
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400df28e
cmp bl, bpl
jb 0x1400df28e
cmp bl, r8b
jae 0x1400df28e
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400df211
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400df28e
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x1400df1f3
cmp r9, rbp
jae 0x1400df23d
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400df140
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400df28e
cmp edx, 0x110000
jae 0x1400df28e
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1400df28e
test r14, r14
je 0x1400df27c
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.1400057bd
jmp 0x1400df299
mov rdx, rsi
mov rcx, r10
call fcn.140006311
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140003530
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002d9c
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14001a0b0
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14001a13d
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14001a13d
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001a13d
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14001a124
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14001a11e
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14001a126
add rdx, 0x28
jmp 0x14001a103
xor edx, edx
test rdx, rdx
jne 0x14001a12f
xor al, al
jmp 0x14001a143
cmp dword [rdx + 0x24], 0
jge 0x14001a139
xor al, al
jmp 0x14001a143
mov al, 1
jmp 0x14001a143
xor al, al
jmp 0x14001a143
add rsp, 0x18
ret

Function at 0x140003279
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140073580
mov rax, rcx
neg rcx
test rax, 7
je 0x14007359d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1400735f8
test al, 7
jne 0x140073590
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1400735b1
mov rdx, qword [rax - 8]
test dl, dl
je 0x140073622
test dh, dh
je 0x14007361c
shr rdx, 0x10
test dl, dl
je 0x140073616
test dh, dh
je 0x140073610
shr rdx, 0x10
test dl, dl
je 0x14007360a
test dh, dh
je 0x140073604
shr edx, 0x10
test dl, dl
je 0x1400735fe
test dh, dh
jne 0x1400735b1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400032b0
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400c2260
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400c22e7
mov rsi, rbx
cmp word [rax], bp
je 0x1400c22a6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400c2290
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400c228c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140001064
mov rdi, rax
test rax, rax
je 0x1400c22d4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140003558
mov rbp, rdi
xor ecx, ecx
call fcn.140001249
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000357b
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14000d14a
mov eax, 0x84222325
sub r8, rdx
je 0x14000d16d
xor ecx, ecx
movzx r9d, byte [rdx + rcx]
xor r9d, eax
imul eax, r9d, 0x1b3
inc rcx
cmp r8, rcx
jne 0x14000d156
ret
Function at 0x14000377e
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140072fc4
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400f3dc8]
mov ecx, 2
lea r8, [0x1400f3dc0]
lea rdx, str.FlsGetValue
call fcn.140072a94
mov ecx, ebx
test rax, rax
je 0x140072ffe
add rsp, 0x20
pop rbx
jmp qword [0x140124020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1400039c2
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400c210c
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 0x1400c213c
xor eax, eax
jmp 0x1400c21ff
mov rbp, rbx
cmp word [rax], si
je 0x1400c2161
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400c2148
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400c2144
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.140004a52
movsxd r14, eax
test eax, eax
jne 0x1400c219f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400c2135
mov rcx, r14
call fcn.140001064
mov rdi, rax
test rax, rax
jne 0x1400c21b8
xor ecx, ecx
call fcn.140001249
jmp 0x1400c2194
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.140004a52
test eax, eax
jne 0x1400c21e9
mov rcx, rdi
call fcn.140001249
jmp 0x1400c21f3
xor ecx, ecx
call fcn.140001249
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 0x1400039d1
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140072f14
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400f3d88]
xor ecx, ecx
lea r8, [0x1400f3d80]
lea rdx, str.FlsAlloc
call fcn.140072a94
test rax, rax
je 0x140072f4d
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140124020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140003a99
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400bbc3c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1400f6a18]
mov rbp, rcx
lea r8, [0x1400f6a10]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.1400bb15c
test rax, rax
je 0x1400bbc9c
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x140124030]
jmp 0x1400bbcb6
xor edx, edx
mov rcx, rbp
call fcn.140002e0a
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret