joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011250
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1409c7ea0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1409c7e80]
test rbx, rbx
je 0x1400112a4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14001129b
test rsi, rsi
je 0x14001129b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140011280
lea rcx, [0x1409c7ea0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140011600
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1409c19b0]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14001166f
mov rcx, r9
call fcn.1400114d0
test eax, eax
je 0x14001166f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14001166d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140011664
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14001166f
add rdx, 0x28
cmp rdx, r9
jne 0x140011650
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001ba20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409bde40]
jmp 0x140012430

Function at 0x14001ba30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409bde40]
jmp 0x140012430
Function at 0x180001f90
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rsi, r8
cmp qword [0x18003b0a0], rbx
je 0x18000203d
mov edx, 0x1ce
lea rcx, [rsp + 0x20]
call fcn.1800087ac
cmp qword [rax + 0x18], 0x10
jb 0x180001fca
mov rax, qword [rax]
mov rcx, qword [0x18003b0a0]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rsp + 0x38]
mov rdi, rax
cmp rdx, 0x10
jb 0x180002016
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002011
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000204f
call fcn.180010200
movdqa xmm0, xmmword [0x180030ec0]
mov byte [rsp + 0x20], bl
movdqu xmmword [rsp + 0x30], xmm0
test rdi, rdi
je 0x18000203d
mov r8, rsi
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call rdi
mov ebx, eax
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call fcn.180016b24
int3

Function at 0x180003148
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov eax, dword [rcx]
mov rdi, rcx
mov r10d, 4
xor ebx, ebx
xor r9d, r9d
test eax, eax
jle 0x180003182
mov r11, r8
mov al, byte [r11]
inc ebx
mov rcx, qword [rdx]
lea r11, [r11 + 4]
xor byte [rcx + r9], al
inc r9
mov eax, dword [rdi]
cmp ebx, eax
jl 0x180003169
add rdx, 8
inc r8
sub r10, 1
jne 0x18000315d
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x18000319c
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

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 r12
push r13
push r14
sub rsp, 0x20
mov rdi, rcx
mov r12d, 4
mov ecx, r12d
mov rbp, r8
mov rsi, rdx
call fcn.18001050c
mov ecx, r12d
mov rbx, rax
call fcn.18001050c
mov edx, dword [rdi + 4]
xor r13d, r13d
mov r9, rax
mov r10d, r13d
lea ecx, [rdx*4]
test ecx, ecx
jle 0x180003212
mov rcx, rbp
sub rsi, rbp
mov al, byte [rsi + rcx]
inc r10d
mov byte [rcx], al
inc rcx
mov edx, dword [rdi + 4]
lea eax, [rdx*4]
cmp r10d, eax
jl 0x1800031f8
mov eax, dword [rdi + 8]
lea r10d, [rdx*4]
inc eax
imul eax, dword [rdi]
shl eax, 2
cmp r10d, eax
jge 0x1800033ba
movsxd r14, r10d
add r14, 0xfffffffffffffffd
add r14, rbp
mov sil, byte [r14 - 1]
mov eax, r10d
cdq
mov byte [rbx], sil
mov cl, byte [r14]
and edx, 3
add eax, edx
mov byte [rbx + 1], cl
mov r8b, byte [r14 + 1]
sar eax, 2
mov byte [rbx + 2], r8b
cdq
mov r11b, byte [r14 + 2]
mov byte [rbx + 3], r11b
idiv dword [rdi + 4]
test edx, edx
jne 0x180003304
mov byte [rbx + 1], r8b
mov rdx, rbx
mov r8, r12
mov byte [rbx], cl
lea r12, [0x180030a00]
mov byte [rbx + 2], r11b
mov byte [rbx + 3], sil
movzx eax, byte [rdx]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
mov al, byte [rcx + r12]
mov byte [rdx], al
inc rdx
sub r8, 1
jne 0x180003288
mov ecx, dword [rdi + 4]
mov eax, r10d
shl ecx, 2
cdq
idiv ecx
mov r8b, 1
mov r12d, 4
dec eax
test eax, eax
jle 0x1800032db
mov edx, eax
mov al, r8b
add r8b, r8b
shr al, 7
movzx eax, al
imul ecx, eax, 0x1b
xor r8b, cl
sub rdx, 1
jne 0x1800032c3
and word [r9 + 2], 0
mov rdx, r9
mov byte [r9], r8b
sub rdx, rbx
mov byte [r9 + 1], r13b
mov rcx, rbx
mov r8, r12
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x1800032f4
jmp 0x18000333d
cmp dword [rdi + 4], 6
jle 0x18000333d
cmp edx, r12d
jne 0x18000333d
mov rdx, rbx
lea r13, [0x180030a00]
mov r8, r12
movzx eax, byte [rdx]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
mov al, byte [rcx + r13]
mov byte [rdx], al
inc rdx
sub r8, 1
jne 0x18000331c
xor r13d, r13d
mov ecx, dword [rdi + 4]
mov eax, r10d
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
mov al, byte [rcx + rbp]
xor al, byte [rbx]
mov byte [r14 + 3], al
mov eax, r10d
mov ecx, dword [rdi + 4]
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
mov al, byte [rcx + rbp + 1]
xor al, byte [rbx + 1]
mov byte [r14 + 4], al
mov eax, r10d
mov ecx, dword [rdi + 4]
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
mov al, byte [rcx + rbp + 2]
xor al, byte [rbx + 2]
mov byte [r14 + 5], al
mov eax, r10d
mov ecx, dword [rdi + 4]
add r10d, r12d
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
mov al, byte [rcx + rbp + 3]
xor al, byte [rbx + 3]
mov byte [r14 + 6], al
add r14, 4
mov eax, dword [rdi + 8]
inc eax
imul eax, dword [rdi]
shl eax, 2
cmp r10d, eax
jl 0x180003238
mov rcx, r9
call fcn.180010200
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
jmp fcn.180010200
Function at 0x1800033e8
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov eax, dword [rcx]
mov r8, rdx
mov r11, rcx
mov r9d, 4
xor ebx, ebx
xor r10d, r10d
test eax, eax
jle 0x180003432
mov rdx, qword [r8]
inc ebx
movzx eax, byte [rdx + r10]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
lea rax, [0x180030900]
mov al, byte [rcx + rax]
mov byte [rdx + r10], al
inc r10
mov eax, dword [r11]
cmp ebx, eax
jl 0x180003404
add r8, 8
sub r9, 1
jne 0x1800033fb
mov rbx, qword [rsp + 8]
ret

Function at 0x180003444
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov bl, r8b
mov r11b, dl
xor r10b, r10b
mov edi, 8
mov al, r10b
mov dl, r11b
xor al, r11b
movzx ecx, al
test bl, 1
movzx eax, r10b
cmove ecx, eax
mov al, r11b
add al, al
shr bl, 1
movzx r8d, al
mov r10b, cl
mov cl, r8b
xor cl, 0x1b
test dl, dl
movzx r11d, cl
cmovns r11d, r8d
sub rdi, 1
jne 0x18000345c
mov rbx, qword [rsp + 8]
mov al, r10b
mov rdi, qword [rsp + 0x10]
ret
Function at 0x180003500
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
movaps xmmword [r11 - 0x48], xmm6
mov rax, qword [0x180035028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov byte [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [r11 - 0x78], xmm0
movups xmmword [r11 - 0x68], xmm0
mov r8, qword [rcx + 0x10]
mov eax, 0x20
cmp r8, rax
cmovae r8, rax
lea esi, [rax - 0x10]
cmp qword [rcx + 0x18], rsi
jb 0x180003563
mov rcx, qword [rcx]
test r8, r8
je 0x1800035a1
test rcx, rcx
je 0x180003591
cmp r8, rax
ja 0x180003584
mov rdx, rcx
lea rcx, [rsp + 0x140]
call fcn.180012900
jmp 0x1800035a1
call fcn.1800194e8
mov dword [rax], 0x22
jmp 0x18000359c
call fcn.1800194e8
mov dword [rax], 0x16
call fcn.180016b04
xorps xmm6, xmm6
movups xmmword [rsp + 0x130], xmm6
mov r8, qword [rbx + 0x10]
cmp r8, rsi
cmovae r8, rsi
cmp qword [rbx + 0x18], rsi
jb 0x1800035c0
mov rbx, qword [rbx]
test r8, r8
je 0x180003606
test rbx, rbx
je 0x1800035f6
cmp r8, rsi
ja 0x1800035e9
mov rdx, rbx
lea rcx, [rsp + 0x130]
call fcn.180012900
movups xmm6, xmmword [rsp + 0x130]
jmp 0x180003606
call fcn.1800194e8
mov dword [rax], 0x22
jmp 0x180003601
call fcn.1800194e8
mov dword [rax], 0x16
call fcn.180016b04
mov r12, qword [rdi + 0x10]
mov eax, r12d
and eax, 0xf
mov ecx, eax
mov r13d, esi
sub r13d, eax
mov r15, rsi
sub r15, rcx
lea r8, [r15 + r12]
mov rbx, qword [r14 + 8]
mov rdx, qword [r14]
mov rcx, rbx
sub rcx, rdx
cmp r8, rcx
jae 0x18000363a
lea rbx, [rdx + r8]
jmp 0x180003669
jbe 0x18000366d
mov rax, qword [r14 + 0x10]
sub rax, rdx
cmp r8, rax
jbe 0x180003659
mov rdx, r8
mov rcx, r14
call fcn.180003b3c
mov rbx, qword [r14 + 8]
jmp 0x18000366d
sub r8, rcx
mov rcx, rbx
add rbx, r8
xor edx, edx
call fcn.1800124f0
mov qword [r14 + 8], rbx
mov rsi, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x18000367b
mov rdi, qword [rdi]
mov rcx, qword [r14]
sub rbx, rcx
test rsi, rsi
je 0x1800036d3
test rcx, rcx
jne 0x180003698
call fcn.1800194e8
mov dword [rax], 0x16
jmp 0x1800036ce
test rdi, rdi
je 0x1800036af
cmp rbx, rsi
jb 0x1800036af
mov r8, rsi
mov rdx, rdi
call fcn.180012900
jmp 0x1800036d3
mov r8, rbx
xor edx, edx
call fcn.1800124f0
test rdi, rdi
je 0x18000368b
cmp rbx, rsi
jae 0x1800036d3
call fcn.1800194e8
mov dword [rax], 0x22
call fcn.180016b04
mov rcx, qword [r14]
add rcx, r12
mov r8, r15
mov edx, r13d
call fcn.1800124f0
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x30]
call fcn.180003790
movdqu xmmword [rsp + 0x120], xmm6
mov rsi, qword [r14]
mov rax, qword [r14 + 8]
sub rax, rsi
mov edi, eax
lea rdx, [rsp + 0x120]
mov ebx, 1
test eax, eax
je 0x180003758
dec rdi
shr rdi, 4
add rdi, rbx
mov rcx, rsi
sub rdx, rsi
mov r8d, 0x10
mov al, byte [rdx + rcx]
xor byte [rcx], al
add rcx, rbx
sub r8, rbx
jne 0x180003732
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.180003934
mov rdx, rsi
add rsi, 0x10
sub rdi, rbx
jne 0x180003726
mov byte [rsp + 0x20], bl
jmp 0x180003762
mov al, bl
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800101e0
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x18000659c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x180035028]
xor rax, rsp
mov qword [rbp + 0x47], rax
movups xmm0, xmmword [rcx]
mov rbx, rdx
mov rdi, rcx
movups xmm1, xmmword [rcx + 0x10]
mov qword [rbp - 0x39], rdx
movups xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x56], 0x3433
movups xmmword [rbp - 0x21], xmm1
mov dword [rbp - 0x4c], 0x666564
mov word [rbp - 0x59], 0x3130
mov word [rbp - 0x51], 0x3938
mov word [rbp - 0x4e], 0x6362
mov word [rbp - 0x53], 0x3736
mov byte [rbp - 0x4f], 0x61
mov byte [rbp - 0x57], 0x32
mov byte [rbp - 0x54], 0x35
call fcn.180006444
xor edx, edx
lea r8, [rbp - 0x31]
sub r8, rdi
lea r9d, [rdx + 8]
mov ecx, dword [rdi]
mov eax, ecx
shr rax, 0x1c
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 9], al
mov eax, ecx
shr rax, 0x18
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 8], al
mov eax, ecx
shr rax, 0x14
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 7], al
mov eax, ecx
shr rax, 0x10
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 6], al
mov eax, ecx
shr rax, 0xc
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 5], al
mov eax, ecx
shr rax, 8
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 4], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 3], al
mov al, byte [rbp + rcx - 0x59]
mov byte [rbp + rdx - 2], al
add rdx, 8
mov eax, dword [r8 + rdi]
mov dword [rdi], eax
lea rdi, [rdi + 4]
sub r9, 1
jne 0x18000661d
cmp rdx, 0x41
jae 0x180006711
xorps xmm0, xmm0
mov byte [rbp + rdx - 9], r9b
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], r9
lea rax, [rbp - 9]
and qword [rbx + 0x18], r9
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1800066d7
lea rdx, [rbp - 9]
mov rcx, rbx
call fcn.1800019ac
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800101e0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180010378
int3

Function at 0x180006718
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rax, r8
xor ecx, ecx
mov rdi, rdx
mov r8, r9
mov rdx, rax
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
mov rcx, rbx
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
call fcn.180006370
mov rdx, rdi
mov rcx, rbx
call fcn.18000659c
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x180007a54
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0xb88]
sub rsp, 0xc80
mov rax, qword [0x180035028]
xor rax, rsp
mov qword [rbp + 0xb70], rax
mov rdi, rcx
mov qword [rsp + 0x58], rcx
and dword [rsp + 0x30], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov dword [rsp + 0x30], 1
mov ebx, 0x800
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1800124f0
mov dword [rsp + 0x68], ebx
mov edx, 0x10d
lea rcx, [rsp + 0x38]
call fcn.1800087ac
nop
cmp qword [rax + 0x18], 0x10
jb 0x180007ae5
mov rax, qword [rax]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, 0x101
mov rdx, rax
call fcn.180006ee0
test eax, eax
sete bl
mov esi, 0x1000
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x180007b40
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rsi
jb 0x180007b3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007c83
call fcn.180010200
test bl, bl
je 0x180007c52
mov edx, 0x114
lea rcx, [rsp + 0x38]
call fcn.1800087ac
cmp qword [rax + 0x18], 0x10
jb 0x180007b61
mov rax, qword [rax]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x180007bc4
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rsi
jb 0x180007bbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007c7d
call fcn.180010200
test ebx, ebx
jne 0x180007c47
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x770]
call fcn.1800124f0
mov r8d, dword [rsp + 0x68]
lea rdx, [rbp + 0x770]
lea rcx, [rsp + 0x70]
call fcn.1800079a4
lea rax, [rbp + 0x770]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x180007bfd
cmp rbx, qword [rdi + 0x18]
ja 0x180007c35
mov rsi, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x180007c19
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
lea rdx, [rbp + 0x770]
mov rcx, rsi
call fcn.180012900
mov byte [rsi + rbx], 0
jmp 0x180007c47
lea r9, [rbp + 0x770]
mov rdx, rbx
mov rcx, rdi
call fcn.180002908
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rbp + 0xb70]
xor rcx, rsp
call fcn.1800101e0
lea r11, [rsp + 0xc80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180016b24
int3
call fcn.180016b24
int3
Function at 0x18000c538
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 8
mov rbx, rcx
jb 0x18000c54f
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000c58b
mov edi, 1
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x18000c56b
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18000c58b
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x78
jl 0x18000c55e
xor al, al
jmp 0x18000c58d
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18000c6ec
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov rax, qword [0x180035028]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
xor r12d, r12d
mov dil, r12b
call fcn.18000229c
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18000c964
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], r12
mov qword [rbp + 0x178], 7
mov word [rbp + 0x160], r12w
lea rdx, [rbp + 0x160]
mov rcx, rbx
call fcn.18000c598
lea r14, [rbp + 0x160]
mov r8, qword [rbp + 0x160]
cmp qword [rbp + 0x178], 8
cmovae r14, r8
lea rcx, [rbp + 0x160]
cmovae rcx, r8
mov rax, qword [rbp + 0x170]
lea r15, [rcx + rax*2]
lea rbx, [rbp + 0x160]
cmovae rbx, r8
cmp rbx, r15
je 0x18000c7ca
sub r14, rbx
movzx ecx, word [rbx]
call fcn.180019254
mov word [r14 + rbx], ax
add rbx, 2
cmp rbx, r15
jne 0x18000c7b4
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x24]
call fcn.1800124f0
mov dword [rsp + 0x20], 0x238
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1800021dc
mov r13d, 1
jmp 0x18000c946
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], r12
mov qword [rbp + 0x198], r12
lea rax, [rsp + 0x4c]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x18000c81d
lea rdx, [rsp + 0x4c]
lea rcx, [rbp + 0x180]
call fcn.180008688
nop
lea r14, [rbp + 0x180]
mov r8, qword [rbp + 0x198]
cmp r8, 8
setae cl
mov rdx, qword [rbp + 0x180]
cmovae r14, rdx
lea rax, [rbp + 0x180]
test cl, cl
cmovne rax, rdx
mov r9, qword [rbp + 0x190]
lea r15, [rax + r9*2]
lea rbx, [rbp + 0x180]
cmovne rbx, rdx
cmp rbx, r15
je 0x18000c8af
sub r14, rbx
movzx ecx, word [rbx]
call fcn.180019254
mov word [r14 + rbx], ax
add rbx, 2
cmp rbx, r15
jne 0x18000c884
mov r8, qword [rbp + 0x198]
mov r9, qword [rbp + 0x190]
mov rdx, qword [rbp + 0x180]
lea rcx, [rbp + 0x180]
cmp r8, 8
cmovae rcx, rdx
lea r8, [rbp + 0x160]
cmp qword [rbp + 0x178], 8
cmovae r8, qword [rbp + 0x160]
mov rdx, qword [rbp + 0x170]
cmp rdx, r9
jne 0x18000c92d
test rdx, rdx
je 0x18000c8fc
sub r8, rcx
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x18000c92d
add rcx, 2
sub rdx, r13
jne 0x18000c8e9
mov r8d, dword [rsp + 0x28]
call fcn.180002354
mov rbx, rax
test rax, rax
je 0x18000c92d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movzx edi, dil
cmp eax, r13d
cmove edi, r13d
mov rcx, rbx
call fcn.180002058
nop
lea rcx, [rbp + 0x180]
call fcn.1800025dc
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18000211c
cmp eax, r13d
je 0x18000c7fc
mov rcx, rsi
call fcn.180002058
nop
lea rcx, [rbp + 0x160]
call fcn.1800025dc
mov al, dil
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1800101e0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x18000ef78
Capabilities:
Check if file exists
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x180035028]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor esi, esi
xorps xmm0, xmm0
or rbx, 0xffffffffffffffff
mov qword [rbp + 0x17], rsi
mov r8, rbx
mov qword [rbp + 0x1f], rsi
mov rdi, rcx
movups xmmword [rbp + 7], xmm0
inc r8
cmp word [rcx + r8*2], si
jne 0x18000efbc
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.180008688
cmp qword [rbp + 0x1f], 8
lea rdx, [rbp + 7]
mov r9, qword [rbp + 0x17]
xorps xmm0, xmm0
cmovae rdx, qword [rbp + 7]
movdqa xmm1, xmmword [0x180030eb0]
movups xmmword [rbp + 0x27], xmm0
mov word [rbp + 0x27], si
movdqu xmmword [rbp + 0x37], xmm1
test r9, r9
je 0x18000f02d
lea rcx, [r9 - 1]
mov rax, rbx
cmp rcx, rbx
cmovb rax, rcx
lea r8, [rdx + rax*2]
jmp 0x18000f01e
cmp r8, rdx
je 0x18000f02d
sub r8, 2
cmp word [r8], 0x5c
jne 0x18000f015
sub r8, rdx
sar r8, 1
jmp 0x18000f030
mov r8, rbx
cmp r8, rbx
je 0x18000f078
cmp r9, r8
lea rdx, [rbp + 7]
xorps xmm0, xmm0
lea rcx, [rbp - 0x19]
cmovb r8, r9
xorps xmm1, xmm1
cmp qword [rbp + 0x1f], 8
movups xmmword [rbp - 0x19], xmm0
cmovae rdx, qword [rbp + 7]
movdqu xmmword [rbp - 9], xmm1
call fcn.180008688
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x27]
call fcn.18000d9b0
lea rcx, [rbp - 0x19]
call fcn.1800025dc
mov ebx, esi
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000f0a4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 3
jl 0x18000f07a
jmp 0x18000f0b8
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x27]
call fcn.18000d04c
lea rcx, [rbp + 0x27]
call fcn.1800025dc
lea rcx, [rbp + 7]
call fcn.1800025dc
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800101e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x18000f918
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18000f99c
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800274f0]
cmp byte [rcx + rax], 0
je 0x18000f99c
dec r8
sub rdx, 1
jne 0x18000f982
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x18001f524
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 0x18001f554
xor eax, eax
jmp 0x18001f617
mov rbp, rbx
cmp word [rax], si
je 0x18001f579
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18001f560
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18001f55c
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.18001f474
movsxd r14, eax
test eax, eax
jne 0x18001f5b7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18001f54d
mov rcx, r14
call fcn.18001b6f0
mov rdi, rax
test rax, rax
jne 0x18001f5d0
xor ecx, ecx
call fcn.18001b6b4
jmp 0x18001f5ac
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.18001f474
test eax, eax
jne 0x18001f601
mov rcx, rdi
call fcn.18001b6b4
jmp 0x18001f60b
xor ecx, ecx
call fcn.18001b6b4
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