joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001e7a0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xe0
mov rax, qword [0x18004b010]
xor rax, rsp
mov qword [rsp + 0x98], rax
movups xmm0, xmmword [0x1800454e0]
xor r8d, r8d
cmp dword [0x18004b018], 2
mov rbx, rcx
movups xmm1, xmmword [0x1800454f0]
mov eax, dword [0x180045540]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x180045500]
movups xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [0x180045510]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x180045520]
movups xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [0x180045530]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
mov dword [r11 - 0x68], eax
movzx eax, word [0x180045544]
mov word [r11 - 0x64], ax
jl 0x18001e995
movdqa xmm5, xmmword [0x180045d60]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x1800460f0]
mov eax, 4
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x180045db0]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [0x180045e90]
movd xmm8, eax
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x30
jl 0x18001e880
movaps xmm9, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xd0]
cmp r8d, 0x33
jge 0x18001e9d7
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x31
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x33
jl 0x18001e9a1
xor r9d, r9d
lea r8, [rsp + 0x20]
xor edx, edx
xor ecx, ecx
call qword [0x18004d7d8]
lea r8, [rsp + 0x90]
mov rcx, rbx
mov rdx, rax
call fcn.18001b190
movss xmm0, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180020760
add rsp, 0xe0
pop rbx
ret
Function at 0x18001ea20
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xe0
mov rax, qword [0x18004b010]
xor rax, rsp
mov qword [rsp + 0x98], rax
movups xmm0, xmmword [0x180045470]
xor r8d, r8d
cmp dword [0x18004b018], 2
mov rbx, rcx
movups xmm1, xmmword [0x180045480]
movzx eax, word [0x1800454d8]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x180045490]
movups xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [0x1800454a0]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x1800454b0]
movups xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [0x1800454c0]
movups xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x1800454d0]
movups xmmword [rsp + 0x70], xmm1
movsd qword [r11 - 0x68], xmm0
mov word [r11 - 0x60], ax
jl 0x18001ec15
movdqa xmm5, xmmword [0x180045d60]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x1800460f0]
mov eax, 4
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x180045db0]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [0x180045e90]
movd xmm8, eax
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x30
jl 0x18001eb00
movaps xmm9, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xd0]
cmp r8d, 0x35
jge 0x18001ec57
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x31
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x35
jl 0x18001ec21
xor r9d, r9d
lea r8, [rsp + 0x20]
xor edx, edx
xor ecx, ecx
call qword [0x18004d7d8]
lea r8, [rsp + 0x90]
mov rcx, rbx
mov rdx, rax
call fcn.18001b190
movss xmm0, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180020760
add rsp, 0xe0
pop rbx
ret
Function at 0x18001eca0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xd0
movaps xmmword [r11 - 0x58], xmm10
mov rax, qword [0x18004b010]
xor rax, rsp
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [0x180045420]
xor r8d, r8d
cmp dword [0x18004b018], 2
movaps xmm10, xmm1
movups xmm2, xmmword [0x180045430]
mov rbx, rcx
mov eax, dword [0x180045468]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x180045440]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x180045460]
movups xmmword [rsp + 0x30], xmm2
movups xmm2, xmmword [0x180045450]
movsd qword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x50], xmm2
mov dword [rsp + 0x68], eax
jl 0x18001ee85
movdqa xmm5, xmmword [0x180045d60]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x1800460f0]
mov eax, 4
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x180045db0]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [0x180045e90]
movd xmm8, eax
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x20
jl 0x18001ed70
movaps xmm9, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
cmp r8d, 0x26
jge 0x18001eec7
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x31
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x26
jl 0x18001ee91
xor r9d, r9d
lea r8, [rsp + 0x20]
xor edx, edx
xor ecx, ecx
call qword [0x18004d7d8]
lea r8, [rsp + 0x70]
movss dword [rsp + 0x70], xmm10
mov rdx, rax
mov rcx, rbx
call fcn.18001b190
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180020760
movaps xmm10, xmmword [rsp + 0x80]
add rsp, 0xd0
pop rbx
ret
Function at 0x18001ef10
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xd0
movaps xmmword [r11 - 0x58], xmm10
mov rax, qword [0x18004b010]
xor rax, rsp
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [0x1800453d0]
xor r8d, r8d
cmp dword [0x18004b018], 2
movaps xmm10, xmm1
movups xmm2, xmmword [0x1800453e0]
mov rbx, rcx
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x1800453f0]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x180045410]
movups xmmword [rsp + 0x30], xmm2
movups xmm2, xmmword [0x180045400]
movsd qword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x50], xmm2
jl 0x18001f0e6
movdqa xmm5, xmmword [0x180045d60]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x1800460f0]
mov eax, 4
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x180045db0]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [0x180045e90]
movd xmm8, eax
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x20
jl 0x18001efd1
movaps xmm9, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
cmp r8d, 0x24
jge 0x18001f136
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x31
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x24
jl 0x18001f100
xor r9d, r9d
lea r8, [rsp + 0x20]
xor edx, edx
xor ecx, ecx
call qword [0x18004d7d8]
lea r8, [rsp + 0x70]
movss dword [rsp + 0x70], xmm10
mov rdx, rax
mov rcx, rbx
call fcn.18001b190
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180020760
movaps xmm10, xmmword [rsp + 0x80]
add rsp, 0xd0
pop rbx
ret
Function at 0x18001fdb0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18001ff90
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18004d7f8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18004d808]
lea rdx, [rdi + rdi]
call fcn.18001f940
mov rcx, qword [0x18004d7f8]
lea r9, [rdi - 1]
mov qword [0x18004d820], r9
mov qword [0x18004d828], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x18001ff85
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r11d, byte [rcx + 0x10]
mov rdx, qword [rdx]
xor r11, rsi
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x12]
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x13]
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x14]
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x15]
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x16]
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x17]
imul r11, rdi
xor r11, rax
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x18004d808]
mov r10, qword [r11]
cmp r10, rbx
jne 0x18001fecb
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x18001ff46
mov rax, qword [r11 + 8]
mov r9, qword [rcx + 0x10]
cmp r9, qword [rax + 0x10]
jne 0x18001ff08
mov r10, qword [rax]
cmp r10, rcx
je 0x18001ff02
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x18001ff46
mov r8, rax
cmp r10, rax
je 0x18001ff22
mov rax, qword [rax + 8]
mov r8, rax
cmp r9, qword [rax + 0x10]
je 0x18001ff5a
cmp r10, rax
jne 0x18001ff10
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
je 0x18001ff80
mov r9, qword [0x18004d820]
jmp 0x18001fe50
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x18001ff46
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.18002072c
int3
Function at 0x18001ffa0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x18004b010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword gs:[0x30]
mov rsi, rdx
mov byte [rsp + 0x20], r9b
mov rbx, rcx
mov dword [rsp + 0x24], r8d
mov rdx, qword [rax + 0x60]
mov rdi, qword [rdx + 0x18]
add rdi, 0x20
mov r10, qword [rdi]
cmp r10, rdi
je 0x180020062
nop dword [rax + rax]
test rbx, rbx
je 0x18002008f
mov r9, qword [r10 + 0x50]
mov r11, rbx
test r9, r9
je 0x18002005a
nop word [rax + rax]
movsx ecx, byte [r11]
lea r11, [r11 + 1]
movzx edx, word [r9]
lea r9, [r9 + 2]
lea eax, [rcx - 0x41]
cmp ax, 0x19
lea r8d, [rcx + 0x20]
lea eax, [rdx - 0x41]
cmova r8w, cx
cmp ax, 0x19
lea ecx, [rdx + 0x20]
cmova cx, dx
test r8w, r8w
je 0x18002008f
cmp r8w, cx
je 0x180020020
mov r10, qword [r10]
cmp r10, rdi
jne 0x180020000
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180020760
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rdi, qword [r10 + 0x20]
test rdi, rdi
je 0x180020062
movsxd rcx, dword [rdi + 0x3c]
lea rdx, [rsp + 0x58]
add rcx, rdi
xorps xmm0, xmm0
mov r8, rsi
movups xmmword [rsp + 0x58], xmm0
movzx ebx, word [rcx + 0x14]
add rbx, rcx
mov r12d, dword [rbx + 0x28]
call fcn.1800201a0
mov r11d, dword [rbx + 0x24]
xorps xmm0, xmm0
mov ebp, dword [rsp + 0x60]
add r11, rdi
xor ebx, ebx
xor r10d, r10d
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
sub r12d, ebp
je 0x180020062
mov r13, qword [rsp + 0x58]
mov r15d, dword [rsp + 0x4c]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x28]
nop
xor eax, eax
test ebp, ebp
je 0x180020148
mov r14d, r10d
mov r9, r13
nop dword [rax]
mov ecx, eax
add rcx, r14
add rcx, r11
cmp rcx, rbx
jb 0x180020127
cmp r15d, 1
je 0x18002016e
lea rbx, [rdi + rsi]
mov r8d, dword [r9]
lea ecx, [rax + r10]
movzx ecx, byte [rcx + r11]
cmp ecx, r8d
je 0x18002013e
cmp r8d, 0xffffffff
jne 0x18002017a
inc eax
add r9, 4
cmp eax, ebp
jb 0x180020110
cmp byte [rsp + 0x20], 0
mov edx, r10d
je 0x18002018b
movsxd rcx, dword [rsp + 0x24]
lea rax, [rcx + r10]
movsxd rax, dword [rax + r11 - 4]
add rax, rcx
add rax, rdx
add rax, r11
jmp 0x180020064
mov eax, esi
lea r10d, [rdi - 1]
sub eax, r11d
add r10d, eax
inc r10d
cmp r10d, r12d
jb 0x180020100
jmp 0x180020062
lea rax, [r10 + r11]
jmp 0x180020064
Function at 0x1800203f0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0xb0
movups xmm0, xmmword [str.vhdwY_RVMiOYS]
xor ebx, ebx
cmp dword [0x18004b018], 2
mov r10, rdx
movups xmm1, xmmword [0x180045b70]
mov rdi, rcx
mov eax, dword [0x180045ba0]
mov r8d, ebx
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [str.__uph]
movups xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [0x180045b90]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], eax
jl 0x1800205b2
movdqa xmm5, xmmword [0x180045d60]
lea rcx, [rsp + 0x20]
movdqa xmm4, xmmword [0x1800460e0]
mov eax, 4
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x180045dc0]
movaps xmmword [r11 - 0x38], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x48], xmm9
movdqa xmm9, xmmword [0x180045e90]
movd xmm8, eax
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x20
jl 0x1800204a0
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
cmp r8d, 0x22
jge 0x1800205f5
movsxd rax, r8d
lea r9, [rsp + 0x20]
lea r9, [r9 + rax*2]
nop
mov eax, 0x51eb851f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x22
jl 0x1800205c0
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
mov rdx, r10
call fcn.18001ffa0
mov rcx, rax
mov rax, rbx
nop
cmp qword [rdi + rax*8], rcx
je 0x180020639
inc ebx
inc rax
cmp rax, 0x3a98
jl 0x180020610
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
mov eax, ebx
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
Function at 0x180031538
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 0x180031568
xor eax, eax
jmp 0x18003162b
mov rbp, rbx
cmp word [rax], si
je 0x18003158d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180031574
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180031570
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.180031458
movsxd r14, eax
test eax, eax
jne 0x1800315cb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180031561
mov rcx, r14
call fcn.18002d104
mov rdi, rax
test rax, rax
jne 0x1800315e4
xor ecx, ecx
call fcn.18002d0c8
jmp 0x1800315c0
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.180031458
test eax, eax
jne 0x180031615
mov rcx, rdi
call fcn.18002d0c8
jmp 0x18003161f
xor ecx, ecx
call fcn.18002d0c8
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 0x1800340ec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180034102
mov al, 1
jmp 0x180034162
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180034113
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180034160
mov ecx, dword [rcx + 0x18]
nop
call fcn.180034740
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180034160
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180034160
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180034160
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180034162
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800384d4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x18004cee0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18003852b
cmp word [rdx], r13w
jne 0x18003852b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180038530
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180038655
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x180038676
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180038569
mov rdx, r9
mov word [rbx], cx
jmp 0x180038590
cmp r9, r8
jae 0x1800385a0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x18003854a
jmp 0x180038655
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18003864a
cmp dword [rsp + 0x80], esi
je 0x18003864a
lea r8, [0x18004cee0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180038622
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800385f2
mov word [rbx], r13w
jmp 0x180038652
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1800385ff
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x180038652
cmp word [rsp + 0x70], r13w
jne 0x18003862f
cmp rbx, r14
je 0x1800385ec
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180038380
cmp word [rsp + 0x70], r13w
je 0x180038655
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x18004cee0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18003864f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180038655