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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400e9180]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
xor esi, esi
lea ecx, [rsi + 0x20]
call fcn.140064560
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14002d9b0]
xor edx, edx
xor ecx, ecx
call fcn.14009d9b4
mov qword [rdi], rax
test rax, rax
je 0x14002d753
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140064540
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], esi
mov ecx, 6
call fcn.14006680c
int3

Function at 0x14002d760
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400e9180]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
xor esi, esi
lea ecx, [rsi + 0x28]
call fcn.140064560
mov rcx, qword [rbx]
mov qword [rax], rcx
xorps xmm0, xmm0
movups xmmword [rax + 8], xmm0
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rsi
movups xmm0, xmmword [rbx + 8]
movups xmmword [rax + 8], xmm0
movups xmm1, xmmword [rbx + 0x18]
movups xmmword [rax + 0x18], xmm1
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], 7
mov word [rbx + 8], si
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14002da90]
xor edx, edx
xor ecx, ecx
call fcn.14009d9b4
mov qword [rdi], rax
test rax, rax
je 0x14002d80d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140064540
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], esi
mov ecx, 6
call fcn.14006680c
int3
Function at 0x140033350
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 8], rcx
xor r8d, r8d
mov byte [rbp - 0x60], r8b
mov byte [rbp - 0x5f], 0x6e
mov byte [rbp - 0x5e], 0x33
mov byte [rbp - 0x5d], 0x54
mov byte [rbp - 0x5c], 0x33
mov byte [rbp - 0x5b], 0x57
mov byte [rbp - 0x5a], 0x33
mov byte [rbp - 0x59], 0x49
mov byte [rbp - 0x58], 0x33
mov byte [rbp - 0x57], 0x14
mov byte [rbp - 0x56], 0x33
mov byte [rbp - 0x55], 0x12
mov byte [rbp - 0x54], 0x33
mov byte [rbp - 0x53], 0x1b
mov byte [rbp - 0x52], 0x33
mov byte [rbp - 0x51], 0x7a
mov byte [rbp - 0x50], 0x33
mov byte [rbp - 0x4f], 0x45
mov byte [rbp - 0x4e], 0x33
mov byte [rbp - 0x4d], 0x12
mov byte [rbp - 0x4c], 0x33
mov byte [rbp - 0x4b], 0x45
mov byte [rbp - 0x4a], 0x33
mov byte [rbp - 0x49], 0x57
mov byte [rbp - 0x48], 0x33
mov byte [rbp - 0x47], 0x50
mov byte [rbp - 0x46], 0x33
mov byte [rbp - 0x45], 0x7a
mov byte [rbp - 0x44], 0x33
mov byte [rbp - 0x43], 0x53
mov byte [rbp - 0x42], 0x33
mov byte [rbp - 0x41], 0x57
mov byte [rbp - 0x40], 0x33
mov byte [rbp - 0x3f], 0x45
mov byte [rbp - 0x3e], 0x33
mov byte [rbp - 0x3d], 0x1e
mov byte [rbp - 0x3c], 0x33
mov byte [rbp - 0x3b], 0x55
mov byte [rbp - 0x3a], 0x33
mov byte [rbp - 0x39], 0x4c
mov byte [rbp - 0x38], 0x33
mov byte [rbp - 0x37], 0x5a
mov byte [rbp - 0x36], 0x33
mov byte [rbp - 0x35], 0x4c
mov byte [rbp - 0x34], 0x33
mov byte [rbp - 0x33], 0x33
mov byte [rbp - 0x32], 0x33
movzx eax, byte [rbp - 0x5f]
movzx eax, byte [rbp - 0x60]
test al, al
jne 0x140033494
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rbp + r8 - 0x5f]
mov eax, 0x33
sub eax, ecx
lea ecx, [rax + rax*8]
shl ecx, 2
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
add ecx, 0x7f
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + r8 - 0x5f], cl
inc r8
cmp r8, 0x2e
jb 0x140033440
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
lea rax, [rbp - 0x5f]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400334b0
lea rdx, [rbp - 0x5f]
lea rcx, [rbp - 0x28]
call fcn.140028870
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.14003c270
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140033512
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003350d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033526
call fcn.14006459c
mov rax, rbx
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rbp
ret
call fcn.1400987f4
int3
Function at 0x14003ef10
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1400e9180]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r14, r9
mov r15, r8
mov rsi, rdx
mov rdi, rcx
xor r12d, r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rax
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x78]
call fcn.14003f180
nop
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
sub rax, rbx
cmp rax, r14
jne 0x14003ef91
mov r8, r14
mov rdx, rbx
mov rcx, r15
call fcn.14008cbe0
test eax, eax
je 0x14003f0fb
mov rcx, rdi
call fcn.14003ecb0
mov rbp, rax
test rax, rax
je 0x14003f0fb
mov r8, rdi
mov r10, qword [rdi + 0x18]
cmp r10, 8
jb 0x14003efb5
mov r8, qword [rdi]
mov rdx, qword [rdi + 0x10]
mov r9, 0xffffffffffffffff
test rdx, rdx
je 0x14003efe4
mov rcx, rdx
mov rax, r8
nop dword [rax + rax]
cmp word [rax], 0x5c
je 0x14003f156
add rax, 2
sub rcx, 1
jne 0x14003efd0
mov rax, r9
inc rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
cmp rdx, rax
jb 0x14003f170
sub rdx, rax
cmp rdx, r9
cmovb r9, rdx
cmp r10, 8
jb 0x14003f017
mov rdi, qword [rdi]
lea rdx, [rdi + rax*2]
mov r8, r9
lea rcx, [rsp + 0x58]
call fcn.140028870
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2011f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14003f0a5
cmp qword [rsi + 0x18], 8
jb 0x14003f077
mov rsi, qword [rsi]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r15
mov r9d, dword [rsp + 0x100]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14003f0e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f0e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f176
call fcn.14006459c
movdqa xmm0, xmmword [0x1400d9330]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
test rbx, rbx
je 0x14003f134
mov rdx, qword [rsp + 0x88]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003f12c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f16a
mov rcx, rbx
call fcn.14006459c
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140064540
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
test rax, rax
je 0x14003efe4
sub rax, r8
sar rax, 1
jmp 0x14003efe7
call fcn.1400987f4
nop
call fcn.140028550
int3
call fcn.1400987f4
int3
Function at 0x14003f940
Capabilities:
Encrypt data using curve25519
Generate random numbers via winapi
Hash data using sha256

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7e8]
sub rsp, 0x8e8
mov rax, qword [0x1400e9180]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov rbx, r9
mov r15d, r8d
mov rsi, rdx
mov r14, rcx
mov r9d, 2
lea r8d, [r9 + 0x1e]
lea rdx, [rbp + 0x790]
xor ecx, ecx
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
and byte [rbp + 0x790], 0xf8
movzx eax, byte [rbp + 0x7af]
and al, 0x3f
or al, 0x40
mov byte [rbp + 0x7af], al
lea rdx, [rbp + 0x790]
lea rcx, [rsi + 0x18]
call fcn.1400477a0
mov r8, rbx
lea rdx, [rbp + 0x790]
lea rcx, [rbp + 0x7b0]
call fcn.140047740
movups xmm1, xmmword [0x1400d8590]
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [0x1400d85a0]
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x30], xmm1
movaps xmmword [rbp + 0x40], xmm0
xor r12d, r12d
mov qword [rbp + 0x50], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
movups xmmword [rbp + 0x88], xmm0
mov word [rbp + 0x98], r12w
mov byte [rbp + 0x9a], r12b
mov byte [rbp + 0xa0], r12b
lea r8d, [r12 + 0x20]
lea rdx, [rbp + 0x7b0]
lea rcx, [rbp + 0x10]
call fcn.140006a70
lea r8d, [r12 + 0x20]
lea rdx, [rsi + 0x18]
lea rcx, [rbp + 0x10]
call fcn.140006a70
lea r8d, [r12 + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.140006a70
lea r8, [rbp + 0x7b0]
lea rcx, [rbp + 0x10]
call fcn.1400080b0
lea r9d, [r12 + 2]
lea r8d, [r12 + 0x18]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
xor edx, edx
mov r8d, 0xd8
lea rcx, [rsp + 0x30]
call fcn.14008c700
mov dl, 1
lea rcx, [rsp + 0x38]
call fcn.140049e90
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.140049e90
movdqa xmm0, xmmword [0x1400d9320]
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
movdqa xmm0, xmmword [0x1400d9350]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x1f], 1
lea rax, [rsp + 0x78]
and eax, 0xf
lea rcx, [rsp + 0x78]
add rax, rcx
mov qword [rbp - 8], rax
mov dword [rbp], r12d
mov dword [rbp + 4], 0x14
lea rax, [0x1400d8f98]
mov qword [rsp + 0x30], rax
lea r13, [0x1400d9120]
mov qword [rsp + 0x38], r13
lea r12, [0x1400d91a8]
mov qword [rsp + 0x40], r12
lea rbx, [0x1400d9210]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x20], 0x18
mov r9, rsi
mov r8d, 0x20
lea rdx, [rbp + 0x7b0]
lea rcx, [rsp + 0x30]
call fcn.14004c320
mov r9d, r15d
mov r8, r14
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.14004d2e0
lea rdi, [rbp + 0x790]
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
lea rdi, [rbp + 0x7b0]
mov ecx, 0x20
rep stosb byte [rdi], al
lea rax, [0x1400d8f98]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x30]
call fcn.14003fce0
mov eax, r15d
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.140064540
add rsp, 0x8e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140043410
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x1400e9180]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x30], rsp
mov rbx, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r15, rax
test rax, rax
je 0x140043636
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x140043636
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x140043636
mov ecx, dword [rsp + 0x80]
call fcn.14009dac0
mov r14, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140043636
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x80]
mov r8, r14
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x14004350d
lea rdx, [0x140043636]
mov rcx, rsp
call fcn.1400983b8
xor edi, edi
mov dword [rsp + 0x38], edi
cmp edi, dword [rsp + 0x84]
jae 0x14004362e
lea rcx, [rdi + rdi*2]
add rcx, rcx
movups xmm0, xmmword [r14 + rcx*8 + 0x10]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [r14 + rcx*8 + 0x20]
movups xmmword [rsp + 0x70], xmm1
mov r8d, 0x24
mov rdx, qword [r14 + rcx*8]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14004356f
lea rdx, [0x140043636]
mov rcx, qword [rsp + 0x30]
call fcn.1400983b8
nop
lea r8, [rsp + 0x88]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1400435a0
lea rdx, [0x140043636]
mov rcx, qword [rsp + 0x30]
call fcn.1400983b8
nop word [rax + rax]
cmp dword [rsp + 0x8c], 1
je 0x14004361e
mov ecx, dword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x1400435f2
lea rdx, [0x140043636]
mov rcx, qword [rsp + 0x30]
call fcn.1400983b8
cmp dword [rsp + 0x8c], 1
je 0x14004361e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x7530
jbe 0x14004361c
lea rdx, [0x140043636]
mov rcx, qword [rsp + 0x30]
call fcn.1400983b8
jmp 0x1400435a0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
inc edi
jmp 0x14004350f
mov rcx, r14
call fcn.14009d574
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140064540
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140043660
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x80
mov rax, qword [0x1400e9180]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], rsp
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400438a1
cmp qword [rbx + 0x18], 8
jb 0x1400436c2
mov rbx, qword [rbx]
mov r8d, 0x2c
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140043898
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14004371a
lea rdx, [0x1400438a1]
mov rcx, qword [rsp + 0x30]
call fcn.1400983b8
mov eax, dword [rsp + 0x54]
cmp eax, 1
jne 0x140043734
lea rdx, [0x1400438a1]
mov rcx, qword [rsp + 0x30]
call fcn.1400983b8
mov r14d, 0x2710
nop word [rax + rax]
cmp eax, 3
jne 0x1400437e9
mov eax, 0xcccccccd
mul dword [rsp + 0x68]
shr edx, 3
cmp edx, 0x3e8
jae 0x140043764
mov edx, 0x3e8
jmp 0x14004376b
cmp edx, r14d
cmova edx, r14d
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x1400437a8
lea rdx, [0x1400438a1]
mov rcx, qword [rsp + 0x30]
call fcn.1400983b8
cmp dword [rsp + 0x54], 1
jne 0x1400437c0
lea rdx, [0x1400438a1]
mov rcx, qword [rsp + 0x30]
call fcn.1400983b8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x7530
jbe 0x1400437e0
lea rdx, [0x1400438a1]
mov rcx, qword [rsp + 0x30]
call fcn.1400983b8
mov eax, dword [rsp + 0x54]
jmp 0x140043740
mov rcx, rbx
call fcn.140043410
lea r8, [rsp + 0x50]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140043820
lea rdx, [0x1400438a1]
mov rcx, qword [rsp + 0x30]
call fcn.1400983b8
nop dword [rax]
cmp dword [rsp + 0x54], 1
je 0x14004388f
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140043866
lea rdx, [0x1400438a1]
mov rcx, qword [rsp + 0x30]
call fcn.1400983b8
cmp dword [rsp + 0x54], 1
je 0x14004388f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x7530
jbe 0x14004388d
lea rdx, [0x1400438a1]
mov rcx, qword [rsp + 0x30]
call fcn.1400983b8
jmp 0x140043820
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140064540
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400468e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400e9180]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.140064560
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140046c10]
xor edx, edx
xor ecx, ecx
call fcn.14009d9b4
mov qword [rbx], rax
test rax, rax
je 0x140046952
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140064540
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call fcn.14006680c
int3
Function at 0x14005d210
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rdx
test r9, r9
je 0x14005d3b4
cmp r9, 4
jb 0x14005d25a
mov rdx, r9
shr rdx, 2
imul rax, rdx, 0xfffffffffffffffc
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [r10]
add r10, 4
xor eax, dword [r8]
add r8, 4
mov dword [rcx], eax
add rcx, 4
sub rdx, 1
jne 0x14005d240
xor r11d, r11d
test r9, r9
je 0x14005d3b4
cmp r9, 8
jb 0x14005d38e
lea rdx, [rcx - 1]
lea rax, [r8 - 1]
add rdx, r9
add rax, r9
cmp rcx, rax
ja 0x14005d28c
cmp rdx, r8
jae 0x14005d38e
lea rax, [r10 - 1]
add rax, r9
cmp rcx, rax
ja 0x14005d2a1
cmp rdx, r10
jae 0x14005d38e
mov rdx, r10
mov qword [rsp + 0x10], rbx
sub rdx, r8
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x14005d34b
mov rdi, r9
mov qword [rsp + 0x18], rsi
and edi, 0x3f
mov rsi, r9
sub rsi, rdi
mov rbx, rcx
lea rax, [r8 + 0x10]
sub rbx, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r11, 0x40
movdqu xmm1, xmmword [rdx + rax - 0x10]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rdx + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rdx + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp r11, rsi
jb 0x14005d2e0
mov rsi, qword [rsp + 0x18]
cmp rdi, 8
jb 0x14005d380
mov rbx, r9
and rbx, 0xfffffffffffffff8
mov rdi, rcx
lea rax, [r11 + r8]
sub rdi, r8
nop dword [rax]
movq xmm1, qword [rax + rdx]
add r11, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
pxor xmm1, xmm0
movq qword [rax + rdi - 8], xmm1
cmp r11, rbx
jb 0x14005d360
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r11, r9
jae 0x14005d3b4
sub r10, r8
lea rdx, [r11 + r8]
sub rcx, r8
sub r9, r11
nop dword [rax + rax]
movzx eax, byte [rdx + r10]
xor al, byte [rdx]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
sub r9, 1
jne 0x14005d3a0
add rsp, 8
ret

Function at 0x1400654e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006552e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006552e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006552e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006552e
cmp dword [rcx + 0x84], 0xe
jbe 0x14006552e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140065530
xor al, al
add rsp, 0x28
ret

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

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14006ceda
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14006cebd
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14006cea8
Function at 0x1400814f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
xor r8d, r8d
movabs rax, 0xcbf29ce484222325
test r9, r9
je 0x14003ec94
movabs r10, 0x100000001b3
movzx edx, byte [r8 + rcx]
inc r8
xor rax, rdx
imul rax, r10
cmp r8, r9
jb 0x14003ec80
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14003ec60

Function at 0x1400a09e8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a07d8
Function at 0x1400b1bf0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400b1c20
xor eax, eax
jmp 0x1400b1ce3
mov rbp, rbx
cmp word [rax], si
je 0x1400b1c45
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400b1c2c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400b1c28
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400afeec
movsxd r14, eax
test eax, eax
jne 0x1400b1c83
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400b1c19
mov rcx, r14
call fcn.1400ac9ec
mov rdi, rax
test rax, rax
jne 0x1400b1c9c
xor ecx, ecx
call fcn.1400ac9b0
jmp 0x1400b1c78
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400afeec
test eax, eax
jne 0x1400b1ccd
mov rcx, rdi
call fcn.1400ac9b0
jmp 0x1400b1cd7
xor ecx, ecx
call fcn.1400ac9b0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400b1d00
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400b1d87
mov rsi, rbx
cmp word [rax], bp
je 0x1400b1d46
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400b1d30
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400b1d2c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400ac9ec
mov rdi, rax
test rax, rax
je 0x1400b1d74
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14008c050
mov rbp, rdi
xor ecx, ecx
call fcn.1400ac9b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bbb00
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400bbb28
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400bbb28
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret