joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100014528
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x100026108]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rcx, qword [0x100026430]
lea rdi, [0x100026430]
cmp rcx, rdi
je 0x100014575
test byte [rcx + 0x1c], 2
je 0x100014575
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001e80]
mov edx, 0x3e
call fcn.10000e6d0
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
jne 0x1000145d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x1000145d5
mov rcx, qword [0x100026430]
cmp rcx, rdi
je 0x100014612
test byte [rcx + 0x1c], 4
je 0x100014612
mov rcx, qword [rcx + 0x10]
lea r9, [0x100003b00]
lea r8, [0x100001e80]
mov edx, 0x3f
mov dword [rsp + 0x20], ebx
call fcn.1000071e8
jmp 0x100014612
lea rax, [rsp + 0x30]
lea r9, [0x100003b50]
lea r8, [0x100003bb0]
lea rdx, [0x100003bc8]
xor ecx, ecx
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.10001ed20
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rdi
ret

Function at 0x100014be4
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x100027208]
test rcx, rcx
jne 0x100014c0a
call fcn.100014c98
test eax, eax
je 0x100014c31
mov rcx, qword [0x100027208]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x100014c85
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x100014c35
xor eax, eax
jmp 0x100014c85
mov eax, dword [rax]
mov rcx, qword [0x100027208]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x100014c62
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x100014c85
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x100027208]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x100014c69
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x10001c8e4
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x30
and dword [r9], 0
and dword [rax + 0x18], 0
and qword [r8], 0
mov r12, r9
xor r9d, r9d
mov r13, r8
lea rax, [rax + 0x18]
lea r8d, [r9 + 1]
mov esi, edx
mov rbp, rcx
mov edi, 0x80004005
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
jne 0x10001c978
mov rcx, qword [0x100026430]
lea rax, [0x100026430]
cmp rcx, rax
je 0x10001ca75
test byte [rcx + 0x1c], 4
je 0x10001ca75
mov rcx, qword [rcx + 0x10]
lea r9, [0x100006240]
lea r8, [0x100001b50]
mov edx, 0x38
mov dword [rsp + 0x20], edi
call fcn.1000071e8
jmp 0x10001ca75
mov edx, dword [rsp + 0x60]
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
jne 0x10001c9cf
mov rcx, qword [0x100026430]
lea rax, [0x100026430]
cmp rcx, rax
je 0x10001c9c5
test byte [rcx + 0x1c], 4
je 0x10001c9c5
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x39]
lea r9, [0x100006278]
lea r8, [0x100001b50]
call fcn.100007168
mov edi, 0x8007000e
jmp 0x10001ca67
lea rax, [rsp + 0x60]
mov r9, rbx
mov r8d, 1
mov edx, esi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
jne 0x10001ca2c
mov rcx, qword [0x100026430]
lea rax, [0x100026430]
cmp rcx, rax
je 0x10001ca67
test byte [rcx + 0x1c], 4
je 0x10001ca67
mov rcx, qword [rcx + 0x10]
lea r9, [0x100006240]
lea r8, [0x100001b50]
mov edx, 0x3a
mov dword [rsp + 0x20], edi
call fcn.1000071e8
jmp 0x10001ca67
mov eax, dword [rsp + 0x60]
xor edx, edx
test eax, eax
je 0x10001ca5b
mov rcx, rbx
cmp word [rcx], 0xd
je 0x10001ca45
cmp word [rcx], 0xa
jne 0x10001ca51
mov eax, 0x20
mov word [rcx], ax
mov eax, dword [rsp + 0x60]
inc edx
add rcx, 2
cmp edx, eax
jb 0x10001ca39
mov qword [r13], rbx
xor ebx, ebx
mov dword [r12], eax
xor edi, edi
test rbx, rbx
je 0x10001ca75
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
mov eax, edi
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x10001ca98
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
and qword [rax - 0x28], 0
and qword [rax - 0x30], 0
and dword [rax + 0x10], 0
and dword [r8], 0
and qword [rdx], 0
xor r9d, r9d
mov rsi, r8
lea rax, [rax + 0x10]
mov rbp, rdx
lea r8d, [r9 + 1]
xor edx, edx
mov r12, rcx
mov edi, 0x80004005
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x10001cb31
mov rcx, qword [0x100026430]
lea rax, [0x100026430]
cmp rcx, rax
je 0x10001cc05
test byte [rcx + 0x1c], 4
je 0x10001cc05
mov rcx, qword [rcx + 0x10]
lea r9, [0x100006290]
lea r8, [0x100001b50]
mov edx, 0x3b
mov dword [rsp + 0x20], edi
call fcn.1000071e8
jmp 0x10001cc05
mov edx, dword [rsp + 0x68]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
jne 0x10001cb82
mov rcx, qword [0x100026430]
lea rax, [0x100026430]
cmp rcx, rax
je 0x10001cb7b
test byte [rcx + 0x1c], 4
je 0x10001cb7b
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x3c]
lea r9, [0x1000062c8]
lea r8, [0x100001b50]
call fcn.100007168
mov edi, 0x8007000e
jmp 0x10001cbf7
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
xor edx, edx
lea rax, [rsp + 0x68]
lea r8d, [rdx + 1]
mov r9, rbx
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
jne 0x10001cbe9
mov rcx, qword [0x100026430]
lea rax, [0x100026430]
cmp rcx, rax
je 0x10001cbf7
test byte [rcx + 0x1c], 4
je 0x10001cbf7
mov rcx, qword [rcx + 0x10]
lea r9, [0x100006290]
lea r8, [0x100001b50]
mov edx, 0x3d
mov dword [rsp + 0x20], edi
call fcn.1000071e8
jmp 0x10001cbf7
mov eax, dword [rsp + 0x68]
mov qword [rbp], rbx
xor ebx, ebx
mov dword [rsi], eax
xor edi, edi
test rbx, rbx
je 0x10001cc05
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov eax, edi
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x10001ce80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x270
mov rax, qword [0x100026108]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, r9
mov rsi, rcx
lea r8, [0x1000062e0]
lea r9, [0x100003648]
lea rcx, [rsp + 0x40]
xor r12d, r12d
mov edx, 0x109
mov ebx, r12d
call fcn.100014aa4
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
je 0x10001cef5
cmp word [rsp + rcx*2 + 0x3e], 0x5c
jne 0x10001cef5
mov word [rsp + rcx*2 + 0x3e], r12w
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
je 0x10001cf5f
mov rcx, qword [0x100026430]
lea rdi, [0x100026430]
cmp rcx, rdi
je 0x10001d029
test byte [rcx + 0x1c], 2
je 0x10001d029
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x40]
lea r8, [0x100001b30]
mov edx, reloc.OLEAUT32.dll_SafeArrayUnlock
mov dword [rsp + 0x20], eax
call fcn.10001cd60
jmp 0x10001d029
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
lea rbp, [0x100005ec0]
mov esi, 4
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x30], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdi, [0x100026430]
cmp eax, r12d
je 0x10001cfd7
mov rcx, qword [0x100026430]
cmp rcx, rdi
je 0x10001cfef
test byte [rcx + 0x1c], 2
je 0x10001cfef
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
lea edx, [rsi + 0x12]
lea r9, [0x100003648]
lea r8, [0x100001b30]
mov qword [rsp + 0x20], rbp
call fcn.10001ce04
jmp 0x10001cfef
cmp dword [rsp + 0x34], esi
je 0x10001cfea
cmp dword [rsp + 0x34], 3
jne 0x10001cfef
cmp dword [rsp + 0x30], esi
jne 0x10001cfef
mov ebx, 1
mov rcx, qword [rsp + 0x38]
call qword [entry0]
cmp eax, r12d
je 0x10001d029
mov rcx, qword [0x100026430]
cmp rcx, rdi
je 0x10001d029
test byte [rcx + 0x1c], sil
je 0x10001d029
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001b30]
mov edx, 0x17
mov r9d, eax
call fcn.10001cd18
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.10001ed20
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x10001d05c
Capabilities:
Encrypt data using dpapi

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
sub rsp, 0x60
xor r12d, r12d
mov rsi, r8
mov rbp, rdx
mov r8, rcx
mov dword [rax - 0x18], r12d
mov qword [rax - 0x10], r12
mov dword [rax - 0x28], r12d
mov qword [rax - 0x20], r12
cmp rcx, r12
je 0x10001d163
cmp rdx, r12
je 0x10001d163
cmp rsi, r12
je 0x10001d163
mov qword [rdx], r12
mov edx, 0x7fffffff
mov dword [rsi], r12d
mov rax, rdx
mov ebx, r12d
cmp word [rcx], r12w
je 0x10001d0cd
add rcx, 2
sub rax, 1
jne 0x10001d0bd
cmp rax, r12
jne 0x10001d0dc
mov ebx, 0x80070057
mov rdx, r12
jmp 0x10001d0e2
sub rdx, rax
add rdx, rdx
cmp ebx, r12d
jl 0x10001d178
add rdx, 2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x50], edx
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
call qword [sym.imp.CRYPT32.dll_CryptProtectData]
cmp eax, r12d
je 0x10001d168
mov ebx, dword [rsp + 0x40]
mov ecx, 0x40
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
cmp rax, r12
jne 0x10001d148
mov ebx, 0x8007000e
jmp 0x10001d168
mov rdx, qword [rsp + 0x48]
mov r8, rbx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov dword [rsi], ebx
mov ebx, r12d
mov qword [rbp], rdi
jmp 0x10001d168
mov ebx, 0x80070057
mov rcx, qword [rsp + 0x48]
cmp rcx, r12
je 0x10001d178
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret

Function at 0x10001d19c
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
xor edi, edi
mov rsi, r8
mov ebp, edx
and dword [rax + 8], edi
mov r12, rcx
mov ebx, 0x80004005
test rcx, rcx
je 0x10001d234
test edx, edx
je 0x10001d234
test r8, r8
je 0x10001d234
and qword [r8], rdi
lea rax, [rax + 8]
lea r8d, [rdi + 1]
xor r9d, r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x10001d247
mov edx, dword [rsp + 0x50]
lea ecx, [rdi + 0x40]
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
jne 0x10001d20b
mov ebx, 0x8007000e
jmp 0x10001d239
lea rax, [rsp + 0x50]
mov r9, rdi
mov r8d, 1
mov edx, ebp
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x10001d239
mov qword [rsi], rdi
xor ebx, ebx
jmp 0x10001d247
mov ebx, 0x80070057
test rdi, rdi
je 0x10001d247
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x10001df24
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov eax, dword [0x1000265f8]
mov ebx, 0x80004005
lea rdi, [0x100026430]
cmp eax, 1
je 0x10001df56
cmp eax, 3
je 0x10001df56
mov rcx, qword [0x100026430]
jmp 0x10001dffd
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x100027210], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
lea rcx, [0x100027240]
mov dword [0x100027214], eax
call fcn.10001e1bc
mov ebx, eax
test eax, eax
jns 0x10001dfb4
mov rcx, qword [0x100026430]
cmp rcx, rdi
je 0x10001dff9
test byte [rcx + 0x1c], 4
je 0x10001dff9
mov rcx, qword [rcx + 0x10]
lea r9, [0x100006440]
lea r8, [0x100001ac0]
mov edx, 0xa
mov dword [rsp + 0x20], eax
call fcn.1000071e8
jmp 0x10001dff2
and qword [0x100027230], 0
lea rax, [0x100027228]
mov qword [0x100027238], rax
mov qword [0x100027228], rax
xor eax, eax
and dword [0x100027224], eax
xor ebx, ebx
mov qword [0x100027218], rax
mov dword [0x100027220], eax
mov dword [0x1000265f8], 2
mov rcx, qword [0x100026430]
test ebx, ebx
jns 0x10001e022
cmp rcx, rdi
je 0x10001e01d
test byte [rcx + 0x1c], 4
je 0x10001e01d
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001ac0]
mov edx, SafeArrayDestroy
call fcn.10000e6d0
call fcn.10001e038
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x10001e878
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x100026108]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call sub.msvcrt.dll_memset
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x100000000]
mov esi, SysAllocStringByteLen
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x10001e90b
cmp dword [rsp + 0x24], 5
jb 0x10001e925
jmp 0x10001e921
cmp dword [rsp + 0x30], esi
jne 0x10001e925
cmp dword [rsp + 0x24], 4
ja 0x10001e921
jne 0x10001e925
cmp dword [rsp + 0x28], 0
jbe 0x10001e925
mov byte [rbx + 0x18], sil
lea rax, [0x1000017e0]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.10000eaf0
movzx ecx, byte [0x1000272b8]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x1000272b8], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.10001ed20
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x10001ed20
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100026108]
jne 0x10001ed3b
rol rcx, 0x10
test cx, 0xffff
jne 0x10001ed37
ret 0
ror rcx, 0x10
jmp 0x10001f980
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100026870]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x100026968]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10001fa05
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x100026870]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x10001fa27
mov rax, qword [rsp + 0x88]
mov qword [0x100026968], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100026908], rax
mov rax, qword [0x100026968]
mov qword [0x1000267e0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1000268f0], rax
mov dword [0x1000267d0], 0xc0000409
mov dword [0x1000267d4], 1
mov rax, qword [0x100026108]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100026110]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1000018a8]
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, 0x88
ret

Function at 0x10001f000
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x10001f06b
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x10001f08b
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, [0x100001870]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret

Function at 0x10001f81c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x10001f869
cmp rcx, 0xffffffffffffffff
je 0x10001f869
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10001f861
cmp dword [rcx + 0x3c], edx
jl 0x10001f861
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10001f861
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x10001f869
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400113ac
Capabilities:
Get token membership

Disassembly:
jmp 0x140019cd0
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14003a10d]
call fcn.140011a55
nop
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov byte [rbp + 0x44], 0
mov byte [rbp + 0x45], 0
mov byte [rbp + 0x46], 0
mov byte [rbp + 0x47], 0
mov byte [rbp + 0x48], 0
mov byte [rbp + 0x49], 5
lea rax, [rbp + 0x28]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp + 0x44]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140019da6
lea r8, [rbp + 4]
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
nop
cmp dword [rbp + 4], 1
jne 0x140019db8
mov dword [rbp + 0x114], 1
jmp 0x140019dc2
mov dword [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
mov edi, eax
lea rcx, [rbp - 0x60]
lea rdx, [0x14002b520]
call fcn.1400118b1
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400114f1
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400113ed
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
jmp 0x140019e40
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x2808
call fcn.1400111c2
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x876
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2828]
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x27c8], rax
mov dword [rbp + 0x27b4], 0
lea rcx, [0x14003a10d]
call fcn.140011a55
nop
mov qword [rbp + 8], 0x2000
lea rax, [rbp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x2000
rep stosb byte [rdi], al
mov dword [rbp + 0x2044], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.yeezyauth4325235_1.0
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 0x2068], rax
cmp qword [rbp + 0x2068], 0
jne 0x140019f20
lea rdx, [0x14002c8a2]
mov rcx, qword [rbp + 0x27f0]
call fcn.14001149c
mov eax, dword [rbp + 0x27b4]
or eax, 1
mov dword [rbp + 0x27b4], eax
mov rax, qword [rbp + 0x27f0]
jmp 0x14001a021
mov rcx, qword [rbp + 0x27f8]
call fcn.14001136b
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x2068]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rbp + 0x2088], rax
mov edx, 0xe8
lea rcx, [rbp + 0x20b0]
call fcn.14001178f
mov edx, 1
lea rcx, [rbp + 0x20b0]
call fcn.14001103c
nop
cmp qword [rbp + 0x2088], 0
je 0x140019fdd
lea r9, [rbp + 0x2044]
mov r8d, 0x1fff
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x2088]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140019fcf
cmp dword [rbp + 0x2044], 0
je 0x140019fcf
mov eax, dword [rbp + 0x2044]
mov r8d, eax
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x20b0]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
nop
jmp 0x140019f87
mov rcx, qword [rbp + 0x2088]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp + 0x2068]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp + 0x27f0]
lea rcx, [rbp + 0x20b0]
call fcn.1400115d7
mov eax, dword [rbp + 0x27b4]
or eax, 1
mov dword [rbp + 0x27b4], eax
lea rcx, [rbp + 0x20b0]
call fcn.140011979
nop
mov rax, qword [rbp + 0x27f0]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002b710]
call fcn.1400118b1
mov rax, rdi
mov rcx, qword [rbp + 0x27c8]
xor rcx, rbp
call fcn.1400114f1
lea rsp, [rbp + 0x27d8]
pop rdi
pop rbp
ret

Function at 0x1400115dc
Capabilities:
Terminate process

Disassembly:
jmp 0x140022960
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]
nop
add rsp, 0x28
ret
Function at 0x14001161d
Capabilities:
Set registry value

Disassembly:
jmp 0x14001a230
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, 0x1d8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [0x140032040]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x14003a10d]
call fcn.140011a55
nop
mov rdx, qword [rbp + 0x1a8]
lea rcx, [rbp + 0x28]
call fcn.1400118a2
nop
mov rdx, qword [rbp + 0x1b0]
lea rcx, [rbp + 0x68]
call fcn.1400118a2
nop
lea rcx, [rbp + 0x28]
call fcn.14001136b
mov qword [rsp + 0x40], 0
lea rcx, [rbp + 8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0
jne 0x14001a343
lea rcx, [rbp + 0x68]
call fcn.14001136b
mov dword [rsp + 0x28], 4
lea rcx, [rbp + 0x1b8]
mov qword [rsp + 0x20], rcx
mov r9d, 4
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x68]
call fcn.14001190b
nop
lea rcx, [rbp + 0x28]
call fcn.14001190b
nop
lea rcx, [rbp - 0x50]
lea rdx, [0x14002b3f0]
call fcn.1400118b1
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.1400114f1
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret