joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180023328
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x79], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rdi, rdx
mov r8, rcx
lea rdx, [rbp - 0x49]
call fcn.18002349c
mov rbx, rax
mov rcx, qword [rax + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1800233a4
lea rcx, [0x1800237e8]
mov qword [rbp - 0x69], rcx
mov qword [rbp - 0x61], rdi
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x69]
mov rcx, rbx
call rax
jmp 0x180023467
mov rsi, qword [rdi + 8]
movups xmm6, xmmword [rdi + 0x10]
movsd xmm7, qword [rdi + 0x20]
mov r14d, dword [rdi + 0x28]
mov r15, qword [rdi + 0x30]
movups xmm8, xmmword [rdi + 0x38]
movsd xmm9, qword [rdi + 0x48]
mov rdi, qword [rdi + 0x50]
lea rax, [rbp + 0x77]
mov qword [rbp - 0x69], rax
mov ecx, dword [0x1801ffc20]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1800233e7
mov rdx, qword [rax + 8]
jmp 0x1800233e9
xor edx, edx
mov r8d, 0x68
call fcn.180022244
mov qword [rbp - 0x61], rax
and qword [rbp - 0x59], 0
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x180023434
mov qword [rax + 0x10], rsi
movups xmmword [rax + 0x18], xmm6
movsd qword [rax + 0x28], xmm7
mov dword [rax + 0x30], r14d
mov qword [rax + 0x38], r15
movups xmmword [rax + 0x40], xmm8
movsd qword [rax + 0x50], xmm9
mov qword [rax + 0x58], rdi
lea rcx, [0x1800238e4]
mov qword [rax], rcx
mov qword [rbp + 0x67], rax
and qword [rbp - 0x61], 0
lea rcx, [rbp - 0x69]
call fcn.180023648
nop
mov rax, qword [rbx + 0x28]
lea rdx, [rbp + 0x67]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rbp + 0x67]
test rax, rax
je 0x180023467
xor edx, edx
mov rcx, rax
call qword [rax]
nop
lea rcx, [rbp - 0x49]
mov rax, qword [rbp - 0x31]
call qword [rax]
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180023550
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rsi, rdx
mov r14, rcx
mov qword [rax - 0x30], r8
mov ecx, dword [0x1801ffc20]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18002358c
mov rdx, qword [rax + 8]
jmp 0x18002358e
xor edx, edx
mov r8d, 0xa0
call fcn.180022244
mov rdi, rax
mov qword [rsp + 0x30], rax
and qword [rsp + 0x38], 0
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1800235f8
lea rbx, [rax + 8]
mov qword [rsp + 0x70], rbx
mov rdx, rsi
mov rcx, rbx
call fcn.180022f3c
nop
movups xmm0, xmmword [rsi + 0x70]
movups xmmword [rbx + 0x70], xmm0
movsd xmm1, qword [rsi + 0x80]
movsd qword [rbx + 0x80], xmm1
mov rax, qword [rsi + 0x88]
mov qword [rbx + 0x88], rax
lea rax, [0x180023818]
mov qword [rdi], rax
jmp 0x1800235fa
xor edi, edi
mov qword [r14], rdi
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x28]
call fcn.1800236f0
nop
mov qword [rsp + 0x68], rsi
lea rbx, [rsi + 0x30]
mov qword [rsp + 0x68], rbx
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x180023636
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
and qword [rbx + 0x38], 0
mov rax, r14
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x180023648
Capabilities:
Get thread local storage value

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rbx, rcx
cmp qword [rcx + 0x10], 0
je 0x18002366b
and qword [rcx + 0x10], 0
mov rdi, qword [rcx + 8]
test rdi, rdi
je 0x1800236ca
mov ecx, dword [0x1801ffc20]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop
test rax, rax
je 0x18002368c
mov rcx, qword [rax + 8]
jmp 0x18002368e
xor ecx, ecx
test rcx, rcx
je 0x1800236bc
mov edx, 4
mov eax, edx
cmp qword [rcx + rax*8], 0
je 0x1800236ae
inc edx
inc rax
cmp rax, 6
jl 0x18002369a
jmp 0x1800236bc
mov al, byte [rdi + 0x68]
mov byte [rdi], al
movsxd rax, edx
mov qword [rcx + rax*8], rdi
jmp 0x1800236c5
mov rcx, rdi
call fcn.18002c160
nop
and qword [rbx + 8], 0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1800236f0
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x30
mov qword [r11 - 0x18], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x180023747
mov qword [r11 + 8], rcx
lea rax, [rcx + 8]
mov qword [r11 + 8], rax
mov qword [r11 + 8], rax
lea rbx, [rcx + 0x38]
mov qword [r11 + 8], rbx
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x180023742
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
and qword [rbx + 0x38], 0
and qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1800237a7
mov ecx, dword [0x1801ffc20]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x180023767
mov rcx, qword [rax + 8]
jmp 0x180023769
xor ecx, ecx
test rcx, rcx
je 0x18002379a
mov edx, 4
mov eax, edx
cmp qword [rcx + rax*8], 0
je 0x180023789
inc edx
inc rax
cmp rax, 6
jl 0x180023775
jmp 0x18002379a
mov al, byte [rbx + 0xa0]
mov byte [rbx], al
movsxd rax, edx
mov qword [rcx + rax*8], rbx
jmp 0x1800237a2
mov rcx, rbx
call fcn.18002c160
and qword [rdi + 8], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x180028d68
Capabilities:
Listen for remote procedure calls

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r8, rcx
lea rdx, str.pipe_
lea rcx, [rsp + 0x38]
call fcn.180011b58
nop
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae r8, qword [rsp + 0x38]
xor r9d, r9d
mov ebx, 0x4d2
mov edx, ebx
lea rcx, [0x1801ab658]
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpA]
test eax, eax
je 0x180028dbf
cmp eax, 0x6cc
jne 0x180028e01
lea rax, [fcn.1800084f0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor edx, edx
lea rcx, [0x1801a1670]
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIfEx]
test eax, eax
jne 0x180028e01
xor r8d, r8d
mov edx, ebx
lea ecx, [rax + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
test eax, eax
jne 0x180028e01
mov bl, 1
jmp 0x180028e03
xor bl, bl
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x180028e21
inc rdx
mov r8d, 1
mov rcx, qword [rsp + 0x38]
call fcn.1800060dc
mov qword [rsp + 0x50], SafeArrayLock
and qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
mov al, bl
add rsp, 0x60
pop rbx
ret
Function at 0x180028f4c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
mov dword [rbp - 0x30], r15d
mov r8d, dword [0x1801fe918]
mov rax, qword gs:[0x58]
mov rdi, qword [rax + r8*8]
mov r14d, 0x13a8
mov eax, dword [r14 + rdi]
lea r13d, [r15 + 0xf]
lea r12d, [r15 + 1]
test r12b, al
jne 0x180029055
or eax, r12d
mov dword [r14 + rdi], eax
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r15
mov qword [rbp - 8], r13
mov qword [rbp - 0x10], r15
mov byte [rbp - 0x20], r15b
xor r8d, r8d
lea rdx, [0x1801a91a0]
lea rcx, [rbp - 0x20]
call fcn.180006768
nop
call fcn.180114014
call fcn.180114014
mov edx, 0x20
add rdx, rdi
or dword [rdx + 0x1384], 0xffffffff
mov dword [rdx + 4], eax
mov r8d, r12d
lea r9, [rdx + 8]
mov r10d, 0x26f
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, r8d
mov dword [r9], eax
add r8d, r12d
lea r9, [r9 + 4]
sub r10, r12
jne 0x18002900b
mov dword [rdx], 0x270
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x180029049
inc rdx
mov r8, r12
mov rcx, qword [rbp - 0x20]
call fcn.1800060dc
mov qword [rbp - 8], r13
mov qword [rbp - 0x10], r15
mov byte [rbp - 0x20], r15b
mov eax, dword [r14 + rdi]
mov ecx, 0x13b0
test al, 2
jne 0x180029076
or eax, 2
mov dword [r14 + rdi], eax
mov qword [rcx + rdi], r15
mov qword [rcx + rdi + 8], 0x33
mov eax, dword [r14 + rdi]
test al, 4
jne 0x180029097
or eax, 4
mov dword [r14 + rdi], eax
mov eax, 0x13c0
mov qword [rax + rdi], r15
mov qword [rax + rdi + 8], 9
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x10], r15
mov byte [rbx], r15b
mov dword [rbp - 0x30], r12d
mov r14, qword [rbx + 0x10]
cmp r14, rsi
ja 0x1800290e3
cmp qword [rbx + 0x18], rsi
je 0x1800290e3
mov r8b, r12b
mov rdx, rsi
mov rcx, rbx
call fcn.180006afc
test al, al
je 0x1800290de
mov qword [rbx + 0x10], r14
cmp qword [rbx + 0x18], 0x10
jb 0x1800290d7
mov rax, qword [rbx]
jmp 0x1800290da
mov rax, rbx
mov byte [rax + r14], r15b
mov ecx, 0x13b0
test esi, esi
je 0x18002911b
mov r14d, 0x20
add r14, rdi
mov eax, ecx
add rdi, rax
mov rdx, r14
mov rcx, rdi
call fcn.180029338
lea rcx, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
mov r8b, byte [rax + rcx]
mov rdx, r12
mov rcx, rbx
call fcn.180006990
sub esi, r12d
jne 0x1800290f5
mov rax, rbx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180029a68
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rbx, rcx
mov edi, 0x7fffffff
mov esi, 0x9908b0df
mov r9, qword [rbx]
cmp dword [r9], 0x270
jne 0x180029ad2
lea r8, [r9 + 8]
mov r10d, 0x270
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, edi
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, esi
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x180029a9a
jmp 0x180029b90
cmp dword [r9], 0x4e0
jb 0x180029b90
lea r10, [r9 + 0x9c4]
mov r11d, 0xe3
mov edx, dword [r10 + 4]
xor edx, dword [r10]
and edx, edi
xor edx, dword [r10]
lea r10, [r10 + 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, esi
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub r11, 1
jne 0x180029aec
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
mov edx, dword [r10 + 4]
xor edx, dword [r10]
and edx, edi
xor edx, dword [r10]
lea r10, [r10 + 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, esi
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub r11, 1
jne 0x180029b2b
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 4]
and edx, edi
xor edx, dword [r9 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, esi
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
and dword [r9], r11d
mov eax, dword [r9]
mov edx, dword [r9 + rax*4 + 4]
inc eax
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov ecx, edx
mov eax, edx
and ecx, 0xffffdf8c
shl ecx, 0xf
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
cmp rax, qword [rbx + 0x10]
ja 0x180029a84
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x18002b074
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbx, rcx
xor edi, edi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rdi
mov word [rbp - 0x48], di
lea r8d, [rdi + 0x12]
lea rdx, str.SOFTWAREUnknownDB
lea rcx, [rbp - 0x48]
call fcn.180008b00
nop
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea r8, [rbp + 0x50]
mov rsi, 0xffffffff80000001
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x18002b113
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea r8, [rbp + 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x18002b237
mov qword [rbp + 0x58], rdi
lea r8, [rbp + 0x58]
xor edx, edx
mov rcx, rbx
call fcn.18002b014
mov r14, qword [rbp + 0x58]
mov rcx, r14
call fcn.180131b8c
mov rsi, rax
test rax, rax
je 0x18002b14c
lea r8, [rbp + 0x58]
mov rdx, rax
mov rcx, rbx
call fcn.18002b014
mov r14, qword [rbp + 0x58]
mov r12d, 0xffff
mov rbx, rsi
mov qword [rbp + 0x58], rbx
mov r15d, edi
mov r13d, edi
test r14, r14
je 0x18002b1e2
mov eax, r14d
sub eax, r15d
cmp eax, 0xffff
cmovl r12d, eax
mov edx, r13d
lea rcx, [rbp - 0x28]
call fcn.18002a39c
nop
cmp qword [rax + 0x18], 8
jb 0x18002b18a
mov rax, qword [rax]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rbx
mov r9d, 3
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x28]
call fcn.18000899c
test ebx, ebx
jne 0x18002b1dc
mov eax, r12d
mov rbx, qword [rbp + 0x58]
add rbx, rax
mov qword [rbp + 0x58], rbx
add r15d, r12d
inc r13d
movsxd rax, r15d
cmp rax, r14
jb 0x18002b164
jmp 0x18002b1e2
mov rcx, qword [rbp + 0x50]
jmp 0x18002b216
mov dword [rbp + 0x48], r15d
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x1801ab838]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x50]
test eax, eax
je 0x18002b226
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rsi
call fcn.180131a88
jmp 0x18002b237
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rsi
call fcn.180131a88
mov dil, 1
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x48]
call fcn.18000899c
mov al, dil
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002b264
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r13, rcx
xor edi, edi
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], rdi
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], rdi
mov word [rbp - 0x21], di
lea r8d, [rdi + 0x12]
lea rdx, str.SOFTWAREUnknownDB
lea rcx, [rbp - 0x21]
call fcn.180008b00
nop
mov dword [rbp + 0x77], edi
mov dword [rbp + 0x7f], 4
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rdx, qword [rbp - 0x21]
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 0x18]
lea r8, [0x1801ab838]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x18002b3de
mov ecx, dword [rbp + 0x77]
call fcn.180131b8c
mov rsi, rax
test rax, rax
je 0x18002b3de
mov dword [rbp + 0x6f], 0xffff
mov r12, rax
mov r14d, edi
mov r15d, edi
mov ecx, dword [rbp + 0x77]
test ecx, ecx
je 0x18002b3c4
sub ecx, r14d
mov eax, 0xffff
cmp ecx, eax
cmovl eax, ecx
mov dword [rbp + 0x6f], eax
mov edx, r15d
lea rcx, [rbp - 1]
call fcn.18002a39c
nop
cmp qword [rax + 0x18], 8
jb 0x18002b360
mov rax, qword [rax]
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rdx, qword [rbp - 0x21]
lea rcx, [rbp + 0x6f]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdi
mov r9d, 8
mov r8, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 1]
call fcn.18000899c
test ebx, ebx
jne 0x18002b3d5
mov eax, dword [rbp + 0x6f]
add r12, rax
add r14d, dword [rbp + 0x6f]
inc r15d
mov ecx, dword [rbp + 0x77]
cmp r14d, ecx
jb 0x18002b339
mov r8d, ecx
mov rdx, rsi
mov rcx, r13
call fcn.18002b06c
mov dil, al
mov rcx, rsi
call fcn.180131a88
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x21]
call fcn.18000899c
mov al, dil
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002bca4
Capabilities:
Acquire debug privileges

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x40
xor eax, eax
lea rcx, str.Advapi32.dll
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x10], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.OpenProcessToken
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, 0x28
mov rcx, rax
call rbx
xor ebx, ebx
test eax, eax
je 0x18002bd6b
lea r8, [rsp + 0x58]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x18002bd5e
mov rax, qword [rsp + 0x58]
lea rdx, str.AdjustTokenPrivileges
mov rcx, rdi
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x30]
mov r9d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], rbx
xor edx, edx
mov qword [rsp + 0x20], rbx
call rax
mov ebx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x18002bd78
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r15
mov rbp, rsp
sub rsp, 0x60
mov rdi, rcx
mov dword [rbp - 0x30], 0x48c03148
lea rcx, [0x1801ab8d0]
mov dword [rbp - 0x2c], 0x3148da31
mov dword [rbp - 0x28], 0x3e8b9c9
mov dword [rbp - 0x24], 0x1ba0000
mov dword [rbp - 0x20], 0x48000000
mov dword [rbp - 0x1c], 0x667788b8
mov dword [rbp - 0x18], 0x22334455
mov dword [rbp - 0x14], 0xebd0ff11
mov byte [rbp - 0x10], 0xdf
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1801ab8e0]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
mov qword [rbp - 0x1b], rax
call fcn.18002d748
lea rdx, [0x1801ab8e8]
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 0x40
mov rdx, rsi
mov rbx, rax
mov rcx, rdi
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r15d, [r9 - 0x1f]
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rax, [rbp + 0x30]
mov r9d, r15d
lea r8, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call rbx
test eax, eax
je 0x18002be6d
mov r9d, dword [rbp + 0x28]
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x20], rcx
mov r8, r15
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
Function at 0x18002beb8
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor eax, eax
mov esi, edx
mov qword [rcx], rax
mov rbx, rcx
mov qword [rcx + 8], rax
xor edx, edx
lea ecx, [rax + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
cmp dword [rsp + 0x2c], esi
je 0x18002bf13
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
je 0x18002bf2d
jmp 0x18002bef9
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rbx], rax
mov eax, dword [rsp + 0x28]
mov dword [rbx + 8], eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x18002c034
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov r14, rdx
mov dword [rdx], ebx
mov rdi, rcx
cmp rcx, 0xffffffffffffffff
jne 0x18002c05a
xor eax, eax
jmp 0x18002c0ad
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
mov rsi, rbx
test eax, eax
je 0x18002c0a1
mov ecx, eax
call fcn.18002bff0
mov dword [rsp + 0x50], ebx
mov rsi, rax
test rax, rax
je 0x18002c09e
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
mov r8d, ebp
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [rsp + 0x50]
mov dword [r14], ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x18002c0c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov edi, r8d
mov rsi, rdx
test rcx, rcx
jne 0x18002c0de
xor eax, eax
jmp 0x18002c144
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18002c0da
and dword [rsp + 0x50], 0
test rsi, rsi
je 0x18002c137
test edi, edi
je 0x18002c137
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x18002ddf0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x450
mov rax, qword [0x1801f5f20]
xor rax, rsp
mov qword [rsp + 0x440], rax
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
add rax, rcx
mov qword [rsp + 0x30], rdx
mov r14, rcx
mov r9d, 0x8664
mov ecx, 0x88
lea r8d, [rbx + 0x78]
cmp word [rax + 4], r9w
cmove r8d, ecx
add r8, rax
mov eax, dword [r8]
lea rdi, [r14 + rax]
test eax, eax
je 0x18002dfce
cmp dword [r8 + 4], ebx
je 0x18002dfce
cmp dword [rdi + 0x1c], ebx
je 0x18002dfce
mov r13d, dword [rdi + 0x14]
test r13d, r13d
je 0x18002dfce
mov r12d, dword [rdi + 0x1c]
lea rax, [rdx - 1]
add r12, r14
mov rsi, rdx
mov qword [rsp + 0x28], r12
cmp rax, 0xfffe
jbe 0x18002de95
mov r13d, dword [rdi + 0x18]
mov esi, ebx
cmp dword [rdi + 0x24], ebx
je 0x18002dfc0
mov ebp, dword [rdi + 0x24]
mov r15d, dword [rdi + 0x20]
add rbp, r14
add r15, r14
mov dword [rsp + 0x20], ebx
test r13d, r13d
je 0x18002dfce
test rsi, rsi
je 0x18002ded4
movzx eax, word [rbp]
mov ecx, dword [rdi + 0x10]
add rcx, rax
mov eax, ebx
cmp rsi, rcx
sete al
jmp 0x18002df97
mov ecx, dword [r15]
add rcx, r14
test rdx, rdx
je 0x18002defa
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x18002df9f
movzx eax, word [rbp]
lea rbx, [r12 + rax*4]
jmp 0x18002dfce
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov r9d, dword [r15]
lea r11, [rsp + 0x40]
add r9, r14
mov dword [rsp + 0x24], eax
mov r8d, ebx
mov r10d, r8d
mov r12d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
and cl, 1
cmovne r10d, eax
or eax, 0xffffffff
add r12d, eax
jne 0x18002df1b
mov dword [r11], r10d
inc r8d
add r11, 4
cmp r8d, 0xff
jbe 0x18002df12
mov r12, qword [rsp + 0x28]
test r9, r9
je 0x18002df8e
mov r8d, dword [rsp + 0x24]
test r8d, r8d
je 0x18002df8e
mov edx, eax
movzx ecx, byte [r9]
add r8d, eax
movzx eax, dl
inc r9
xor rcx, rax
mov eax, edx
shr eax, 8
mov edx, dword [rsp + rcx*4 + 0x40]
xor edx, eax
mov eax, 0xffffffff
test r8d, r8d
jne 0x18002df65
not edx
jmp 0x18002df90
mov edx, ebx
test edx, edx
jne 0x18002df9f
lea eax, [rdx + 1]
test eax, eax
jne 0x18002deed
mov eax, dword [rsp + 0x20]
add r15, 4
inc eax
add rbp, 2
mov dword [rsp + 0x20], eax
cmp eax, r13d
jae 0x18002dfce
mov rdx, qword [rsp + 0x30]
jmp 0x18002deb8
test rsi, rsi
je 0x18002dfce
lea rbx, [r12 - 4]
lea rbx, [rbx + rsi*4]
mov rax, rbx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.180131f30
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x450
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret