joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004cd30
Capabilities:
Create thread

Disassembly:
mov rax, rcx
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x18004cd5c
cmp dword [rcx + 0x20], 0
je 0x18004cd54
mov rcx, qword [rcx]
lea rdx, [0x18004cd00]
mov r8, rax
jmp fcn.180019a40
mov rcx, rax
jmp fcn.18004cbf0
xor eax, eax
ret

Function at 0x18004d990
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov rsi, qword [rcx + 0x18]
mov r12, qword [rcx + 0x28]
xor ebx, ebx
mov rdi, qword [rsi + 0x30]
mov r13, r9
mov ebp, r8d
mov r14, rdx
test rdi, rdi
jne 0x18004da33
movzx eax, word [r12 + 6]
imul eax, eax, 0x38
add eax, 0x50
test eax, eax
jle 0x18004da03
mov rcx, qword [r12 + 0x10]
movsxd rdx, eax
test rcx, rcx
je 0x18004d9ee
call fcn.180017520
jmp 0x18004d9f6
mov rcx, rdx
call fcn.180016e00
mov rdi, rax
test rax, rax
jne 0x18004da06
mov rdi, rbx
jmp 0x18004da1e
mov rdi, rbx
lea rax, [rdi + 0x18]
mov qword [rdi], r12
mov qword [rdi + 8], rax
movzx eax, word [r12 + 6]
inc ax
mov word [rdi + 0x10], ax
mov qword [rsi + 0x30], rdi
test rdi, rdi
jne 0x18004da2f
lea eax, [rdi + 7]
jmp 0x18004dab8
mov word [rdi + 0x10], bp
cmp byte [rsi + 0x58], bl
je 0x18004da6b
cmp byte [rsi + 0x59], bl
je 0x18004da4a
mov rax, qword [rsi + 0x10]
mov edx, dword [rax + 0x14]
mov r8, qword [rax + 0x28]
jmp 0x18004da75
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rcx + rcx*4]
shl rax, 4
add rax, qword [rdx + 0x18]
mov edx, dword [rax + 0x14]
mov r8, qword [rax + 0x28]
jmp 0x18004da75
mov rax, qword [rsi + 0x38]
mov edx, dword [rax]
lea r8, [rax + 0x10]
mov r9, rdi
mov rcx, r12
call fcn.18003e700
test ebp, ebp
jle 0x18004da9f
mov rax, qword [rdi + 8]
add rax, 8
nop dword [rax]
test byte [rax], 1
jne 0x18004dad7
inc ebx
add rax, 0x38
cmp ebx, ebp
jl 0x18004da90
mov rdx, qword [r14 + 0x10]
mov ecx, dword [r14 + 0xc]
xor r9d, r9d
mov r8, rdi
call fcn.18003ed70
mov dword [r13], eax
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
mov dword [r13], 0xffffffff
jmp 0x18004dab6
Function at 0x180057cb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x180057e4f
test rdx, rdx
je 0x180057e4f
mov eax, dword [rcx + 4]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov esi, dword [rdx + 4]
mov ebp, esi
or ebp, eax
bt ebp, 0xa
jae 0x180057d05
and esi, eax
bt esi, 0xa
jae 0x180057d75
mov eax, dword [rdx + 8]
cmp dword [rcx + 8], eax
jne 0x180057d75
xor eax, eax
jmp 0x180057d3e
movzx eax, byte [rcx]
cmp al, byte [rdx]
je 0x180057d53
cmp al, 0x5f
jne 0x180057d23
mov rcx, qword [rcx + 0x10]
call fcn.180057cb0
cmp eax, 2
jl 0x180057d39
mov r8d, dword [rsp + 0x40]
cmp byte [rbx], 0x5f
jne 0x180057d75
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call fcn.180057cb0
cmp eax, 2
jge 0x180057d75
mov eax, 1
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
cmp al, 0x98
je 0x180057dbb
cmp al, 0x9a
je 0x180057dbb
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x180057dbb
cmp al, 0x97
jne 0x180057d7c
mov rdx, qword [rdx + 8]
call fcn.18001a6d0
test eax, eax
je 0x180057db6
mov eax, 2
jmp 0x180057d3e
mov r9, qword [rdx + 8]
sub r9, rcx
nop word [rax + rax]
movzx r8d, byte [rcx]
movzx edx, byte [rcx + r9]
sub r8d, edx
jne 0x180057da5
inc rcx
test edx, edx
jne 0x180057d90
test r8d, r8d
je 0x180057db6
xor ecx, ecx
cmp al, 0x5f
setne cl
lea eax, [rcx + 1]
jmp 0x180057d3e
mov r8d, dword [rsp + 0x40]
xor esi, dword [rdi + 4]
test sil, 0x10
jne 0x180057d75
bt ebp, 0xe
jb 0x180057e48
bt ebp, 0xb
jb 0x180057d75
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rdi + 0x10]
call fcn.180057cb0
test eax, eax
jne 0x180057d75
mov esi, dword [rsp + 0x40]
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rdi + 0x18]
mov r8d, esi
call fcn.180057cb0
test eax, eax
jne 0x180057d75
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rdi + 0x20]
mov r8d, esi
call fcn.180057e70
test eax, eax
jne 0x180057d75
bt ebp, 0xd
jb 0x180057e48
cmp byte [rdi], 0x61
je 0x180057e48
movzx eax, word [rbx + 0x30]
cmp word [rdi + 0x30], ax
jne 0x180057d75
mov ecx, dword [rdi + 0x2c]
mov eax, dword [rbx + 0x2c]
cmp ecx, eax
je 0x180057e48
cmp ecx, esi
jne 0x180057d75
test eax, eax
jns 0x180057d75
xor eax, eax
jmp 0x180057d3e
mov rbx, qword [rsp + 0x48]
xor ecx, ecx
mov eax, 2
cmp rdx, rdi
cmove eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x18005d780
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rsi
push r12
push r13
sub rsp, 0x20
mov ebp, dword [rcx + 0x28]
xor r11d, r11d
xor ebx, ebx
mov rsi, r8
mov r13, rdx
mov r12, rcx
test ebp, ebp
jle 0x18005d872
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r14
lea r14, [0x1802b5490]
mov r10d, ebx
cmp ebx, 2
jge 0x18005d7c2
xor r10d, 1
test rsi, rsi
je 0x18005d81a
mov rax, qword [r12 + 0x20]
movzx edx, byte [rsi]
movsxd rcx, r10d
movzx r9d, byte [rdx + r14]
shl rcx, 5
mov r8, rsi
mov rdi, qword [rcx + rax]
movzx eax, byte [rdi]
movzx eax, byte [rax + r14]
sub r9d, eax
jne 0x18005d84f
sub rdi, rsi
test dl, dl
je 0x18005d815
movzx edx, byte [r8 + 1]
movzx eax, byte [rdi + r8 + 1]
inc r8
movzx ecx, byte [rax + r14]
movzx r9d, byte [rdx + r14]
sub r9d, ecx
je 0x18005d7f2
jmp 0x18005d84f
test r9d, r9d
jne 0x18005d84f
mov rax, qword [r12 + 0x20]
movsxd rcx, r10d
lea r8, [rsp + 0x50]
shl rcx, 5
mov rdx, r13
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.18001bad0
test rax, rax
je 0x18005d84c
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x18005d859
jmp 0x18005d84f
xor r11d, r11d
inc ebx
cmp ebx, ebp
jl 0x18005d7b6
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov rax, r11
add rsp, 0x20
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret
mov rax, r11
add rsp, 0x20
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret

Function at 0x18005da20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
sub rsp, 0x20
mov esi, dword [rcx + 0x28]
xor r9d, r9d
xor ebx, ebx
mov rdi, r8
mov r12, rdx
test esi, esi
jle 0x18005db01
mov qword [rsp + 0x48], rbp
mov rbp, qword [rcx + 0x20]
mov qword [rsp + 0x50], r13
lea r13, [0x1802b5490]
mov eax, ebx
cmp ebx, 2
jge 0x18005da62
xor eax, 1
movsxd rcx, eax
shl rcx, 5
mov r11, qword [rcx + rbp + 0x18]
test rdi, rdi
je 0x18005dab8
mov r10, qword [rcx + rbp]
movzx edx, byte [rdi]
mov r8, rdi
movzx eax, byte [r10]
movzx ecx, byte [rax + r13]
movzx eax, byte [rdx + r13]
sub eax, ecx
jne 0x18005dadc
sub r10, rdi
test dl, dl
je 0x18005dab4
movzx eax, byte [r10 + r8 + 1]
movzx edx, byte [r8 + 1]
inc r8
movzx ecx, byte [rax + r13]
movzx eax, byte [rdx + r13]
sub eax, ecx
je 0x18005da92
jmp 0x18005dadc
test eax, eax
jne 0x18005dadc
lea rcx, [r11 + 0x20]
lea r8, [rsp + 0x40]
mov rdx, r12
call fcn.18001bad0
test rax, rax
je 0x18005dad9
mov r9, qword [rax + 0x10]
test r9, r9
jne 0x18005dae6
jmp 0x18005dadc
xor r9d, r9d
inc ebx
cmp ebx, esi
jl 0x18005da58
mov rbp, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov rax, r9
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
mov rax, r9
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
Function at 0x180061820
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [rcx]
movsxd r10, edx
mov qword [rsp + 0x38], r9
mov rdx, qword [rax + 0x20]
shl r10, 5
mov qword [rsp + 0x30], r8
mov rbp, qword [r10 + rdx]
mov r15, rcx
mov r14d, 1
nop word [rax + rax]
lea r8, str.sqlite_stat_d
lea rdx, [rsp + 0x40]
mov r9d, r14d
mov ecx, 0x18
call fcn.180019660
mov r12, qword [r15]
xor ebx, ebx
mov r13d, dword [r12 + 0x28]
xor edi, edi
test r13d, r13d
jle 0x180061a5e
movzx esi, byte [rsp + 0x40]
mov r10d, edi
cmp edi, 2
jge 0x1800618af
xor r10d, 1
test rbp, rbp
je 0x18006192c
mov rax, qword [r12 + 0x20]
movzx edx, byte [rbp]
movsxd rcx, r10d
shl rcx, 5
mov r8, rbp
mov r11, qword [rcx + rax]
lea rcx, [0x1802b5490]
movzx eax, byte [r11]
movzx r9d, byte [rdx + rcx]
movzx eax, byte [rax + rcx]
sub r9d, eax
jne 0x180061a23
sub r11, rbp
jmp 0x1800618f7
lea rcx, [0x1802b5490]
test dl, dl
je 0x180061923
movzx eax, byte [r11 + r8 + 1]
movzx edx, byte [r8 + 1]
inc r8
movzx ecx, byte [rax + rcx]
lea rax, [0x1802b5490]
movzx r9d, byte [rdx + rax]
sub r9d, ecx
je 0x1800618f0
jmp 0x180061a23
test r9d, r9d
jne 0x180061a23
mov rax, qword [r12 + 0x20]
movsxd rcx, r10d
shl rcx, 5
mov r9, qword [rcx + rax + 0x18]
mov r10, qword [r9 + 0x18]
test r10, r10
je 0x18006199b
xor eax, eax
lea r8, [rsp + 0x40]
movzx ecx, sil
test sil, sil
je 0x180061983
lea r13, [0x1802b5490]
nop dword [rax]
movzx ecx, cl
inc r8
movzx edx, byte [rcx + r13]
lea ecx, [rax*8]
xor edx, ecx
movzx ecx, byte [r8]
xor eax, edx
test cl, cl
jne 0x180061960
mov r13d, dword [r12 + 0x28]
xor edx, edx
div dword [r9 + 8]
mov ecx, edx
shl rcx, 4
add rcx, r10
mov r10, qword [rcx + 8]
mov r11d, dword [rcx]
jmp 0x1800619a3
mov r10, qword [r9 + 0x10]
mov r11d, dword [r9 + 0xc]
test r11d, r11d
je 0x180061a21
lea rcx, [0x1802b5490]
movzx eax, sil
movzx ebx, byte [rax + rcx]
nop word [rax + rax]
mov r8, qword [r10 + 0x18]
dec r11d
movzx edx, byte [r8]
movzx eax, byte [rdx + rcx]
sub eax, ebx
jne 0x180061a19
lea r9, [rsp + 0x40]
sub r9, r8
nop dword [rax + rax]
test dl, dl
je 0x180061a15
movzx eax, byte [r9 + r8 + 1]
movzx edx, byte [r8 + 1]
inc r8
movzx ecx, byte [rax + rcx]
lea rax, [0x1802b5490]
movzx eax, byte [rdx + rax]
sub eax, ecx
lea rcx, [0x1802b5490]
je 0x1800619e0
lea rcx, [0x1802b5490]
jmp 0x180061a19
test eax, eax
je 0x180061a89
mov r10, qword [r10]
test r11d, r11d
jne 0x1800619c0
xor ebx, ebx
inc edi
cmp edi, r13d
jl 0x1800618a3
test rbx, rbx
je 0x180061a5e
mov rax, qword [rsp + 0x38]
lea r9, [rsp + 0x40]
lea rdx, str.DELETE_FROM__Q._s_WHERE__s_Q
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
mov r8, rbp
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.18005d6a0
inc r14d
cmp r14d, 4
jle 0x180061870
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800acfa0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rbx, qword [r10 + 0x10]
test rbx, rbx
jne 0x180061a33
jmp 0x180061a23
Function at 0x1800a94b0
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rsp + 0x90], rax
inc ecx
xor r9d, r9d
mov rbx, rdx
mov r8d, r9d
nop word [rax + rax]
mov eax, 0x4f7a09cd
imul ecx
imul ecx, ecx, 0x9ef4
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x7fffff07
sub ecx, edx
jns 0x1800a9507
add ecx, 0x7fffff07
mov eax, ecx
mov byte [rsp + r8*4 + 0x80], cl
inc r8
sar eax, 8
mov byte [rsp + r8*4 + 0x7d], al
mov eax, ecx
sar eax, 0x10
mov byte [rsp + r8*4 + 0x7e], al
mov eax, ecx
sar eax, 0x18
mov byte [rsp + r8*4 + 0x7f], al
cmp r8, 4
jl 0x1800a94e0
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], 0x67452301
mov dword [rsp + 0x24], 0xefcdab89
mov dword [rsp + 0x28], 0x98badcfe
mov qword [rsp + 0x2c], 0x10325476
mov dword [rsp + 0x34], r9d
call fcn.1800a8b50
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1800a8970
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1800acfa0
add rsp, 0xa0
pop rbx
ret

