joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180021ae0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rbp + 0x1f], rax
movzx ebx, r8b
mov r15, rdx
mov rdi, rcx
mov qword [rbp - 0x29], rcx
xor r12d, r12d
mov r14d, r12d
mov dword [rbp - 0x35], r12d
test rdx, rdx
jne 0x180021b51
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 7
mov word [rcx], r12w
mov dword [rbp - 0x35], 1
jmp 0x180021d21
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
movdqa xmm6, xmmword [0x18016e140]
movdqu xmmword [rbp - 0x11], xmm6
mov word [rbp - 0x21], r12w
mov word [rbp - 0x39], r12w
mov r9, r15
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rbp - 0x39]
call fcn.180112a44
cmp rax, 1
jne 0x180021cf2
movzx ecx, word [rbp - 0x39]
inc rcx
test bl, bl
je 0x180021c04
mov eax, 2
mul rcx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.1800ed534
mov rsi, rax
movzx ecx, word [rbp - 0x39]
mov word [rax + rcx*2], r12w
movzx r8d, word [rbp - 0x39]
mov r9, r15
lea edx, [rbx + 3]
mov rcx, rax
call fcn.180112a44
movzx ecx, word [rbp - 0x39]
cmp rax, rcx
jne 0x180021ce5
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x180021be1
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x21]
call fcn.1800049a0
movdqu xmm6, xmmword [rbp - 0x11]
jmp 0x180021ce5
call fcn.1800ed534
mov rsi, rax
movzx ecx, word [rbp - 0x39]
mov byte [rcx + rax], 0
movzx r8d, word [rbp - 0x39]
mov r9, r15
mov edx, 1
mov rcx, rax
call fcn.180112a44
movzx ecx, word [rbp - 0x39]
cmp rax, rcx
jne 0x180021ce5
xor r9d, r9d
lea r8, [r9 - 1]
mov rdx, rsi
lea rcx, [rbp - 1]
call fcn.1800a7940
mov rbx, rax
mov dword [rbp - 0x35], 2
lea rax, [rbp - 0x21]
cmp rax, rbx
je 0x180021c85
lea rcx, [rbp - 0x21]
call fcn.180004910
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x21], xmm0
movups xmm6, xmmword [rbx + 0x10]
movdqu xmmword [rbp - 0x11], xmm6
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov r14d, 2
and r14d, 0xfffffffd
mov dword [rbp - 0x35], r14d
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x180021cd3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021cce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180021d51
call fcn.1800ece80
movdqa xmm0, xmmword [0x18016e140]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], r12w
test rsi, rsi
je 0x180021cf2
mov rcx, rsi
call fcn.1800ece80
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm6
movdqa xmm0, xmmword [0x18016e140]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r12w
or r14d, 1
mov dword [rbp - 0x35], r14d
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r12w
mov rax, rdi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800ece20
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.18010e944
int3
Function at 0x180026410
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbx, r9
mov rsi, rdx
mov rbp, rcx
test rcx, rcx
je 0x18002646d
test rdx, rdx
je 0x18002646d
test rbx, rbx
je 0x18002646d
mov dword [r9], 0
test r8d, r8d
je 0x180026469
call fcn.180112e20
mov r8d, edi
mov r9, rbp
mov edx, 1
mov rcx, rsi
call fcn.180112a44
cmp eax, edi
jne 0x18002646d
mov dword [rbx], eax
xor eax, eax
jmp 0x180026472
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180045060
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
movzx r10d, byte [rcx + 0x100]
mov r11, rdx
movzx ebx, byte [rcx + 0x101]
test r8d, r8d
je 0x1800450cd
mov qword [rsp + 0x10], rdi
mov edi, r8d
nop dword [rax]
nop word [rax + rax]
inc r10b
lea r11, [r11 + 1]
movzx r8d, r10b
movzx r9d, byte [r8 + rcx]
add bl, r9b
movzx edx, bl
movzx eax, byte [rdx + rcx]
mov byte [r8 + rcx], al
mov byte [rdx + rcx], r9b
add r9b, byte [r8 + rcx]
movzx eax, r9b
movzx edx, byte [rax + rcx]
xor byte [r11 - 1], dl
sub rdi, 1
jne 0x180045090
mov rdi, qword [rsp + 0x10]
mov byte [rcx + 0x101], r10b
mov byte [rcx + 0x100], r10b
pop rbx
ret
Function at 0x180050880
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x10], eax
xor ecx, ecx
call fcn.180114b50
mov qword [rbx + 8], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x180050a2b
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x38]
call fcn.18004c650
nop
cmp qword [rbp - 0x28], 0
jne 0x18005092b
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x180050924
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005091f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050a58
call fcn.1800ece80
xor ebx, ebx
jmp 0x180050a1b
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1800509df
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rbp - 0x18], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x18]
lea r8d, [rbx + 8]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x180050a1b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050a16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050a52
jmp 0x180050a16
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x180050a1b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050a16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050a4c
call fcn.1800ece80
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], bx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800ece20
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.18010e944
int3
call fcn.18010e944
int3
call fcn.18010e944
int3
Function at 0x180051fb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rdx
mov r8, rcx
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18005214b
mov dword [rsp + 0x50], 0x2d2d4352
mov dword [rsp + 0x54], 0xf7babac9
mov dword [rsp + 0x58], 0x61726f43
mov dword [rsp + 0x5c], 0x776f7242
mov dword [rsp + 0x60], 0x2d756e45
mov dword [rsp + 0x64], 0x61746144
mov dword [rsp + 0x68], 0x37313630
mov dword [rsp + 0x6c], 0x30313032
movdqa xmm2, xmmword [0x18016e160]
xor eax, eax
mov ecx, 1
movd xmm3, ecx
lea rcx, [rsp + 0x50]
nop dword [rax]
nop dword [rax + rax]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
movdqu xmm0, xmmword [rcx]
pslld xmm0, xmm3
paddd xmm1, xmm0
movdqu xmmword [rcx], xmm1
add eax, 4
lea rcx, [rcx + 0x10]
cmp eax, 8
jl 0x180052050
mov rax, qword [rdx]
mov qword [rdx + 8], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov rdx, qword [r8]
mov rax, qword [r8 + 8]
sub rax, rdx
test rdx, rdx
je 0x180052103
lea r9, [rsp + 0x38]
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.18005d820
mov rbx, qword [rsp + 0x38]
test al, al
je 0x180052103
cmp rbx, qword [rsp + 0x40]
je 0x180052103
mov rdx, rdi
mov ecx, 0xa
call fcn.18005d0b0
mov ecx, dword [rsp + 0x40]
sub ecx, ebx
mov rdx, rdi
call fcn.18005d0b0
mov r9, qword [rsp + 0x40]
mov r8, rbx
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.180052440
nop
test rbx, rbx
je 0x18005214b
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x180052131
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180052169
mov rcx, rbx
call fcn.1800ece80
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800ece20
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
call fcn.18010e944
int3
Function at 0x180052170
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rcx]
mov r10, rcx
mov rcx, qword [rcx + 8]
mov rdi, r8
mov rbx, rdx
cmp rax, rcx
je 0x180052375
mov rdx, qword [rdx]
sub rcx, rax
cmp rdx, rcx
jae 0x180052375
lea rax, [rdx + 5]
cmp rax, rcx
ja 0x180052375
lea r8, [rdx + 1]
mov qword [rbx], r8
mov rax, qword [r10]
cmp byte [rdx + rax], 2
jne 0x180052375
lea rcx, [r8 + 1]
mov qword [rbx], rcx
lea rdx, [rcx + 1]
mov rax, qword [r10]
movzx r9d, byte [rax + r8]
lea r8, [rdx + 1]
mov qword [rbx], rdx
mov rax, qword [r10]
shl r9d, 0x18
movzx ecx, byte [rcx + rax]
mov qword [rbx], r8
mov rax, qword [r10]
shl ecx, 0x10
or r9d, ecx
movzx ecx, byte [rax + rdx]
lea rdx, [r8 + 1]
mov qword [rbx], rdx
mov r11, qword [r10]
shl ecx, 8
or r9d, ecx
movzx eax, byte [r11 + r8]
or r9d, eax
cmp r9d, 0xa
jne 0x180052375
mov rcx, qword [r10 + 8]
lea rax, [rdx + 5]
sub rcx, r11
cmp rax, rcx
ja 0x180052375
lea r8, [rdx + 1]
mov qword [rbx], r8
mov rax, qword [r10]
cmp byte [rdx + rax], 2
jne 0x180052375
lea rcx, [r8 + 1]
mov qword [rbx], rcx
lea rdx, [rcx + 1]
mov rax, qword [r10]
movzx r11d, byte [rax + r8]
lea r8, [rdx + 1]
mov qword [rbx], rdx
mov rax, qword [r10]
shl r11d, 0x18
movzx ecx, byte [rax + rcx]
mov qword [rbx], r8
mov rax, qword [r10]
shl ecx, 0x10
or r11d, ecx
movzx ecx, byte [rax + rdx]
shl ecx, 8
or r11d, ecx
lea rcx, [r8 + 1]
mov qword [rbx], rcx
mov rdx, qword [r10]
movzx eax, byte [rdx + r8]
or r11d, eax
mov rax, qword [r10 + 8]
sub rax, rcx
mov esi, r11d
sub rax, rdx
cmp rsi, rax
ja 0x180052375
movdqa xmm2, xmmword [0x18016e160]
mov ecx, 1
mov dword [rsp + 0x20], 0x2d2d4352
xor eax, eax
mov dword [rsp + 0x24], 0xf7babac9
mov dword [rsp + 0x28], 0x61726f43
movd xmm3, ecx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x2c], 0x776f7242
mov dword [rsp + 0x30], 0x2d756e45
mov dword [rsp + 0x34], 0x61746144
mov dword [rsp + 0x38], 0x37313630
mov dword [rsp + 0x3c], 0x30313032
nop word [rax + rax]
movdqu xmm0, xmmword [rcx]
lea rcx, [rcx + 0x10]
movd xmm1, eax
add eax, 4
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
pslld xmm0, xmm3
paddd xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
cmp eax, 8
jl 0x180052310
mov rax, qword [rdi]
mov qword [rdi + 8], rax
mov rcx, qword [rbx]
mov rax, qword [r10]
lea rdx, [rcx + rax]
test rdx, rdx
jne 0x18005235a
xor al, al
add rcx, rsi
mov qword [rbx], rcx
jmp 0x180052377
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8d, r11d
call fcn.18005dc90
mov rcx, qword [rbx]
add rcx, rsi
mov qword [rbx], rcx
jmp 0x180052377
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800ece20
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x18008edc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rcx
xor edi, edi
mov rcx, qword [rcx]
test rcx, rcx
je 0x18008ef72
lea rdx, str.RegOpenKeyExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.RegQueryValueExW
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, [0x180168e00]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test r15, r15
je 0x18008ef72
test r14, r14
je 0x18008ef72
test rax, rax
je 0x18008ef72
mov dword [rbp - 9], 0x65004b
mov dword [rbp - 5], 0x620079
mov dword [rbp - 1], 0x61006f
mov dword [rbp + 3], 0x640072
mov dword [rbp + 7], 0x4c0020
mov dword [rbp + 0xb], 0x790061
mov dword [rbp + 0xf], 0x75006f
mov dword [rbp + 0x13], 0x5c0074
mov dword [rbp + 0x17], 0x720050
mov dword [rbp + 0x1b], 0x6c0065
mov dword [rbp + 0x1f], 0x61006f
mov dword [rbp + 0x23], 0x64
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x19], rdi
mov edx, 0x20019
lea rcx, [rbp - 0x29]
call fcn.1800b2df0
mov rcx, rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 9]
call r15
test eax, eax
jne 0x18008ef3a
xor eax, eax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
mov dword [rbp + 0x37], eax
mov dword [rbp - 0x11], 0x14
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x27]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x180162040]
mov rcx, qword [rbp - 0x19]
call r14
test eax, eax
jne 0x18008ef34
xor edx, edx
lea r8d, [rdi + 0x10]
lea rcx, [rbp + 0x27]
call fcn.18011478c
mov edi, eax
mov rcx, qword [rbp - 0x19]
call rbx
mov rbx, qword [rbp - 0x29]
test rbx, rbx
je 0x18008ef50
lea rcx, [rbp - 0x29]
call fcn.1800b2fa0
mov rbx, qword [rbp - 0x29]
test edi, edi
je 0x18008ef60
mov edx, edi
mov rcx, rsi
call fcn.18008efa0
mov edi, eax
test rbx, rbx
je 0x18008ef6e
lea rcx, [rbp - 0x29]
call fcn.1800b2fa0
mov eax, edi
jmp 0x18008ef74
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1800ece20
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x18008efa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov qword [rsp + 0x110], rbx
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov ebx, edx
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x18008f1be
lea rdx, str.RegOpenKeyExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.RegQueryValueExW
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, [0x180168e00]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test r14, r14
je 0x18008f1be
test rsi, rsi
je 0x18008f1be
test rax, rax
je 0x18008f1be
mov dword [rbp - 0x29], 0x65004b
mov dword [rbp - 0x25], 0x620079
mov dword [rbp - 0x21], 0x61006f
mov dword [rbp - 0x1d], 0x640072
mov dword [rbp - 0x19], 0x4c0020
mov dword [rbp - 0x15], 0x790061
mov dword [rbp - 0x11], 0x75006f
mov dword [rbp - 0xd], 0x5c0074
mov dword [rbp - 9], 0x750053
mov dword [rbp - 5], 0x730062
mov dword [rbp - 1], 0x690074
mov dword [rbp + 3], 0x750074
mov dword [rbp + 7], 0x650074
mov dword [rbp + 0xb], 0x73
xor r15d, r15d
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x59], r15
mov edx, 0x20019
lea rcx, [rbp - 0x69]
call fcn.1800b2df0
mov rcx, rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x29]
call r14
test eax, eax
je 0x18008f1ae
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [0x18016e140]
movdqu xmmword [rbp - 0x39], xmm1
mov word [rbp - 0x49], r15w
mov r8d, ebx
lea rdx, str._08x
lea rcx, [rbp - 0x49]
call fcn.18009d7f0
xor eax, eax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov dword [rbp + 0x1f], eax
mov dword [rbp - 0x51], 0x14
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rdx, qword [rbp - 0x49]
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x59]
call rsi
test eax, eax
jne 0x18008f159
xor edx, edx
lea r8d, [r15 + 0x10]
lea rcx, [rbp + 0xf]
call fcn.18011478c
mov ebx, eax
mov rcx, qword [rbp - 0x59]
call rdi
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x18008f19c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008f197
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008f1e3
call fcn.1800ece80
movdqa xmm0, xmmword [0x18016e140]
movdqu xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x49], r15w
cmp qword [rbp - 0x69], 0
je 0x18008f1be
lea rcx, [rbp - 0x69]
call fcn.1800b2fa0
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800ece20
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.18010e944
nop
int3
Function at 0x18008f1f0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
mov dword [rsp + 0x20], 0x114
mov r8d, 0x110
lea rcx, [rsp + 0x24]
call fcn.18010bfb0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18008f253
cmp dword [rsp + 0x24], 6
jb 0x18008f253
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800ece20
add rsp, 0x158
ret
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800ece20
add rsp, 0x158
ret
Function at 0x18008fe60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push r14
lea rbp, [rsp - 0x188]
sub rsp, 0x288
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rcx, qword [rcx]
mov r14, r9
mov rbx, r8
mov rsi, rdx
test rcx, rcx
je 0x18008ffe9
lea rdx, str.RegQueryValueExW
mov qword [rsp + 0x280], rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x18008ffe1
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call fcn.18010bfb0
cmp qword [rbx + 0x18], 8
mov dword [rsp + 0x30], 0x208
jb 0x18008fee0
mov rbx, qword [rbx]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call rdi
mov rbx, 0xffffffffffffffff
lea rax, [rsp + 0x60]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x18008ff11
lea rcx, [r14 + 0x50]
lea rdx, [rsp + 0x60]
call fcn.1800049a0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x28], rax
lea rdx, str.Profile
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rsi
call rdi
lea rax, [rsp + 0x60]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18008ff60
mov r8, rbx
lea rcx, [r14 + 0x70]
lea rdx, [rsp + 0x60]
call fcn.1800049a0
xor eax, eax
mov dword [rsp + 0x38], 0x65004b
mov word [rsp + 0x54], ax
lea rdx, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x3c], 0x620079
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov dword [rsp + 0x40], 0x61006f
mov dword [rsp + 0x44], 0x640072
mov dword [rsp + 0x48], 0x61004c
mov dword [rsp + 0x4c], 0x6f0079
mov dword [rsp + 0x50], 0x740075
mov dword [rsp + 0x30], 4
call rdi
mov rdi, qword [rsp + 0x280]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1800ece20
add rsp, 0x288
pop r14
pop rsi
pop rbx
pop rbp
ret
Function at 0x1800911d0
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x160
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor esi, esi
mov qword [rsp + 0x28], rsi
lea ecx, [rsi + 1]
call fcn.1800ece44
mov qword [rsp + 0x28], rax
mov byte [rax], sil
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x34]
call fcn.18010bfb0
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x180091250
cmp dword [rsp + 0x34], 6
setae cl
mov rax, qword [rsp + 0x28]
mov byte [rax], cl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1800b1110
test al, al
je 0x18009127b
lea rcx, [rsp + 0x28]
call fcn.1800b0900
test al, al
jne 0x18009127b
xor bl, bl
jmp 0x180091315
lea rbx, [rdi + 8]
mov rdx, rbx
xor ecx, ecx
call fcn.1800aeb60
test al, al
jne 0x18009129e
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x18009129b
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x28]
mov rdx, rbx
mov ecx, 0x1a
call fcn.1800aeb60
test al, al
jne 0x1800912c4
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x1800912c1
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x48]
mov rdx, rbx
mov ecx, 2
call fcn.1800aeb60
test al, al
jne 0x1800912ea
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x1800912e7
mov rbx, qword [rbx]
mov word [rbx], si
lea rbx, [rdi + 0x68]
mov rdx, rbx
mov ecx, 0xb
call fcn.1800aeb60
test al, al
jne 0x180091310
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x18009130d
mov rbx, qword [rbx]
mov word [rbx], si
mov byte [rdi], 1
mov bl, 1
lea rcx, [rsp + 0x28]
call fcn.1800b0070
movzx eax, bl
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800ece20
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180091410
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, r8
mov rsi, rdx
mov qword [r11 - 0x58], rdx
xor r15d, r15d
mov dword [r11 - 0x68], r15d
lea edx, [r15 + 0x25]
xor r8d, r8d
mov rcx, rdi
call fcn.18001cd40
mov rdx, rdi
cmp rax, 0xffffffffffffffff
jne 0x180091478
mov rcx, rsi
call fcn.18000cb60
nop
mov dword [rsp + 0x20], 1
jmp 0x1800915b4
lea rcx, [rsp + 0x38]
call fcn.18000cb60
nop
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x180091490
mov rcx, qword [rdi]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test eax, eax
jne 0x1800914ff
mov rdx, rdi
mov rcx, rsi
call fcn.18000cb60
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1800915a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800914f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800915d8
call fcn.1800ece80
jmp 0x1800915a0
lea ecx, [rax + 2]
mov eax, 2
mul rcx
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.1800ed534
mov r14, rax
cmp qword [rdi + 0x18], 8
jb 0x18009152a
mov rdi, qword [rdi]
lea r8d, [rbp + 1]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x18009156b
cmp eax, ebp
ja 0x18009156b
mov eax, eax
mov word [r14 + rax*2], r15w
nop dword [rax]
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x180091550
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.1800049a0
mov rcx, r14
call fcn.1800ece80
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rsi + 0x10], xmm1
movdqa xmm0, xmmword [0x18016e140]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
mov dword [rsp + 0x20], 1
movdqa xmm0, xmmword [0x18016e140]
mov word [rsp + 0x38], r15w
movdqu xmmword [rsp + 0x48], xmm0
mov rax, rsi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800ece20
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.18010e944
int3