joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140066660
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x188
mov rax, qword [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov eax, dword [0x1401b40f0]
mov ecx, dword [0x1401b2730]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400666c0
lea rsi, [0x1401b40e8]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14012d670
mov rax, rsi
add rsp, 0x188
pop rdi
pop rsi
ret
lea rcx, [0x1401b40f0]
call fcn.14012d420
cmp dword [0x1401b40f0], 0xffffffff
jne 0x14006669c
lea rcx, [rsp + 0x64]
mov r8d, 0x118
xor edx, edx
call fcn.140130ac0
mov dword [rsp + 0x60], 0x11c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x2c], 0
mov ecx, dword [rsp + 0x64]
mov edx, dword [rsp + 0x68]
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.14012d2c8
mov rsi, rax
mov edi, dword [rsp + 0x2c]
mov eax, dword [0x1401b4128]
mov ecx, dword [0x1401b2730]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140066781
lea r8, [0x1401b40f8]
lea rdx, [rsp + 0x60]
mov rcx, rsi
mov r9d, edi
call fcn.140066930
mov qword [0x1401b40e8], rsi
lea rcx, [0x1401b40f0]
call fcn.14012d4b8
jmp 0x14006669c
lea rcx, [0x1401b4128]
call fcn.14012d420
cmp dword [0x1401b4128], 0xffffffff
jne 0x140066752
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movups xmmword [0x1401b4118], xmm2
movups xmmword [0x1401b4108], xmm1
movups xmmword [0x1401b40f8], xmm0
lea rcx, [0x1401b4128]
call fcn.14012d4b8
jmp 0x140066752

Function at 0x140066810
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x1401b4128]
mov ecx, dword [0x1401b2730]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140066893
movzx eax, word [0x1401b40f8]
cmp rax, 0xc
ja case.0x140066862.1
xor esi, esi
lea rcx, [0x1400668fc]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov esi, 2
jmp case.0x140066862.0
mov esi, 4
jmp case.0x140066862.0
mov esi, 1
jmp case.0x140066862.0
mov esi, 3
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14012d670
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x1401b4128]
call fcn.14012d420
cmp dword [0x1401b4128], 0xffffffff
jne 0x140066845
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmm2, xmmword [rsp + 0x40]
movups xmmword [0x1401b4118], xmm2
movups xmmword [0x1401b4108], xmm1
movups xmmword [0x1401b40f8], xmm0
lea rcx, [0x1401b4128]
call fcn.14012d4b8
jmp 0x140066845
Function at 0x1400746e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140074700
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
repz ret

Function at 0x140074740
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140074760
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
repz ret

Function at 0x1400747a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400747c3
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
repz ret

Function at 0x140074820
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140074843
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
repz ret

Function at 0x1400748a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400748c9
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
repz ret
Function at 0x140074930
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140074959
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
repz ret

Function at 0x1400749c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x140074a1f

Function at 0x140074a10
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.140074a10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
repz ret

Function at 0x140074aa0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x140074aff
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140074af0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
repz ret
Function at 0x140074b80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesenc xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x140074bda

Function at 0x140074bfa
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140074bd0
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
repz ret

Function at 0x140074c90
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesdec xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x140074cea
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
aesdec xmm8, xmm0
aesdec xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140074ce0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
aesdeclast xmm8, xmm0
aesdeclast xmm9, xmm0
repz ret
Function at 0x140081b40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [rcx - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [rbp - 1]
vmovups xmm15, xmmword [rcx - 0x70]
lea r12, [rcx - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x140081c60
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x140081ba0
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x140081ba0
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rdi]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rdi + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rdi + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rdi + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rdi + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rdi + 0x50]
lea rdi, [rdi + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rsi], xmm9
vmovups xmmword [rsi + 0x10], xmm10
vmovups xmmword [rsi + 0x20], xmm11
vmovups xmmword [rsi + 0x30], xmm12
vmovups xmmword [rsi + 0x40], xmm13
vmovups xmmword [rsi + 0x50], xmm14
lea rsi, [rsi + 0x60]
repz ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x140081ba0
Function at 0x14008f000
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x1401b4250]
cmp rsi, 1
ja 0x14008f060
lea rcx, [0x1401b4250]
call fcn.14002bee0
test al, al
je 0x14008f059
mov qword [0x1401b4258], 0
lea rdi, [0x1401b4250]
lea rsi, [0x1401b4258]
mov rcx, rsi
xor edx, edx
call fcn.14005be80
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.14002bf90
jmp 0x14008f060
mov rsi, qword [0x1401b4250]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14005be30

Function at 0x140098560
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140098579
mov dword [rsi], eax
mov al, 1
jmp 0x14009857b
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x14009b7c4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test r8, r8
je 0x14009b8dd
mov rdi, rcx
mov rax, qword [rcx + 8]
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx + 0x84], 0
je 0x14009b8dd
cmp word [rax + rcx + 0x14], 0x78
jb 0x14009b8dd
mov r14, r8
mov r12, rdx
mov edx, dword [rax + rcx + 0x88]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
test rax, rax
je 0x14009b8dd
cmp r12, 0xffff
ja 0x14009b833
mov word [r14], r12w
jmp 0x14009b916
mov rsi, rax
mov edx, dword [rax + 0x20]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov edx, dword [rsi + 0x18]
lea rcx, [rdx*4]
test rcx, rcx
je 0x14009b8dd
mov qword [rsp + 0x30], rsi
lea rbx, [rax + rdx*4]
lea r13, [r12 + 1]
mov qword [rsp + 0x28], rax
mov rbp, rax
mov rax, rbx
sub rax, rbp
mov rcx, rax
sar rcx, 2
shr rax, 0x3f
add rax, rcx
and rax, 0xfffffffffffffffe
lea r15, [rax*2]
add r15, rbp
mov edx, dword [r15]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov cl, byte [r12]
test cl, cl
je 0x14009b8b6
mov rdx, r13
cmp cl, byte [rax]
jne 0x14009b8b8
inc rax
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x14009b8a6
xor ecx, ecx
movzx ecx, cl
movzx eax, byte [rax]
mov edx, ecx
sub edx, eax
lea rsi, [r15 + 4]
test edx, edx
cmovg rbp, rsi
cmp ecx, eax
cmovs rbx, r15
je 0x14009b8f0
xor eax, eax
cmp rbp, rbx
jne 0x14009b86c
jmp 0x14009b8df
xor eax, eax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [rsp + 0x30]
mov edx, dword [rsi + 0x24]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
sub r15, qword [rsp + 0x28]
sar r15, 1
movzx eax, word [rax + r15]
add ax, word [rsi + 0x10]
mov word [r14], ax
mov al, 1
jmp 0x14009b8df

Function at 0x14009bd42
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rcx + 8]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14009bd79
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14009bd79
movzx edx, word [rax + rcx + 0x14]
cmp edx, 0xf0
jne 0x14009bd79
movzx eax, word [rax + rcx + 0x18]
cmp eax, 0x20b
sete al
ret
xor eax, eax
ret
Function at 0x14009c2e0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401b4970]
mov ecx, dword [0x1401b2730]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14009c315
lea rcx, [0x1401b4968]
add rsp, 0x28
jmp fcn.14005bdf0
lea rcx, [0x1401b4970]
call fcn.14012d420
cmp dword [0x1401b4970], 0xffffffff
jne 0x14009c305
mov qword [0x1401b4968], 0
lea rcx, [0x1401b4968]
xor edx, edx
call fcn.14005be80
lea rcx, [0x1401b4970]
call fcn.14012d4b8
jmp 0x14009c305

Function at 0x14009d320
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rcx + 0x30]
lea rdx, [rsi + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov byte [rsi + 0xdd9], 1
mov rcx, qword [rsi + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x50]
test rax, rax
je 0x14009d384
mov eax, dword [0x1401b4970]
mov ecx, dword [0x1401b2730]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14009d38b
lea rcx, [0x1401b4968]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14005be30
nop
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1401b4970]
call fcn.14012d420
cmp dword [0x1401b4970], 0xffffffff
jne 0x14009d370
mov qword [0x1401b4968], 0
lea rcx, [0x1401b4968]
xor edx, edx
call fcn.14005be80
lea rcx, [0x1401b4970]
call fcn.14012d4b8
jmp 0x14009d370
Function at 0x14009e9e0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rdx
mov rdi, rcx
mov rcx, r8
call fcn.1400d6640
test al, al
je 0x14009eb63
movsd xmm0, qword [rdi + 0x50]
mov r9b, 1
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x14009eb83
movsd xmm0, qword [rdi + 0xad0]
subsd xmm0, qword [rdi + 0xac8]
mov rcx, qword [rdi + 0xac0]
lea rax, [rcx + 1]
shr rax, 3
movabs r10, 0xd20d20d20d20d21
mul r10
shr rdx, 1
imul rax, rdx, 0x138
neg rax
lea r8, [rcx + rax]
add r8, 1
mov rax, 0xffffffff80000000
and rax, qword [rdi + rcx*8 + 0x100]
mov rbx, qword [rdi + r8*8 + 0x100]
mov esi, ebx
and esi, 0x7ffffffe
or rsi, rax
lea rax, [rcx + 0x9c]
shr rax, 3
mul r10
shr rdx, 1
imul rax, rdx, 0x138
neg rax
add rax, rcx
add rax, 0x9c
and ebx, 1
movabs rdx, 0xb5026f5aa96619e9
imul rdx, rbx
xor rdx, qword [rdi + rax*8 + 0x100]
shr rsi, 1
xor rdx, rsi
mov qword [rdi + rcx*8 + 0x100], rdx
mov rax, qword [rdi + 0xac0]
mov rax, qword [rdi + rax*8 + 0x100]
mov rcx, rax
shr rcx, 0x1d
movabs rdx, 0x555555555
and rdx, rcx
xor rdx, rax
mov qword [rdi + 0xac0], r8
mov rax, rdx
shl rax, 0x11
movabs rcx, 0x71d67fffeda60000
and rcx, rax
xor rcx, rdx
mov eax, ecx
and eax, 0x7ffbf77
shl rax, 0x25
xor rax, rcx
mov rcx, rax
shr rcx, 0x2b
xor rcx, rax
movq xmm1, rcx
punpckldq xmm1, xmmword [0x1401615b0]
subpd xmm1, xmmword [0x1401615c0]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
mulsd xmm2, qword [0x14016f4a0]
mulsd xmm2, xmm0
addsd xmm2, qword [rdi + 0xac8]
movsd xmm0, qword [rdi + 0x50]
ucomisd xmm0, xmm2
seta r8b
jmp 0x14009eb86
cmp dword [rdi + 0x80], 0
jne 0x14009eb80
mov rax, qword [rdi + 0xd30]
cmp rax, qword [rdi + 0xd38]
jne 0x14009e9ff
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
mov edx, r9d
call fcn.1400d9190
mov rax, r14
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400a3bc0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov r13, rcx
mov rdi, qword [rcx + 0x10]
mov rax, qword [rcx + 0x18]
cmp rdi, rax
jne 0x1400a3d65
mov r15, qword [r13]
mov rbx, qword [r13 + 8]
mov rcx, rbx
sub rcx, r15
jbe 0x1400a3c47
sar rcx, 3
lea rax, [rcx + 1]
shr rax, 0x3f
add rax, rcx
add rax, 1
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, rbx
sub r15, rax
sub rdi, rbx
je 0x1400a3c33
mov rcx, r15
mov rdx, rbx
mov r8, rdi
call fcn.1401306b0
mov rbx, qword [r13 + 8]
add rdi, r15
mov qword [r13 + 0x10], rdi
lea rax, [rbx + r12*8]
mov qword [r13 + 8], rax
jmp 0x1400a3d65
sub rax, r15
mov rcx, rax
sar rcx, 2
test rax, rax
mov esi, 1
cmovne rsi, rcx
mov rax, rsi
shr rax, 0x3d
jne 0x1400a3d80
mov r12, rsi
shr r12, 2
lea rcx, [rsi*8]
call fcn.14012d2c8
lea r11, [rax + r12*8]
mov r9, r11
lea r8, [rax + rsi*8]
sub rdi, rbx
je 0x1400a3d3f
lea r10, [rdi - 8]
mov ecx, r10d
shr ecx, 3
add ecx, 1
and rcx, 7
je 0x1400a3cc5
neg rcx
mov rdx, r9
nop dword [rax + rax]
mov rsi, qword [rbx]
mov qword [rdx], rsi
add rdx, 8
add rbx, 8
inc rcx
jne 0x1400a3cb0
jmp 0x1400a3cc8
mov rdx, r9
add r11, rdi
cmp r10, 0x38
jb 0x1400a3d3b
sar rdi, 3
shl r12, 3
lea rdi, [r12 + rdi*8]
mov rcx, rax
add rcx, rdi
nop word cs:[rax + rax]
nop dword [rax]
mov rdi, qword [rbx]
mov qword [rdx], rdi
mov rdi, qword [rbx + 8]
mov qword [rdx + 8], rdi
mov rdi, qword [rbx + 0x10]
mov qword [rdx + 0x10], rdi
mov rdi, qword [rbx + 0x18]
mov qword [rdx + 0x18], rdi
mov rdi, qword [rbx + 0x20]
mov qword [rdx + 0x20], rdi
mov rdi, qword [rbx + 0x28]
mov qword [rdx + 0x28], rdi
mov rdi, qword [rbx + 0x30]
mov qword [rdx + 0x30], rdi
mov rdi, qword [rbx + 0x38]
mov qword [rdx + 0x38], rdi
add rdx, 0x40
add rbx, 0x40
cmp rcx, rdx
jne 0x1400a3cf0
mov r15, qword [r13]
mov qword [r13], rax
mov qword [r13 + 8], r9
mov qword [r13 + 0x10], r11
mov qword [r13 + 0x18], r8
test r15, r15
je 0x1400a3d62
mov rcx, r15
call fcn.14012d304
mov rdi, qword [r13 + 0x10]
jmp 0x1400a3d65
mov rdi, r11
mov rax, qword [r14]
mov qword [rdi], rax
add qword [r13 + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1401405b4
int3
Function at 0x1400a3d90
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov rsi, rcx
mov rcx, qword [rcx]
mov rbx, qword [rsi + 8]
cmp rbx, rcx
je 0x1400a3db9
mov r12, rbx
jmp 0x1400a3f2e
mov r15, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
cmp r15, rax
jae 0x1400a3e0f
sub rax, r15
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea rdi, [rax + rcx]
add rdi, 1
sar rdi, 1
lea r12, [r15 + rdi*8]
mov r8, r15
sub r8, rbx
je 0x1400a3dfe
sub r12, r8
mov rcx, r12
mov rdx, rbx
call fcn.1401306b0
mov r15, qword [rsi + 0x10]
mov qword [rsi + 8], r12
lea rax, [r15 + rdi*8]
mov qword [rsi + 0x10], rax
jmp 0x1400a3f2e
sub rax, rcx
mov rcx, rax
sar rcx, 2
test rax, rax
mov edi, 1
cmovne rdi, rcx
mov rax, rdi
shr rax, 0x3d
jne 0x1400a3f4b
lea r13, [rdi + 3]
shr r13, 2
lea rcx, [rdi*8]
call fcn.14012d2c8
lea r10, [rax + r13*8]
mov r12, r10
lea r8, [rax + rdi*8]
sub r15, rbx
je 0x1400a3f0e
lea r9, [r15 - 8]
mov edx, r9d
shr edx, 3
add edx, 1
and rdx, 7
je 0x1400a3e95
neg rdx
mov rdi, r12
nop word cs:[rax + rax]
nop
mov rcx, qword [rbx]
mov qword [rdi], rcx
add rdi, 8
add rbx, 8
inc rdx
jne 0x1400a3e80
jmp 0x1400a3e98
mov rdi, r12
add r10, r15
cmp r9, 0x38
jb 0x1400a3f0b
sar r15, 3
shl r13, 3
lea rcx, [r15*8]
add rcx, r13
mov rdx, rax
add rdx, rcx
nop word [rax + rax]
mov rcx, qword [rbx]
mov qword [rdi], rcx
mov rcx, qword [rbx + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 0x10]
mov qword [rdi + 0x10], rcx
mov rcx, qword [rbx + 0x18]
mov qword [rdi + 0x18], rcx
mov rcx, qword [rbx + 0x20]
mov qword [rdi + 0x20], rcx
mov rcx, qword [rbx + 0x28]
mov qword [rdi + 0x28], rcx
mov rcx, qword [rbx + 0x30]
mov qword [rdi + 0x30], rcx
mov rcx, qword [rbx + 0x38]
mov qword [rdi + 0x38], rcx
add rdi, 0x40
add rbx, 0x40
cmp rdx, rdi
jne 0x1400a3ec0
mov rbx, qword [rsi]
mov qword [rsi], rax
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r10
mov qword [rsi + 0x18], r8
test rbx, rbx
je 0x1400a3f2e
mov rcx, rbx
call fcn.14012d304
mov r12, qword [rsi + 8]
mov rax, qword [r14]
mov qword [r12 - 8], rax
add qword [rsi + 8], 0xfffffffffffffff8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1401405b4
int3