Function at 0x1800a95a0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x1f]
sub rsp, 0xc0
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rax, qword [r9]
mov r12, qword [rbp + 0x6f]
mov r13, qword [rbp + 0x7f]
mov qword [rbp - 0x21], rax
mov rax, qword [r9 + 8]
xor edi, edi
mov qword [rbp - 0x19], rax
test r8d, r8d
mov eax, edx
sete dil
sar eax, 8
mov ebx, edx
mov byte [rbp - 0x10], al
mov eax, edx
mov rsi, rcx
sar eax, 0x10
mov byte [rbp - 0x11], dl
mov r14d, r8d
mov byte [rbp - 0xf], al
mov eax, edx
lea rcx, [rsp + 0x20]
sar eax, 0x18
lea rdx, [rbp - 0x21]
mov r8d, 0x18
mov dword [rbp - 0xd], 0x546c4173
mov dword [rsp + 0x20], 0x67452301
mov dword [rbp - 0x7d], 0xefcdab89
mov byte [rbp - 0xe], al
mov dword [rbp - 0x79], 0x98badcfe
mov qword [rbp - 0x75], 0x10325476
mov dword [rbp - 0x6d], 0
call fcn.1800a8b50
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x21]
call fcn.1800a8970
lea rdx, [rbp - 9]
mov ecx, ebx
call fcn.1800a94b0
mov rbx, qword [rsi + 0x30]
mov dword [rbx], 1
mov dword [rbx + 4], 1
test edi, edi
je 0x1800a9682
cmp edi, 1
jne 0x1800a96f5
lea rcx, [rbp - 9]
mov dword [rbx + 8], edi
xor r8d, r8d
mov rax, qword [rcx]
lea r9, [rbp - 0x21]
lea r10d, [r8 + 0x10]
mov qword [rbx + 0xc], rax
mov rax, qword [rcx + 8]
mov qword [rbx + 0x14], rax
mov dword [rbx + 0x1c], 0xa
nop word [rax + rax]
mov rax, r8
mov rdx, r8
inc r9
and eax, 3
shr rdx, 2
inc r8
dec r10
lea rcx, [rbp + rax - 9]
movzx eax, byte [r9 - 1]
mov byte [rcx + rdx*4], al
jne 0x1800a96b0
lea rdx, [rbp - 9]
mov rcx, rbx
call fcn.180013060
cmp dword [rbx + 8], 1
jne 0x1800a96ef
mov rcx, rbx
call fcn.1800132a0
mov dword [rbx], 0
mov r8d, dword [rbp + 0x77]
mov rcx, qword [rsi + 0x30]
mov r9, r13
shl r8d, 3
mov rdx, r12
test r14d, r14d
je 0x1800a9713
call fcn.1800126d0
jmp 0x1800a9718
call fcn.180012b70
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1800acfa0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x1800ab750
Capabilities:
Encrypt data using dpapi

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x1802e4710]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rbx, r8
mov qword [rsp + 0x80], reloc.WS2_32.dll_ntohs
xor esi, esi
mov qword [rsp + 0x78], rsi
mov byte [rsp + 0x68], sil
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], edx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1800ab8ee
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1800ab8ee
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x68]
call fcn.180009740
mov r11d, esi
mov edx, esi
mov ecx, esi
movsxd r9, dword [rsp + 0x78]
test r9, r9
jle 0x1800ab845
mov rdi, qword [rsp + 0x80]
mov r8, qword [rsp + 0x68]
lea rax, [rsp + 0x68]
cmp rdi, 0x10
cmovae rax, r8
cmp byte [rcx + rax], 0x1f
jle 0x1800ab842
lea rax, [rsp + 0x68]
cmp rdi, 0x10
cmovae rax, r8
cmp byte [rcx + rax], 0x7f
jge 0x1800ab842
inc edx
inc rcx
cmp rcx, r9
jl 0x1800ab810
jmp 0x1800ab845
mov r11d, edx
movsxd r8, r11d
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x68]
call fcn.1800abde0
mov rdi, rax
cmp rbx, rax
je 0x1800ab8bc
cmp qword [rbx + 0x18], 0x10
jb 0x1800ab871
mov rcx, qword [rbx]
call fcn.1800acf88
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], rsi
mov byte [rbx], 0
cmp qword [rdi + 0x18], 0x10
jae 0x1800ab89b
mov r8, qword [rdi + 0x10]
inc r8
mov rdx, rdi
mov rcx, rbx
call fcn.1800acfd0
jmp 0x1800ab8a4
mov rax, qword [rdi]
mov qword [rbx], rax
mov qword [rdi], rsi
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x10], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x18], rax
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
cmp qword [rsp + 0xa8], 0x10
jb 0x1800ab8d5
mov rcx, qword [rsp + 0x90]
call fcn.1800acf88
nop
cmp qword [rsp + 0x80], 0x10
jb 0x1800ab8ea
mov rcx, qword [rsp + 0x68]
call fcn.1800acf88
mov al, 1
jmp 0x1800ab91b
mov r8d, shutdown
lea rdx, str.err_:_uncode_failed_
mov rcx, rbx
call fcn.180009740
nop
cmp qword [rsp + 0x80], 0x10
jb 0x1800ab919
mov rcx, qword [rsp + 0x68]
call fcn.1800acf88
xor al, al
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1800acfa0
add rsp, 0xc0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800abba0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rbx, r9
mov rax, r8
mov r10, rdx
mov rdi, rcx
xor esi, esi
mov dword [rbp - 0x30], esi
lea rcx, [rbp + 0x28]
mov qword [r11 - 0x58], rcx
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rax
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1800abc0a
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
xor edx, edx
mov rcx, rdi
call fcn.1800ac180
nop
jmp 0x1800abceb
mov dword [rbp - 0x2c], 0x1fe
mov ecx, 0x1fe
call fcn.1800acf80
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1800ac180
nop
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x28]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
test eax, eax
jne 0x1800abcaf
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x1800abc9d
mov eax, dword [rbx + 8]
test eax, eax
je 0x1800abc99
lea ecx, [rax + 1]
lock cmpxchg dword [rbx + 8], ecx
je 0x1800abc84
mov eax, dword [rbx + 8]
test eax, eax
jne 0x1800abc71
jmp 0x1800abc99
mov rbx, qword [rbp - 0x10]
mov r8, rbx
mov rdx, qword [rbp - 0x18]
mov rcx, rdi
call fcn.1800ac220
jmp 0x1800abc9d
mov rbx, qword [rbp - 0x10]
mov dword [rbp - 0x30], 1
test rbx, rbx
je 0x1800abceb
lock dec dword [rbx + 8]
jmp 0x1800abccd
xor edx, edx
mov rcx, rdi
call fcn.1800ac180
mov dword [rbp - 0x30], 1
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1800abceb
lock dec dword [rcx + 8]
jne 0x1800abceb
mov rbx, qword [rbp - 0x10]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x1800abceb
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, rdi
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800ac730
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
dec edx
jne 0x1800ac77c
cmp dword [0x1802e7f74], edx
je 0x1800ac77c
cmp qword [0x1802f0c78], 0
jne 0x1800ac77c
xor eax, eax
lea r8, [0x1800ac600]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
mov qword [0x1802f0c78], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
add rsp, 0x38
ret
Function at 0x1800ac790
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov edi, r8d
mov r8, rcx
mov ebx, edx
lea rcx, str.127.0.0.1
mov edx, 0xff
mov esi, r9d
call fcn.1800ad7bc
xor eax, eax
lea r8, [0x1800ac600]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [0x1802e7f6c], ebx
mov dword [0x1802e7f70], edi
mov dword [rsp + 0x20], eax
mov dword [0x1802e7f74], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
or edx, 0xffffffff
mov qword [0x1802f0c78], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor al, al
add rsp, 0x30
pop rdi
ret

