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

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x14036c028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, qword [rsp + 0xa0]
mov rdi, r8
mov rbp, qword [rsp + 0xa8]
test rsi, rsi
jne 0x1400bd06a
mov eax, 0x80070057
jmp 0x1400bd102
movzx r9d, r9b
shl r9d, 8
add r9d, 0x20019
cmp qword [rdx + 0x18], 8
jb 0x1400bd083
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400bd100
cmp qword [rdi + 0x18], 8
jb 0x1400bd0b2
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rbp
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400bd0f5
mov eax, dword [rsp + 0x38]
sub eax, 3
neg eax
sbb ebx, ebx
and ebx, 0x8007065d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140020b10
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400bd118
Capabilities:
Query or enumerate registry value

Disassembly:
movzx r9d, r9b
add r9d, r9d
jmp fcn.1400bd124

Function at 0x1400bd228
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14036c028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, qword [rsp + 0x90]
mov rdi, r8
test rsi, rsi
jne 0x1400bd259
mov eax, 0x80070057
jmp 0x1400bd30a
movzx r9d, r9b
shl r9d, 8
add r9d, 0x20019
cmp qword [rdx + 0x18], 8
jb 0x1400bd272
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx ebx, ax
or ebx, 0x80070000
mov dword [rsp + 0x38], 8
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400bd308
cmp qword [rdi + 0x18], 8
jb 0x1400bd2a9
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400bd2fd
cmp dword [rsp + 0x3c], 0xb
jne 0x1400bd2f8
mov rax, qword [rsp + 0x40]
xor ebx, ebx
mov qword [rsi], rax
jmp 0x1400bd2fd
mov ebx, 0x8007065d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140020b10
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400c2ca0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14036c028]
xor rax, rsp
mov qword [rsp + 0x58], rax
neg byte [rsp + 0xa8]
mov rsi, r9
mov rbx, r8
sbb eax, eax
and eax, 0xfffe00fc
add eax, 0x20006
cmp qword [rdx + 0x18], 8
jb 0x1400c2cda
mov rdx, qword [rdx]
and qword [rsp + 0x40], 0
lea r8, [rsp + 0x50]
mov qword [rsp + 0x38], r8
xor r9d, r9d
and qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], eax
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test eax, eax
jne 0x1400c2d54
cmp qword [rbx + 0x10], 0
jne 0x1400c2d16
xor ebx, ebx
jmp 0x1400c2d20
cmp qword [rbx + 0x18], 8
jb 0x1400c2d20
mov rbx, qword [rbx]
mov eax, dword [rsp + 0xa0]
mov r9d, 3
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140020b10
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400c2f90
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14036c028]
xor rax, rsp
mov qword [rsp + 0x58], rax
neg byte [rsp + 0xa0]
mov rsi, r9
mov rbx, r8
sbb eax, eax
and eax, 0xfffe00fc
add eax, 0x20006
cmp qword [rdx + 0x18], 8
jb 0x1400c2fca
mov rdx, qword [rdx]
and qword [rsp + 0x40], 0
lea r8, [rsp + 0x50]
mov qword [rsp + 0x38], r8
xor r9d, r9d
and qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], eax
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test eax, eax
jne 0x1400c3041
cmp qword [rbx + 0x10], 0
jne 0x1400c3006
xor ebx, ebx
jmp 0x1400c3010
cmp qword [rbx + 0x18], 8
jb 0x1400c3010
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x50]
mov r9d, VariantTimeToDosDateTime
mov dword [rsp + 0x28], 8
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140020b10
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400efb18
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14036c028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rcx + 0x18], 8
movzx ebp, dx
mov rdx, rcx
mov rdi, r8
mov rbx, rcx
jb 0x1400efb49
mov rdx, qword [rcx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
xor edx, edx
mov rsi, rax
test rax, rax
je 0x1400efbb6
cmp qword [rbx + 0x18], 8
jb 0x1400efb65
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 8
mov qword [rsp + 0x50], rbx
jb 0x1400efb74
mov rdi, qword [rdi]
mov qword [rsp + 0x40], rdx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov ecx, 2
mov dword [rsp + 0x30], edx
xor r8d, r8d
mov word [rsp + 0x28], cx
xor r9d, r9d
mov qword [rsp + 0x20], rdx
mov rcx, rsi
movzx edx, bp
mov qword [rsp + 0x58], rdi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140020b10
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140142bf8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14012c2b0
sub rsp, rax
mov rax, qword [0x14036c028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140041b5c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140142c47
mov rax, rbp
jmp 0x140142d4f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x388cf0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140046a08
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x388cf0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140142d4b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140142d4b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140046a08
test rax, rax
js 0x140142d4b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140142d4b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140142d3d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140142d3d
cmp byte [rcx], 0xd
jne 0x140142d23
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140142d32
cmp byte [rcx + 1], 0xa
jne 0x140142d32
inc rcx
jmp 0x140142d32
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x36c960]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140142d05
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140142d4f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140020b10
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401456c0
Capabilities:
Clear file content

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 r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140046a10
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140046a10
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140145810
cmp rax, 0xffffffffffffffff
je 0x140145810
xor edi, edi
test rbp, rbp
jle 0x1401457bb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400393d0
mov rbx, rax
test rax, rax
jne 0x140145748
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401457b1
mov edx, 0x8000
mov ecx, r14d
call fcn.140030530
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140043914
cmp eax, 0xffffffff
je 0x140145791
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140145758
mov edx, r15d
mov ecx, r14d
call fcn.140030530
jmp 0x1401457b1
cmp byte [rsi + 0x38], dil
je 0x1401457a8
cmp dword [rsi + 0x34], 5
jne 0x1401457a8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1401457b1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140038a0c
jmp 0x140145824
jns 0x140145824
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140046a10
cmp rax, 0xffffffffffffffff
jne 0x1401457dc
cmp byte [rsi + 0x30], dil
je 0x140145824
mov edi, dword [rsi + 0x2c]
jmp 0x140145824
mov ecx, r14d
call fcn.14003d0b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140145824
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x140145824
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14014581d
mov eax, dword [rsi + 0x2c]
jmp 0x140145822
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140046a10
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140155594
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x788]
sub rsp, 0x888
mov rax, qword [0x14036c028]
xor rax, rsp
mov qword [rbp + 0x770], rax
cmp byte [0x14038d430], 0
mov rsi, rdx
movsxd rbx, ecx
je 0x1401556e8
mov r12d, 0x800
lea rcx, [rsp + 0x70]
mov r8d, r12d
xor edx, edx
call fcn.140022ea0
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rcx, str._EWID
movsx edi, byte [rbx + rcx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [rsp + 0x6e]
movzx edx, word [rsp + 0x6c]
movzx r10d, word [rsp + 0x6a]
movzx r11d, word [rsp + 0x68]
movzx ebx, word [rsp + 0x66]
movzx r9d, word [rsp + 0x62]
movzx r8d, word [rsp + 0x60]
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ecx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x38], edx
lea rdx, str._04u__02u__02u__02u:_02u:_02u._03u_T_u___c____s_
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
call fcn.140154b10
movsxd rsi, eax
lea rbx, [rsp + 0x70]
mov edi, r12d
lea r14, [rbp + 0x7d8]
sub rdi, rsi
add rbx, rsi
call fcn.14001ca38
mov r9, qword [rbp + 0x7d0]
mov r8, rdi
mov qword [rsp + 0x28], r14
mov rdx, rbx
and qword [rsp + 0x20], 0
mov rcx, qword [rax]
call fcn.140036dfc
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [r12 - 2]
add esi, eax
movsxd rax, esi
cmp rax, rcx
cmova rax, rcx
mov byte [rsp + rax + 0x70], 0xa
lea eax, [rsi + 1]
movsxd rcx, eax
lea eax, [r12 - 1]
cmp rcx, rax
ja 0x1401556d8
mov rax, rcx
cmp rcx, r12
jae 0x140155707
lea rcx, [rsp + 0x70]
mov byte [rsp + rax + 0x70], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.140020b10
add rsp, 0x888
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140021334
int3
Function at 0x140158a40
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x14036c028]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], send
mov byte [rcx], dil
lea rdx, [0x140314b40]
call fcn.1400193b0
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, SHFlushSFCache
lea rcx, [rbp - 0x80]
call fcn.140022ea0
lea rdx, [rbp - 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140158b6b
movdqa xmm0, xmmword [0x140316bf0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], di
lea rcx, [rbp - 0x80]
call fcn.14003e9e0
mov r8, rax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000e53c
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.140177bc8
mov rdx, rax
mov rcx, rbx
call fcn.140018194
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140158b4e
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140158b49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140158b92
call fcn.140020b30
movdqa xmm0, xmmword [0x140316c00]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], dil
lea rcx, [rsp + 0x58]
call fcn.140007e48
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140020b10
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14002ef9c
int3

Function at 0x140158ba0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rdi, edx
mov rbx, rcx
cmp byte [rdi + rcx], 0
jne 0x140158bbd
mov eax, 0x1505
jmp 0x140158bcd
inc edx
call fcn.140158ba0
movsx ecx, byte [rdi + rbx]
imul eax, eax, 0x21
xor eax, ecx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140173a78
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x14036c028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call fcn.140022ea0
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.CommercialId
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
and qword [rbx + 0x10], 0
lea rdx, [rsp + 0x50]
mov qword [rbx + 0x18], send
mov rcx, rbx
mov byte [rbx], 0
call fcn.1400193b0
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140020b10
add rsp, 0x170
pop rbx
ret

Function at 0x140173b2c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x14036c028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call fcn.140022ea0
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.BuildLabEx
lea rax, [rsp + 0x50]
mov r9d, 0x10002
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
and qword [rbx + 0x10], 0
lea rdx, [rsp + 0x50]
mov qword [rbx + 0x18], send
mov rcx, rbx
mov byte [rbx], 0
call fcn.1400193b0
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140020b10
add rsp, 0x170
pop rbx
ret
Function at 0x14019b528
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
lea rax, vtable.Microsoft::Applications::Events::HttpClient_WinInet.0
mov qword [rcx], rax
add rcx, 0x10
mov edx, 0x102
call fcn.14010f37c
nop
lea rbx, [rdi + 0x60]
mov qword [rsp + 0x58], rbx
and qword [rbx], 0
and qword [rbx + 8], 0
mov rcx, rbx
call fcn.14016dc6c
mov qword [rbx], rax
mov byte [rdi + 0x70], 0
mov dword [rsp + 0x20], 0x10000000
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rdi + 8], rax
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1401c9884
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140113b50
or dword [rbx + 0x1384], 0xffffffff
lea r8, [rbx + 8]
mov dword [rbx + 4], eax
mov ecx, 1
mov r9d, 0x26f
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
inc ecx
mov dword [r8], eax
lea r8, [r8 + 4]
sub r9, 1
jne 0x1401c98ab
movabs rax, 0x3ff0000000000000
mov dword [rbx], 0x270
and qword [rbx + 0x1388], r9
mov qword [rbx + 0x1390], rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1817af9bc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1817af9c6
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1817af9ef
pop rbp
sub rbp, 0x33
sub rbp, 0x17af9bc
cmp edx, 1
je 0x1817afa32
ldmxcsr dword [rsp]
add rsp, 8
popfq
pop r15
pop r14
pop r13
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rsi
pop rbp
pop rbx
pop rdx
pop rcx
pop rax
xor rax, rax
ret
sub rsp, 0x20
jmp 0x1817afa42
mov rax, 0x17af9bc
add rax, rbp
add rax, 0xb8
mov rcx, 0x60b
mov rdx, 0xffffffffe3dc9814
xor byte [rax], dl
inc rax
dec rcx
jne 0x1817afa61
jmp 0x1817afa78
pop rsp
popfq
std
lahf
popfq
sub byte [rsp + rdx], dl
adc al, 0x5c
xchg ebp, eax
invalid

Function at 0x1411417e8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1411417f2
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14114181b
pop rbp
sub rbp, 0x33
sub rbp, 0x11417e8
sub rsp, 0x20
jmp 0x14114183a
mov rax, 0x11417e8
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffbe4a69a0
xor byte [rax], dl
inc rax
dec rcx
jne 0x141141859
jmp 0x141141870
call 0x16a3f619e
pushfq
movabs al, byte [0xa0a1a86121e8a0a0]
movabs al, byte [0xa0a36067e849a1e8]
movabs al, byte [0xa0a0a0886267e8a0]
call 0xe2fc5aed
invalid
Function at 0xd20108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00d2028f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0xd20139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xd2011f
add dl, dl
jne 0xd20146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xd201a6
xor eax, eax
add dl, dl
jne 0xd20155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xd2025d
add dl, dl
jne 0xd20166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd20173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd20180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd2018d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0xd2019a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0xd2012e
mov eax, 1
add dl, dl
jne 0xd201b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd201c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xd201ab
sub eax, ebx
mov ebx, 1
jne 0xd201fc
mov ecx, 1
add dl, dl
jne 0xd201de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd201eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xd201d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xd2012e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd20218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd20225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xd2020d
cmp eax, 0x7d00
jae 0xd2024b
cmp eax, 0x500
jb 0xd20246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xd2012e
cmp eax, 0x7f
ja 0xd2024e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xd2012e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0xd20282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0xd2012e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800133d0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1801f5b80]
xor rax, rsp
mov qword [rsp + 0x48], rax
test dl, dl
mov dword [rsp + 0x20], 0
mov eax, 4
mov ecx, 2
cmovne eax, ecx
xorps xmm0, xmm0
mov dword [rsp + 0x34], eax
xorps xmm1, xmm1
mov rax, qword [0x1805e3320]
movdqu xmmword [rsp + 0x24], xmm0
movdqu xmmword [rsp + 0x38], xmm1
test rax, rax
jne 0x1800134f2
mov rax, qword gs:[0x60]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x50], rdi
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x1800134c4
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1800134c4
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0xe447008d
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1800134bf
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x1800134a0
cmp edx, 0xe5693945
je 0x180013515
test r8d, r8d
jne 0x180013480
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x1800134da
cmp qword [rax + 0x30], 0
jne 0x180013450
xor eax, eax
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov qword [0x1805e3320], rax
mov r8d, 0x28
lea rdx, [rsp + 0x20]
lea ecx, [r8 - 0x27]
call rax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1801554d0
add rsp, 0x58
ret
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x1800134dc