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

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x1400511e4
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x140051272
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140051240
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x140051240
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1400bf2c0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14005125d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140051265
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140051201
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x140051350
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140051289
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14005128b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400512bd
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1400bf2c0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14005134d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400512f8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x14005132e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.14008f3fc
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14005134d
cmp rsi, rax
ja 0x140051301
test rsi, rsi
je 0x14005134d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14008f3fc
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x140053640
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, rdx
mov r15, rcx
mov rsi, qword [rdx + 0x10]
mov r12, qword [rdx + 0x18]
cmp r12, 0xf
jbe 0x14005366d
mov rdx, qword [rdx]
movabs rbp, 0xcbf29ce484222325
xor ecx, ecx
test rsi, rsi
je 0x1400536a3
movabs r8, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbp, rax
imul rbp, r8
inc rcx
cmp rcx, rsi
jb 0x140053690
mov rcx, qword [r15 + 0x30]
and rcx, rbp
add rcx, rcx
mov rax, qword [r15 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r15 + 8]
je 0x1400536fa
mov r14, qword [rax + rcx*8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400536d2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r12, 0xf
jbe 0x1400536de
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x1400536ef
mov r8, rsi
call fcn.1400bfd00
test eax, eax
je 0x1400536fc
cmp rbx, r14
je 0x1400536fa
mov rbx, qword [rbx + 8]
jmp 0x1400536c0
xor ebx, ebx
test rbx, rbx
je 0x1400537c0
mov rcx, qword [r15 + 0x18]
mov rax, qword [r15 + 0x30]
and rax, rbp
add rax, rax
lea rdx, [rcx + rax*8]
lea r8, [rcx + rax*8]
mov rax, qword [rdx]
cmp qword [r8 + 8], rbx
jne 0x140053740
cmp rax, rbx
jne 0x140053736
mov rax, qword [r15 + 8]
mov qword [rdx], rax
mov qword [r8 + 8], rax
jmp 0x14005374b
mov rax, qword [rbx + 8]
mov qword [r8 + 8], rax
jmp 0x14005374b
cmp rax, rbx
jne 0x14005374b
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [r15 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rdx, qword [rbx + 0x28]
cmp rdx, 0xf
jbe 0x140053798
inc rdx
mov rcx, qword [rbx + 0x10]
cmp rdx, 0x1000
jb 0x140053793
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400537d9
mov rcx, r8
call fcn.1400acb90
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], send
mov byte [rbx + 0x10], 0
mov edx, 0x30
mov rcx, rbx
call fcn.1400acb90
mov eax, 1
jmp 0x1400537c2
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14008fc0c
int3
Function at 0x1400552c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbp, rcx
mov qword [rsp + 0x20], rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x140055511
lea rax, [rdx - 1]
or rax, rbx
bsr rcx, rax
inc ecx
shl rbx, cl
mov rdi, qword [rbp + 8]
mov qword [rsp + 0x28], rdi
lea r12, [rbp + 0x18]
lea rdx, [rbx + rbx]
mov r8, rdi
mov rcx, r12
call fcn.140047c10
lea rax, [rbx - 1]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rbx
mov qword [rsp + 0x30], rbp
mov rsi, qword [rbp + 8]
mov rsi, qword [rsi]
cmp rsi, rdi
je 0x1400554ca
mov rdi, rsi
movabs rax, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
mov rsi, qword [rsi]
mov r8, qword [rdi + 0x20]
lea r9, [rdi + 0x10]
mov r15, qword [rdi + 0x28]
cmp r15, 0xf
jbe 0x14005537a
mov r9, qword [rdi + 0x10]
mov rdx, rax
xor ecx, ecx
mov r10, r8
mov r11, r15
test r8, r8
je 0x1400553a4
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
xor rdx, rax
imul rdx, rbx
inc rcx
cmp rcx, r8
jb 0x140055390
mov r13, qword [rbp + 0x30]
and r13, rdx
shl r13, 4
add r13, qword [r12]
mov r12, qword [r13]
cmp r12, qword [rsp + 0x28]
jne 0x1400553cb
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x1400554ae
mov rbx, qword [r13 + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400553e1
mov rdx, qword [rdx]
lea rcx, [rdi + 0x10]
mov rbp, r8
cmp r15, 0xf
jbe 0x1400553f8
mov rcx, qword [rdi + 0x10]
mov rbp, r10
mov r15, r11
cmp r8, rax
jne 0x140055435
call fcn.1400bfd00
test eax, eax
jne 0x140055435
mov r8, qword [rbx]
cmp r8, rdi
je 0x14005542f
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13 + 8], rdi
jmp 0x14005549f
cmp r12, rbx
je 0x14005547a
nop word [rax + rax]
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140055456
mov rdx, qword [rdx]
lea rcx, [rdi + 0x10]
cmp r15, 0xf
jbe 0x140055464
mov rcx, qword [rdi + 0x10]
cmp rbp, rax
jne 0x140055475
mov r8, rbp
call fcn.1400bfd00
test eax, eax
je 0x1400554eb
cmp r12, rbx
jne 0x140055440
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rbx
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov qword [rbx + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13], rdi
mov rbp, qword [rsp + 0x20]
movabs rbx, 0x100000001b3
mov rdi, rsi
cmp rsi, qword [rsp + 0x28]
lea r12, [rbp + 0x18]
movabs rax, 0xcbf29ce484222325
jne 0x140055361
mov qword [rsp + 0x30], 0
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x14005549f
lea rcx, str.invalid_hash_bucket_count
call fcn.1400ba6c0
int3
Function at 0x140071ea0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x14012dc00]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor esi, esi
mov dword [rbp - 0x15], esi
mov qword [rbp + 0xf], rdx
mov dword [rbp + 7], r8d
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 7]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x140071fcc
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], send
mov byte [rbp + 0x17], sil
mov ebx, dword [rbp - 9]
test rbx, rbx
jne 0x140071f37
mov qword [rbp + 0x27], rbx
mov byte [rbp + rbx + 0x17], bl
jmp 0x140071f6b
lea rcx, [rbp + 0x17]
cmp rbx, 0xf
ja 0x140071f56
mov qword [rbp + 0x27], rbx
mov r8, rbx
xor edx, edx
call fcn.1400bf960
mov byte [rbp + rbx + 0x17], 0
jmp 0x140071f6b
mov byte [rsp + 0x20], 0
mov r9, rbx
movzx r8d, byte [rbp - 0x19]
mov rdx, rbx
call fcn.140045b00
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rcx, qword [rbp + 0x17]
mov r8d, dword [rbp - 9]
mov rdx, qword [rbp - 1]
call fcn.1400bf2c0
mov rcx, qword [rbp - 1]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], send
mov byte [rbp + 0x17], 0
mov byte [rdi + 0x20], 1
mov dword [rbp - 0x15], 1
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], send
mov byte [rbp + 0x17], 0
jmp 0x140071fd7
mov byte [rdi + 0x20], sil
mov dword [rbp - 0x15], 1
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400acb70
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400721c0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x14012dc00]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor esi, esi
mov dword [rbp - 0x15], esi
mov qword [rbp + 0xf], rdx
mov dword [rbp + 7], r8d
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 7]
call qword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x1400722ec
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], send
mov byte [rbp + 0x17], sil
mov ebx, dword [rbp - 9]
test rbx, rbx
jne 0x140072257
mov qword [rbp + 0x27], rbx
mov byte [rbp + rbx + 0x17], bl
jmp 0x14007228b
lea rcx, [rbp + 0x17]
cmp rbx, 0xf
ja 0x140072276
mov qword [rbp + 0x27], rbx
mov r8, rbx
xor edx, edx
call fcn.1400bf960
mov byte [rbp + rbx + 0x17], 0
jmp 0x14007228b
mov byte [rsp + 0x20], 0
mov r9, rbx
movzx r8d, byte [rbp - 0x19]
mov rdx, rbx
call fcn.140045b00
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rcx, qword [rbp + 0x17]
mov r8d, dword [rbp - 9]
mov rdx, qword [rbp - 1]
call fcn.1400bf2c0
mov rcx, qword [rbp - 1]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], send
mov byte [rbp + 0x17], 0
mov byte [rdi + 0x20], 1
mov dword [rbp - 0x15], 1
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], send
mov byte [rbp + 0x17], 0
jmp 0x1400722f7
mov byte [rdi + 0x20], sil
mov dword [rbp - 0x15], 1
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400acb70
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140075090
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1060
call fcn.1400ad830
sub rsp, rax
mov rax, qword [0x14012dc00]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.File_Downloader
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
test rax, rax
je 0x1400751ab
cmp qword [rdi + 0x18], 0xf
jbe 0x140075117
mov rdi, qword [rdi]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
je 0x1400751a2
lea r9, [rsp + 0x40]
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140075199
nop dword [rax + rax]
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140075199
mov r9d, eax
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x50]
mov rcx, rbx
call fcn.140076140
lea r9, [rsp + 0x40]
mov r8d, 0x1000
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140075160
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, rbx
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1400acb70
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1060
pop rdi
pop rsi
pop rbp
ret
Function at 0x140078e10
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14012dc00]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x140078f25
mov rdx, qword [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140078e83
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rcx, [rsp + 0x28]
call fcn.140034c00
mov ebx, 5
mov dword [rsp + 0x20], ebx
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
or ebx, 2
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14003fb70
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140078f12
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078f0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078f52
call fcn.1400acb90
movdqa xmm0, xmmword [0x140115190]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400acb70
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14008fc0c
int3
Function at 0x14007adc0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x14007ae34
mov qword [rsp + 0x30], rbp
mov ebp, 0x7fffffff
nop word [rax + rax]
mov rcx, qword [0x14012df90]
lea rdx, [rbx + rsi]
mov r8d, edi
cmp rdi, rbp
cmova r8d, ebp
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x14007ae1c
cdqe
add rbx, rax
sub rdi, rax
jne 0x14007adf0
mov rbp, qword [rsp + 0x30]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14007f890
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov esi, eax
mov word [rsp + 0x20], bp
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoA]
movsxd rdi, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], send
mov byte [rbx], bpl
mov dword [rsp + 0x30], 1
mov rdx, rdi
xor r8d, r8d
mov rcx, rbx
call fcn.14003fc80
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14007f912
mov r8, qword [rbx]
mov word [rsp + 0x20], bp
mov r9d, edi
mov edx, 4
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetGeoInfoA]
lea eax, [rdi - 1]
movsxd rdx, eax
xor r8d, r8d
mov rcx, rbx
call fcn.14003fc80
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140080110
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x10050
call fcn.1400ad830
sub rsp, rax
mov rax, qword [0x14012dc00]
xor rax, rsp
mov qword [rsp + 0x10040], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0x7fff
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x14008016e
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140071bf0
jmp 0x140080183
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], send
mov byte [rbx], dil
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x10040]
xor rcx, rsp
call fcn.1400acb70
mov rbx, qword [rsp + 0x10068]
add rsp, 0x10050
pop rdi
ret

Function at 0x1400801b0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x10050
call fcn.1400ad830
sub rsp, rax
mov rax, qword [0x14012dc00]
xor rax, rsp
mov qword [rsp + 0x10040], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0x7fff
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x14008020e
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140071bf0
jmp 0x140080223
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], send
mov byte [rbx], dil
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x10040]
xor rcx, rsp
call fcn.1400acb70
mov rbx, qword [rsp + 0x10068]
add rsp, 0x10050
pop rdi
ret
Function at 0x140080250
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x14012dc00]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
lea rcx, [rsp + 0x48]
call fcn.140079920
nop
cmp qword [rax + 0x18], 7
jbe 0x1400802a3
mov rax, qword [rax]
mov dword [rsp + 0x38], 0x100
lea rcx, [rbp + 0xa0]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x74]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x70]
mov r8d, 0x100
lea rdx, [rbp + 0x1a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edi, eax
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14008032a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080325
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080417
call fcn.1400acb90
movdqa xmm0, xmmword [0x140115190]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
test edi, edi
jne 0x140080363
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], send
mov byte [rbx], dil
mov dword [rsp + 0x40], 1
jmp 0x1400803ec
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x60]
call fcn.1400bf960
lea rcx, [rbp - 0x60]
call fcn.140072490
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx - 0x38]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rbp + rcx - 0x38], eax
mov edx, dword [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.1400725f0
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.14003e100
nop
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x1401151a0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov dword [rsp + 0x40], 1
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
lea rcx, [rbp - 0x60]
call fcn.14003ce70
mov rax, rbx
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1400acb70
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14008fc0c
int3
Function at 0x140080420
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x14012dc00]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x50], 0x104
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9d, 2
lea r8, str.ProductName
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
test eax, eax
je 0x1400804aa
mov qword [rbx + 0x18], send
mov byte [rbx], dil
jmp 0x1400804c4
mov r8d, dword [rsp + 0x50]
dec r8d
mov qword [rbx + 0x18], rdi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140045330
nop
mov dword [rsp + 0x40], 1
mov rax, rbx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400acb70
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret

Function at 0x140080d70
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rdi
sub rsp, 0x498
mov rax, qword [0x14012dc00]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, r9
mov rax, r8
mov r10, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 0x400
mov dword [rsp + 0x70], 0xf003f
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rcx
mov qword [rdi + 0x18], send
mov byte [rdi], cl
mov dword [rsp + 0x30], 1
cmp qword [r8 + 0x18], 0xf
jbe 0x140080dde
mov rax, qword [r8]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140080eca
cmp qword [rbx + 0x18], 0xf
jbe 0x140080e0f
mov rbx, qword [rbx]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140080eca
mov r8d, dword [rsp + 0x60]
dec r8d
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x38]
call fcn.140045330
nop
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14003fd80
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140080eb7
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080eb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080ef7
call fcn.1400acb90
movdqa xmm0, xmmword [0x1401151a0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140080eda
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400acb70
add rsp, 0x498
pop rdi
pop rbx
ret
call fcn.14008fc0c
int3