Function at 0x1800ac820
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x1800ac600]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
add rsp, 0x38
ret

Function at 0x1800adf58
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x1800adf82
call fcn.1800ad890
and dword [rax], 0
call fcn.1800ad870
mov ebx, reloc.WS2_32.dll_shutdown
mov dword [rax], ebx
call fcn.1800b32d8
mov eax, ebx
jmp 0x1800adfd2
test edx, 0xfffffff9
jne 0x1800adf65
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1800adfab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800ad8b0
call fcn.1800ad870
mov eax, dword [rax]
jmp 0x1800adfd2
test al, 0x10
jne 0x1800adfd0
test al, 1
je 0x1800adfd0
test bl, 2
je 0x1800adfd0
call fcn.1800ad890
mov dword [rax], 5
call fcn.1800ad870
mov dword [rax], select
jmp 0x1800adfa2
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1800ae798
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1800ae7ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800ae7b0
xor eax, eax
test eax, eax
je 0x1800ae7c0
mov ecx, eax
call fcn.1800ad8b0
or eax, 0xffffffff
jmp 0x1800ae7c2
xor eax, eax
add rsp, 0x28
ret
Function at 0x1800b272b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1802e4710]
jne 0x1800acfba
rol rcx, 0x10
test cx, 0xffff
jne 0x1800acfb6
repz ret
ror rcx, 0x10
jmp 0x1800b2684
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1802ed7a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1802ed898]
mov qword [rsp + 0x58], rax
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 0x1800b2709
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, [0x1802ed7a0]
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 0x1800b272b
mov rax, qword [rsp + 0x88]
mov qword [0x1802ed898], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1802ed838], rax
mov rax, qword [0x1802ed898]
mov qword [0x1802ed710], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1802ed820], rax
mov dword [0x1802ed700], 0xc0000409
mov dword [0x1802ed704], 1
mov rax, qword [0x1802e4710]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1802e4718]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1802ed798], eax
mov ecx, 1
call fcn.1800bbb50
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1802188e0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1802ed798], 0
jne 0x1800b27b2
mov ecx, 1
call fcn.1800bbb50
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret