joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1802b67a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
cmp rbx, 0x20
jb 0x1802b687d
mov rdx, qword [rcx + 8]
mov r9, qword [rcx + 0x18]
mov rax, rdx
mov r8, qword [rcx + 0x10]
mov r11, r9
mov r10, qword [rcx + 0x20]
rol r11, 0xc
rol rax, 1
add r11, rax
mov qword [rsp + 0x30], rsi
movabs rsi, 0x9e3779b185ebca87
mov qword [rsp + 0x38], rdi
movabs rdi, 0xc2b2ae3d27d4eb4f
mov rax, r8
rol rax, 7
add r11, rax
mov rax, r10
imul rdx, rdi
imul r8, rdi
imul r10, rdi
imul r9, rdi
mov rdi, qword [rsp + 0x38]
rol rax, 0x12
add r11, rax
rol rdx, 0x1f
imul rdx, rsi
movabs rax, 0x7a1435883d4d519d
rol r8, 0x1f
xor r11, rdx
rol r10, 0x1f
imul r11, rsi
imul r8, rsi
imul r10, rsi
sub r11, rax
rol r9, 0x1f
xor r11, r8
imul r11, rsi
imul r9, rsi
sub r11, rax
xor r11, r9
imul r11, rsi
sub r11, rax
xor r11, r10
movabs r10, 0x85ebca77c2b2ae63
imul r11, rsi
mov rsi, qword [rsp + 0x30]
add r10, r11
jmp 0x1802b688e
mov r10, qword [rcx + 0x18]
movabs rdx, 0x27d4eb2f165667c5
add r10, rdx
add r10, rbx
lea rdx, [rcx + 0x28]
mov rcx, r10
xor r9d, r9d
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.1802b66a0
Function at 0x1803316c0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 8], 0xfffffffffffffffe
lea rcx, [0x180403335]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x180331723
mov rdi, rax
lea rdx, [0x180403356]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x180331723
mov rsi, rax
lea rdx, [0x180403364]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x180331723
mov r14, rax
xor ebx, ebx
jmp 0x1803317a9
lea rcx, [0x1804032f0]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x180331816
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x180331816
mov rdi, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x180331816
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x180331816
mov rsi, rax
lea rcx, [rbp - 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x180331816
mov r14, qword [rbp - 0x20]
movzx eax, byte [0x1804af301]
mov ecx, 0x18
mov edx, 8
call fcn.18005c260
test rax, rax
je 0x18033181b
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x1804afa88], rdi
je 0x180331808
mov rsi, rax
cmp qword [rdi], 0
je 0x1803317f2
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.18005c270
mov rdi, rsi
mov rax, rdi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
call fcn.180331690
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rbx
mov ecx, 8
mov edx, 0x18
call fcn.180337690
ud2
Function at 0x14000c980
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000c9cc
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000c9c4
cmp dword [rcx + 0x3c], edx
jl 0x14000c9c4
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000c9c4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000c9cc
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1400246f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400e8180]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, rdx
mov r14d, r8d
mov rdi, rdx
mov dword [rsp + 0x38], r14d
cqo
mov byte [rsp + 0x30], 0
idiv r14
mov r15, rcx
mov r12d, r8d
mov r13, rax
xor ebx, ebx
mov eax, r8d
mov esi, ebx
shl eax, 0x11
mov dword [rsp + 0x34], eax
lea ecx, [rax + 0x38]
call fcn.1400615d0
lea r9, [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov r8d, 0x20000
mov qword [rsp + 0x20], rbx
mov rdx, rax
mov rcx, r15
mov rbp, rax
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x1400247e9
cmp dword [rsp + 0x48], 0x20000
jne 0x1400247e9
inc rsi
lea ecx, [r14 - 1]
add rbp, 0x20000
cmp rsi, rcx
jne 0x140024798
lea rdx, [rdi - 0x20000]
jmp 0x1400247a6
cmp rsi, r12
je 0x1400247d7
mov rdx, r13
imul rdx, rsi
mov edx, edx
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov r8d, 0x20000
mov rdx, rbp
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x140024772
jmp 0x1400247e9
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
mov r8d, dword [rsp + 0x34]
lea r9, [0x1400fea58]
mov r14, qword [rsp + 0x40]
mov ebp, 0x20000
mov rcx, r14
mov esi, r8d
lea rdx, [r8 + r14]
call fcn.14003c5f0
lea ecx, [rax + 0x38]
lea rax, [rsi + 0x38]
cmp rcx, rax
jne 0x1400248db
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov r8d, ebp
mov rdx, r14
mov rcx, r15
mov rsi, rbx
call qword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x1400248a6
nop
cmp dword [rsp + 0x48], ebp
jne 0x1400248a1
mov ecx, dword [rsp + 0x38]
inc rsi
add r14, 0x20000
dec ecx
cmp rsi, rcx
jne 0x140024867
lea rdx, [rdi - 0x20000]
add ebp, 0x38
jmp 0x140024875
cmp rsi, r12
je 0x1400248a1
mov rdx, r13
imul rdx, rsi
mov edx, edx
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov r8d, ebp
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x140024840
mov r14, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
mov r8d, 0x78
lea rdx, [0x1400fe9e0]
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov ecx, dword [rsp + 0x30]
mov edx, 1
test eax, eax
movzx ecx, cl
cmovne ecx, edx
mov dword [rsp + 0x30], ecx
mov rcx, r14
call fcn.14006127c
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140061220
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002a9d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400e8180]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor ebp, ebp
mov rdx, qword [rcx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, 1
jb 0x14002ac27
cmp qword [rcx + 0x18], 8
jb 0x14002aa20
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 1
lea rax, [0x1400d7618]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea rcx, [rsp + 0x40]
call fcn.1400297d0
nop
lea r9, [0x1400f9638]
cmp qword [0x1400f9650], 8
cmovae r9, qword [0x1400f9638]
mov rdi, qword [0x1400f9648]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x14002aab2
lea rax, [rsi + rdi]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x40]
lea rcx, [rbx + rsi*2]
lea r8, [rdi + rdi]
mov rdx, r9
call fcn.140088d30
lea rax, [rsi + rdi]
mov word [rbx + rax*2], bp
lea rax, [rsp + 0x40]
jmp 0x14002aac7
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14002dbd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], 7
mov word [rax], bp
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14002ab3a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ab35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ac2d
call fcn.14006127c
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002abb7
lea rdx, [0x1400f9618]
cmp qword [0x1400f9630], 0x10
cmovae rdx, qword [0x1400f9618]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x60]
mov r8d, dword [0x1400f9628]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x14002abf8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002abf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ac21
call fcn.14006127c
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140061220
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400954d0
int3
call fcn.140021780
int3
call fcn.1400954d0
int3
Function at 0x14002b1b0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400e8180]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.1400893e0
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
dec eax
cmp eax, 0x103
ja 0x14002b2fc
lea rbx, [rsp + 0x50]
cmp word [rsp + 0x50], si
je 0x14002b2fc
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov r8d, 2
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140028840
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14002b28c
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x28], si
add qword [rdi + 8], 0x20
jmp 0x14002b29e
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14002d130
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14002b2d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b2d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b324
call fcn.14006127c
mov rax, 0xffffffffffffffff
nop
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x14002b2e0
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], 0
jmp 0x14002b234
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140061220
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1400954d0
int3
Function at 0x140030050
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 r9d, r9d
mov byte [rbp - 0x60], r9b
mov byte [rbp - 0x5f], 0x1d
mov byte [rbp - 0x5e], 0x6b
mov byte [rbp - 0x5d], 0x2c
mov byte [rbp - 0x5c], 0x6b
mov byte [rbp - 0x5b], 0x60
mov byte [rbp - 0x5a], 0x6b
mov byte [rbp - 0x59], 0x41
mov byte [rbp - 0x58], 0x6b
mov byte [rbp - 0x57], 0x78
mov byte [rbp - 0x56], 0x6b
mov byte [rbp - 0x55], 0x2b
mov byte [rbp - 0x54], 0x6b
mov byte [rbp - 0x53], 0x48
mov byte [rbp - 0x52], 0x6b
mov byte [rbp - 0x51], 0x6e
mov byte [rbp - 0x50], 0x6b
mov byte [rbp - 0x4f], 0x26
mov byte [rbp - 0x4e], 0x6b
mov byte [rbp - 0x4d], 0x2b
mov byte [rbp - 0x4c], 0x6b
mov byte [rbp - 0x4b], 0x26
mov byte [rbp - 0x4a], 0x6b
mov byte [rbp - 0x49], 0x60
mov byte [rbp - 0x48], 0x6b
mov byte [rbp - 0x47], 0x11
mov byte [rbp - 0x46], 0x6b
mov byte [rbp - 0x45], 0x6e
mov byte [rbp - 0x44], 0x6b
mov byte [rbp - 0x43], 0x45
mov byte [rbp - 0x42], 0x6b
mov byte [rbp - 0x41], 0x60
mov byte [rbp - 0x40], 0x6b
mov byte [rbp - 0x3f], 0x26
mov byte [rbp - 0x3e], 0x6b
mov byte [rbp - 0x3d], 0x7c
mov byte [rbp - 0x3c], 0x6b
mov byte [rbp - 0x3b], 0x13
mov byte [rbp - 0x3a], 0x6b
mov byte [rbp - 0x39], 0x75
mov byte [rbp - 0x38], 0x6b
mov byte [rbp - 0x37], 0x15
mov byte [rbp - 0x36], 0x6b
mov byte [rbp - 0x35], 0x75
mov byte [rbp - 0x34], 0x6b
mov byte [rbp - 0x33], 0x6b
mov byte [rbp - 0x32], 0x6b
movzx eax, byte [rbp - 0x5f]
movzx eax, byte [rbp - 0x60]
test al, al
jne 0x140030187
movzx ecx, byte [rbp + r9 - 0x5f]
sub ecx, 0x6b
imul r8d, ecx, 0x25
mov eax, 0x81020409
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
add r8d, 0x7f
mov eax, 0x81020409
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov byte [rbp + r9 - 0x5f], r8b
inc r9
cmp r9, 0x2e
jb 0x140030132
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
lea rax, [rbp - 0x5f]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400301a1
lea rdx, [rbp - 0x5f]
lea rcx, [rbp - 0x28]
call fcn.140028840
nop
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140038f70
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140030203
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400301fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030217
call fcn.14006127c
mov rax, rbx
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rbp
ret
call fcn.1400954d0
int3
Function at 0x14003bbc0
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 [0x1400e8180]
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.14003be30
nop
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
sub rax, rbx
cmp rax, r14
jne 0x14003bc41
mov r8, r14
mov rdx, rbx
mov rcx, r15
call fcn.1400898c0
test eax, eax
je 0x14003bdab
mov rcx, rdi
call fcn.14003b960
mov rbp, rax
test rax, rax
je 0x14003bdab
mov r8, rdi
mov r10, qword [rdi + 0x18]
cmp r10, 8
jb 0x14003bc65
mov r8, qword [rdi]
mov rdx, qword [rdi + 0x10]
mov r9, 0xffffffffffffffff
test rdx, rdx
je 0x14003bc94
mov rcx, rdx
mov rax, r8
nop dword [rax + rax]
cmp word [rax], 0x5c
je 0x14003be06
add rax, 2
sub rcx, 1
jne 0x14003bc80
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 0x14003be20
sub rdx, rax
cmp rdx, r9
cmovb r9, rdx
cmp r10, 8
jb 0x14003bcc7
mov rdi, qword [rdi]
lea rdx, [rdi + rax*2]
mov r8, r9
lea rcx, [rsp + 0x58]
call fcn.140028840
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 0x14003bd55
cmp qword [rsi + 0x18], 8
jb 0x14003bd27
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 0x14003bd97
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003bd92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003be26
call fcn.14006127c
movdqa xmm0, xmmword [0x1400d7e00]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
test rbx, rbx
je 0x14003bde4
mov rdx, qword [rsp + 0x88]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003bddc
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003be1a
mov rcx, rbx
call fcn.14006127c
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140061220
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
test rax, rax
je 0x14003bc94
sub rax, r8
sar rax, 1
jmp 0x14003bc97
call fcn.1400954d0
nop
call fcn.140028520
int3
call fcn.1400954d0
int3
Function at 0x14003c5f0
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 [0x1400e8180]
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.140044480
mov r8, rbx
lea rdx, [rbp + 0x790]
lea rcx, [rbp + 0x7b0]
call fcn.140044420
movups xmm1, xmmword [0x1400d7050]
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [0x1400d7060]
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.140006a50
lea r8d, [r12 + 0x20]
lea rdx, [rsi + 0x18]
lea rcx, [rbp + 0x10]
call fcn.140006a50
lea r8d, [r12 + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.140006a50
lea r8, [rbp + 0x7b0]
lea rcx, [rbp + 0x10]
call fcn.140008090
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.1400893e0
mov dl, 1
lea rcx, [rsp + 0x38]
call fcn.140046b70
mov dl, 1
lea rcx, [rsp + 0x40]
call fcn.140046b70
movdqa xmm0, xmmword [0x1400d7df0]
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
movdqa xmm0, xmmword [0x1400d7e20]
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, [0x1400d7a68]
mov qword [rsp + 0x30], rax
lea r13, [0x1400d7bf0]
mov qword [rsp + 0x38], r13
lea r12, [0x1400d7c78]
mov qword [rsp + 0x40], r12
lea rbx, [0x1400d7ce0]
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.140049000
mov r9d, r15d
mov r8, r14
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140049fc0
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, [0x1400d7a68]
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.14003c990
mov eax, r15d
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.140061220
add rsp, 0x8e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400400b0
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 [0x1400e8180]
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 0x1400402d6
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 0x1400402d6
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xea
jne 0x1400402d6
mov ecx, dword [rsp + 0x80]
call fcn.14009abf0
mov r14, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400402d6
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 0x1400401ad
lea rdx, [0x1400402d6]
mov rcx, rsp
call fcn.140095098
xor edi, edi
mov dword [rsp + 0x38], edi
cmp edi, dword [rsp + 0x84]
jae 0x1400402ce
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 0x14004020f
lea rdx, [0x1400402d6]
mov rcx, qword [rsp + 0x30]
call fcn.140095098
nop
lea r8, [rsp + 0x88]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140040240
lea rdx, [0x1400402d6]
mov rcx, qword [rsp + 0x30]
call fcn.140095098
nop word [rax + rax]
cmp dword [rsp + 0x8c], 1
je 0x1400402be
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 0x140040292
lea rdx, [0x1400402d6]
mov rcx, qword [rsp + 0x30]
call fcn.140095098
cmp dword [rsp + 0x8c], 1
je 0x1400402be
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, esi
cmp eax, 0x7530
jbe 0x1400402bc
lea rdx, [0x1400402d6]
mov rcx, qword [rsp + 0x30]
call fcn.140095098
jmp 0x140040240
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
inc edi
jmp 0x1400401af
mov rcx, r14
call fcn.14009a4e0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140061220
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret