joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180078d40
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov edi, 1
mov r14d, r15d
mov ebx, r15d
xor eax, eax
lock cmpxchg dword [0x1800a86fc], edi
je 0x180078d89
cmp rbx, 0x20
jae 0x180078d72
xor ecx, ecx
jmp 0x180078d74
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800a86fc], edi
jne 0x180078d68
cmp qword [0x1800a8778], r14
mov qword [rsp + 0x60], r13
je 0x180078f2b
mov ecx, dword [0x1800a8e3c]
mov ebx, r15d
test ecx, ecx
je 0x180078dc1
mov rdx, qword [0x1800a8e30]
mov rax, rdx
cmp qword [rax], r14
je 0x180078dcc
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180078db2
mov r14d, 4
jmp 0x180078f31
cmp ebx, 0xffffffff
je 0x180078dc1
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x180078e90
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180078660
mov r14d, eax
test eax, eax
jne 0x180078f31
xor edx, edx
mov ecx, ebx
call fcn.180078740
mov r14d, eax
cmp qword [rsp + 0x20], r15
je 0x180078e80
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180078e6c
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, eax
mov qword [rsp + 0x58], rsi
nop dword [rax]
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180078e58
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x180078e30
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800a8778]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x180078f31
mov rdx, qword [0x1800a8e30]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.180077b00
mov edx, dword [0x1800a8e3c]
dec edx
cmp ebx, edx
jae 0x180078edf
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x1800a8e30]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rax + r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rax + r13 + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rax + r13 + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rax + r13 + 0x30], xmm1
mov ecx, dword [0x1800a8e38]
mov eax, ecx
mov dword [0x1800a8e3c], edx
shr eax, 1
cmp eax, 0x20
jb 0x180078f31
cmp eax, edx
jb 0x180078f31
mov r8, qword [0x1800a8e30]
mov eax, ecx
mov rcx, qword [0x1800a8778]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x180078f31
shr dword [0x1800a8e38], 1
mov qword [0x1800a8e30], rax
jmp 0x180078f31
mov r14d, 2
xchg dword [0x1800a86fc], r15d
mov r13, qword [rsp + 0x60]
mov eax, r14d
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x180078f50
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x1800a86fc], ebp
je 0x180078fa7
cmp rbx, 0x20
jae 0x180078f90
xor ecx, ecx
jmp 0x180078f92
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800a86fc], ebp
jne 0x180078f86
cmp qword [0x1800a8778], r15
je 0x1800790a1
test rdi, rdi
jne 0x180078fc7
mov ecx, esi
call fcn.180078870
mov edi, eax
jmp 0x1800790a6
mov ecx, dword [0x1800a8e3c]
mov ebx, r15d
test ecx, ecx
je 0x180078fef
mov rdx, qword [0x1800a8e30]
mov rax, rdx
nop
cmp rdi, qword [rax]
je 0x180078ff9
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180078fe0
mov edi, 4
jmp 0x1800790a6
cmp ebx, 0xffffffff
je 0x180078fef
mov eax, ebx
imul rcx, rax, 0x38
movzx eax, byte [rcx + rdx + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x180079098
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180078660
mov edi, eax
test eax, eax
jne 0x1800790a6
mov edx, esi
mov ecx, ebx
call fcn.180078740
mov edi, eax
cmp qword [rsp + 0x20], r15
je 0x1800790a6
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180079082
mov rbx, qword [rsp + 0x20]
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180079078
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180079050
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800a8778]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800790a6
neg esi
sbb edi, edi
add edi, 6
jmp 0x1800790a6
mov edi, 2
xchg dword [0x1800a86fc], r15d
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
Function at 0x18007956c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800795a6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800795ab
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800795f4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18007f960]
cmp byte [rcx + rax], 0
je 0x1800795f4
dec r8
sub rdx, 1
jne 0x1800795da
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x180b75058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180b751df
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 0x180b75089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180b7506f
add dl, dl
jne 0x180b75096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180b750f6
xor eax, eax
add dl, dl
jne 0x180b750a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180b751ad
add dl, dl
jne 0x180b750b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180b750c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180b750d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180b750dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180b750ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180b7507e
mov eax, 1
add dl, dl
jne 0x180b75106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180b75113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180b750fb
sub eax, ebx
mov ebx, 1
jne 0x180b7514c
mov ecx, 1
add dl, dl
jne 0x180b7512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180b7513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180b75123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180b7507e
dec eax
shl eax, 8
loopne 0x180b75159
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180b75168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180b75175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180b7515d
cmp eax, 0x7d00
jae 0x180b7519b
cmp eax, 0x500
jb 0x180b75196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180b7507e
cmp eax, 0x7f
ja 0x180b7519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180b7507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180b751d2
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 0x180b7507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140858058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1408581df
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 0x140858089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14085806f
add dl, dl
jne 0x140858096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408580f6
xor eax, eax
add dl, dl
jne 0x1408580a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408581ad
add dl, dl
jne 0x1408580b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408580c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408580d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408580dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408580ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14085807e
mov eax, 1
add dl, dl
jne 0x140858106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140858113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408580fb
sub eax, ebx
mov ebx, 1
jne 0x14085814c
mov ecx, 1
add dl, dl
jne 0x14085812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14085813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140858123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14085807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140858168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140858175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14085815d
cmp eax, 0x7d00
jae 0x14085819b
cmp eax, 0x500
jb 0x140858196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14085807e
cmp eax, 0x7f
ja 0x14085819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14085807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408581d2
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 0x14085807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000ab40
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14000ab4d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14000ab5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14000ab45
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14000ab75
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14000ab62
sub eax, 3
jb 0x14000ab8f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14000abc6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14000abb6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14000abb4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14000aba3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14000ab02
jmp 0x14000ab4d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2a00
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14000ac12
cmp rsi, rcx
jae 0x14000ac1a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14000abf9
cmp al, 0x8f
ja 0x14000abf9
cmp byte [rsi - 2], 0xf
je 0x14000abff
sub al, 0xe8
cmp al, 1
ja 0x14000abe3
cmp rsi, rcx
jae 0x14000ac1a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14000abe9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14000ac1a
lodsb al, byte [rsi]
jmp 0x14000abf9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x8000]
mov eax, dword [rdi]
or eax, eax
je 0x14000ac77
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xa754]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14000ac27
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14000ac71
mov qword [rbx], rax
add rbx, 8
jmp 0x14000ac47
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14000acb1
cmp al, 0xef
ja 0x14000aca3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14000ac83
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14000ac92
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x21f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14000ad05
sub rsp, 0xffffffffffffff80
jmp 0x140002c64
Function at 0x14007eb30
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14007eb3d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14007eb4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14007eb35
lea eax, [rcx + 1]
jmp 0x14007eb5b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14007eb6e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14007eb54
sub eax, 3
jb 0x14007eb8e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14007ebdd
sar eax, 1
movsxd rbp, eax
jb 0x14007ebc4
jmp 0x14007eb9c
add ebx, ebx
jne 0x14007eb9a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14007ebc4
inc ecx
add ebx, ebx
jne 0x14007ebaa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14007ebc4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14007ebbd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14007ebac
add ecx, 2
jmp 0x14007ebc9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14007eaf2
jmp 0x14007eb3d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28800
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14007ec29
cmp rsi, rcx
jae 0x14007ec31
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14007ec10
cmp al, 0x8f
ja 0x14007ec10
cmp byte [rsi - 2], 0xf
je 0x14007ec16
sub al, 0xe8
cmp al, 1
ja 0x14007ebfa
cmp rsi, rcx
jae 0x14007ec31
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14007ec00
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14007ec31
lodsb al, byte [rsi]
jmp 0x14007ec10
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x7c000]
mov eax, dword [rdi]
or eax, eax
je 0x14007ec9a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xa7288]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14007ec3e
jns 0x14007ec73
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14007ec7d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14007ec94
mov qword [rbx], rax
add rbx, 8
jmp 0x14007ec5e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14007ecd4
cmp al, 0xef
ja 0x14007ecc6
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14007eca6
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14007ecb5
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14007ed28
sub rsp, 0xffffffffffffff80
jmp 0x14000b310
Function at 0x180010490
Capabilities:
Enumerate services
Query or enumerate registry key

Disassembly:
mov rax, rsp
sub rsp, 0xe8
movsd xmm0, qword [0x1800b3848]
ucomisd xmm0, qword [0x18009a590]
jp 0x1800106eb
jne 0x1800106eb
cvttsd2si rdx, qword [0x1800b3870]
mov qword [rax - 8], rbx
lea rcx, [rsp + 0x30]
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm11
call fcn.18002f2f0
cvttsd2si rdx, qword [0x1800b3878]
lea rcx, [rsp + 0x50]
mov rbx, rax
call fcn.18002f2d0
movsd xmm1, qword [0x180099a98]
mov r8, rax
mov r9d, 0x1f27b72c
mov qword [rsp + 0x20], rbx
mov ecx, 0x1ba081a
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
cvttsd2si rdx, qword [0x1800b3878]
lea rcx, [rsp + 0x70]
movsd xmm11, qword [0x18009a088]
movd xmm0, eax
movaps xmm6, xmm11
cvtdq2pd xmm0, xmm0
divsd xmm6, xmm0
call fcn.18002f2f0
lea rcx, [rsp + 0x90]
mov rbx, rax
cvttsd2si rdx, qword [0x1800b3848]
call fcn.18002f2d0
cvttsd2si r8d, qword [0x1800b3910]
mov r9, rax
mov qword [rsp + 0x20], rbx
cvttsd2si edx, qword [0x1800b3878]
movsd xmm0, qword [0x18009a130]
call qword [sym.imp.ADVAPI32.dll_IsTextUnicode]
movsd xmm1, qword [0x180098980]
mov ecx, 0x317371a9
movaps xmm7, xmm0
mulsd xmm7, xmm6
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
mov ecx, 0x85c3f83
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm7, xmm0
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
movsd xmm0, qword [0x180099b08]
lea rcx, [rsp + 0x90]
cvttsd2si rdx, qword [0x1800b3870]
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
mulsd xmm2, xmm7
subsd xmm0, xmm2
movsd qword [0x1800b3848], xmm0
call fcn.18002f2f0
cvttsd2si rdx, qword [0x1800b3878]
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.18002f2d0
movsd xmm1, qword [0x180099a98]
mov r8, rax
mov r9d, 0x1f27b72c
mov qword [rsp + 0x20], rbx
mov ecx, 0x1ba081a
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
cvttsd2si rdx, qword [0x1800b3878]
lea rcx, [rsp + 0x50]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm11, xmm1
call fcn.18002f2f0
lea rcx, [rsp + 0x30]
mov rbx, rax
cvttsd2si rdx, qword [0x1800b3848]
call fcn.18002f2d0
cvttsd2si r8d, qword [0x1800b3910]
mov r9, rax
mov qword [rsp + 0x20], rbx
cvttsd2si edx, qword [0x1800b3878]
movsd xmm0, qword [0x18009a130]
call qword [sym.imp.ADVAPI32.dll_IsTextUnicode]
movaps xmm6, xmm0
movsd xmm1, qword [0x180098980]
mov ecx, 0x317371a9
mulsd xmm6, xmm11
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
mov ecx, 0x85c3f83
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm6, xmm1
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
movsd xmm0, qword [0x180099390]
xorps xmm1, xmm1
movaps xmm11, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
mov rbx, qword [rsp + 0xe0]
cvtsi2sd xmm1, rax
mulsd xmm1, xmm6
movaps xmm6, xmmword [rsp + 0xd0]
subsd xmm0, xmm1
movsd qword [0x1800b37e8], xmm0
add rsp, 0xe8
ret
Function at 0x180011c70
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
sub rsp, 0x110
movsd xmm0, qword [0x1800b3878]
mov esi, 0x3e029
movaps xmmword [rax - 0x38], xmm8
movsd xmm8, qword [0x18009a360]
ucomisd xmm0, xmm8
jp 0x180011e0f
jne 0x180011e0f
movaps xmmword [rax - 0x48], xmm9
movsd xmm9, qword [0x180098898]
movaps xmmword [rax - 0x58], xmm10
movsd xmm10, qword [0x1800996a8]
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
cmp esi, 0x3e02a
jge 0x180011ddd
cvttsd2si rdx, qword [0x1800b3910]
lea rcx, [rsp + 0x20]
call fcn.18002f2d0
cvttsd2si rdx, qword [0x1800b3848]
lea rcx, [rsp + 0x40]
mov rbx, rax
call fcn.18002f2f0
cvttsd2si ecx, qword [0x1800b3848]
mov rdx, rax
mov r8, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceLockStatusW]
lea rdx, str.oyke
lea rcx, [rsp + 0x60]
movd xmm6, eax
cvtdq2pd xmm6, xmm6
call fcn.18000a440
mov r8, rax
mov edx, 0x34523388
cvttsd2si ecx, qword [0x1800b3878]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xorps xmm7, xmm7
cvtsi2sd xmm7, rax
mulsd xmm7, xmm9
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cvttsd2si rdx, qword [0x1800b3848]
lea rcx, [rsp + 0x80]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm7, xmm0
mulsd xmm7, xmm6
call fcn.18002f2f0
cvttsd2si rdx, qword [0x1800b3870]
lea rcx, [rsp + 0xa0]
mov rbx, rax
cvttsd2si rdi, qword [0x1800b3848]
call fcn.18002f2d0
mov rcx, rax
mov r8, rbx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
divsd xmm7, xmm0
inc esi
movsd xmm0, qword [0x1800b3878]
ucomisd xmm0, xmm8
addsd xmm7, xmm10
movsd qword [0x1800b3848], xmm7
jp 0x180011ddd
je 0x180011cd3
mov rdi, qword [rsp + 0x128]
movaps xmm7, xmmword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0x100]
mov rbx, qword [rsp + 0x120]
movaps xmm9, xmmword [rsp + 0xd0]
movaps xmm10, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xe0]
add rsp, 0x110
pop rsi
ret
Function at 0x180021b70
Capabilities:
Enumerate services
Start service

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xf0
movsd xmm0, qword [0x1800b3910]
mov edi, 0x4374d
movaps xmmword [rax - 0x38], xmm8
movsd xmm8, qword [0x18009a4f8]
ucomisd xmm0, xmm8
jp 0x180021ccf
jne 0x180021ccf
movaps xmmword [rax - 0x48], xmm9
movsd xmm9, qword [0x180098800]
movaps xmmword [rax - 0x58], xmm10
movsd xmm10, qword [0x18009a188]
mov qword [rax + 8], rbx
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
nop
cmp edi, 0x4374e
jge 0x180021ca5
lea rdx, str.kuevi
lea rcx, [rsp + 0x20]
call fcn.18000a440
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_InitializeAcl]
movaps xmm6, xmm9
mov ecx, 0x257ddaf0
divsd xmm6, xmm0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cvttsd2si rdx, qword [0x1800b3878]
lea rcx, [rsp + 0x40]
movd xmm7, eax
cvtdq2pd xmm7, xmm7
mulsd xmm7, xmm6
call fcn.18002f2f0
mov rcx, rax
mov edx, 0x2b45eedc
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
lea rdx, str.Yidepulukyuzyu
lea rcx, [rsp + 0x60]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm7, xmm0
call fcn.1800090b0
lea rcx, [rsp + 0x80]
mov rbx, rax
cvttsd2si rdx, qword [0x1800b3848]
call fcn.18002f2d0
mov rcx, rax
mov r8, rbx
mov edx, 0x32a058b3
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
mulsd xmm0, xmm7
inc edi
addsd xmm0, xmm10
movsd qword [0x1800b3848], xmm0
movsd xmm0, qword [0x1800b3910]
ucomisd xmm0, xmm8
jp 0x180021ca5
je 0x180021bd0
movaps xmm6, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xd0]
mov rbx, qword [rsp + 0x100]
movaps xmm9, xmmword [rsp + 0xb0]
movaps xmm10, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xc0]
add rsp, 0xf0
pop rdi
ret