joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004bf20
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
mov r14, rdx
mov r13, r8
movzx r12d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
movzx eax, byte [r8 + 1]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 2]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 3]
xor r12, rax
imul r12, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x14004bfb5
mov rbx, r15
mov rbp, r15
jmp 0x14004bff9
mov rcx, qword [rax + rcx*8]
mov eax, dword [r13]
cmp eax, dword [rbx + 0x10]
je 0x14004bfd0
cmp rbx, rcx
je 0x14004bff3
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14004bfc2
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x3ffffffffffffff
cmp qword [rsi + 0x10], rax
je 0x14004c156
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x40
call fcn.140081f4c
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r13]
mov dword [rdi + 0x10], eax
xor r13d, r13d
mov qword [rdi + 0x20], r13
mov qword [rdi + 0x28], r13
mov qword [rdi + 0x30], r13
mov qword [rdi + 0x38], r13
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x14004c05b
cvtsi2ss xmm0, rcx
jmp 0x14004c070
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14004c083
cvtsi2ss xmm1, rcx
jmp 0x14004c098
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x14004c0f7
mov rcx, rsi
call fcn.14004c240
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
je 0x14004c0ea
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14004c0e7
mov rbx, rax
cmp rax, rdx
je 0x14004c12b
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14004c0d6
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x14004c132
mov qword [rcx + rax*8], rdi
jmp 0x14004c144
mov qword [rsp + 0x20], rax
jmp 0x14004c0ef
cmp r8, rbp
jne 0x14004c13d
mov qword [rcx + rax*8], rdi
jmp 0x14004c149
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14004c149
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x14004bfd8
lea rcx, str.unordered_map_set_too_long
call fcn.14007ec58
int3
Function at 0x14004c8f0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
mov r14, rdx
mov r12, r8
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 2]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 3]
xor r13, rax
imul r13, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x14004c985
mov rbx, r15
mov rbp, r15
jmp 0x14004c9c9
mov rcx, qword [rax + rcx*8]
mov eax, dword [r12]
cmp eax, dword [rbx + 0x10]
je 0x14004c9a0
cmp rbx, rcx
je 0x14004c9c3
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14004c992
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x3ffffffffffffff
cmp qword [rsi + 0x10], rax
je 0x14004cb39
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x40
call fcn.140081f4c
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r12]
mov dword [rdi + 0x10], eax
lea rcx, [rdi + 0x18]
lea rdx, [r12 + 8]
call fcn.14004ac30
nop
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x14004ca27
cvtsi2ss xmm0, rcx
jmp 0x14004ca3c
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14004ca4f
cvtsi2ss xmm1, rcx
jmp 0x14004ca64
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x14004cad1
mov rcx, rsi
call fcn.14004c240
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x14004caa1
mov qword [rsp + 0x28], 0
jmp 0x14004cac4
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14004cac1
nop dword [rax]
mov rbx, rax
cmp rax, rdx
je 0x14004cb05
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14004cab0
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x14004cb15
mov qword [rcx + rax*8], rdi
jmp 0x14004cb27
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x14004cac9
cmp r8, rbp
jne 0x14004cb20
mov qword [rcx + rax*8], rdi
jmp 0x14004cb2c
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14004cb2c
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x14004c9a8
lea rcx, str.unordered_map_set_too_long
call fcn.14007ec58
int3
Function at 0x14004df70
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0xf0
mov rdi, rcx
mov rbx, rdx
mov rax, qword [0x14012b878]
test rax, rax
je 0x14004dfa7
call qword [case.0x140069c0f.0]
test al, al
jne 0x14004dfb0
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
nop
mov r8d, dword [rsp + 0x110]
movzx edx, r8b
movabs r10, 0xcbf29ce484222325
xor rdx, r10
movabs r9, 0x100000001b3
imul rdx, r9
movzx eax, byte [rsp + 0x111]
xor rdx, rax
imul rdx, r9
movzx eax, byte [rsp + 0x112]
xor rdx, rax
imul rdx, r9
movzx eax, byte [rsp + 0x113]
xor rdx, rax
imul rdx, r9
mov rcx, qword [rdi + 0x38]
and rcx, rdx
shl rcx, 4
mov rax, qword [rdi + 0x20]
add rax, rcx
mov rcx, qword [rax + 8]
mov rdx, qword [rdi + 0x10]
cmp rcx, rdx
je 0x14004e041
mov rax, qword [rax]
cmp r8d, dword [rcx + 0x10]
je 0x14004e043
nop dword [rax]
cmp rcx, rax
je 0x14004e041
mov rcx, qword [rcx + 8]
cmp r8d, dword [rcx + 0x10]
jne 0x14004e030
jmp 0x14004e043
xor ecx, ecx
test rcx, rcx
je 0x14004e15c
cmp rcx, rdx
je 0x14004e15c
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rcx + 0x38]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x48]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rcx + 0x58]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rcx + 0x68]
movups xmmword [rsp + 0x70], xmm0
sub qword [rcx + 0x78], 1
jne 0x14004e125
movzx r8d, byte [rcx + 0x10]
xor r8, r10
imul r8, r9
movzx eax, byte [rcx + 0x11]
xor r8, rax
imul r8, r9
movzx eax, byte [rcx + 0x12]
xor r8, rax
imul r8, r9
movzx eax, byte [rcx + 0x13]
xor r8, rax
imul r8, r9
mov rdx, qword [rdi + 0x38]
and rdx, r8
shl rdx, 4
mov r8, qword [rdi + 0x20]
add r8, rdx
mov rax, qword [r8]
cmp qword [r8 + 8], rcx
jne 0x14004e0fa
cmp rax, rcx
jne 0x14004e0f0
mov rax, qword [rdi + 0x10]
mov qword [r8], rax
mov qword [r8 + 8], rax
jmp 0x14004e105
mov rax, qword [rcx + 8]
mov qword [r8 + 8], rax
jmp 0x14004e105
cmp rax, rcx
jne 0x14004e105
mov rax, qword [rcx]
mov qword [r8], rax
mov rdx, qword [rcx]
dec qword [rdi + 0x18]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, 0x80
call fcn.140081f10
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x50], xmm1
jmp 0x14004e168
mov byte [rbx + 8], 0
mov byte [rbx + 0x30], 0
mov byte [rbx + 0x58], 0
mov rax, qword [0x14012b878]
test rax, rax
je 0x14004e17e
call qword [case.0x140069c0f.0]
test al, al
jne 0x14004e187
mov rcx, rdi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
nop
mov rax, rbx
mov rbx, qword [rsp + 0x118]
add rsp, 0xf0
pop rdi
ret
Function at 0x14004e4a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rdx, qword [rsp + 0x48]
movabs rax, 0xfffffffffffffff
mov rsi, qword [rsp + 0x40]
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14004e64b
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14002d720
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14004e614
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14004e58e
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14004e603
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14004e5cb
mov r10, qword [rdx]
cmp r10, rax
je 0x14004e5c5
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14004e603
cmp r9, rdx
je 0x14004e5df
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14004e625
cmp r9, rdx
jne 0x14004e5d0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14004e541
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14004e603
lea rcx, str.invalid_hash_bucket_count
call fcn.14007ec58
int3
Function at 0x14004f8e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
test r14, r14
jg 0x14004f916
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rbx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14004f99d
mov rdi, r14
nop word [rax + rax]
mov rcx, rbx
call fcn.14001cf00
test rax, rax
jle 0x14004f96e
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400b15c0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14004f98d
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x38]
call qword [case.0x140069c0f.0]
cmp eax, 0xffffffff
je 0x14004f995
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14004f930
sub r14, rdi
jmp 0x14004fa7f
mov rax, qword [rbx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14004f9b4
mov rax, qword [rbx + 0x50]
mov ecx, dword [rax]
jmp 0x14004f9b6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14004f9e8
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400b15c0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14004fa7c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14004fa23
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14004fa5d
nop dword [rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140099fbc
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14004fa7c
cmp rbp, rax
ja 0x14004fa30
test rbp, rbp
je 0x14004fa7c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140099fbc
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140053f80
Capabilities:
Create service

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov dword [r11 + 0x18], r8d
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xc8
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rdi, rcx
mov r14, rdx
mov ebp, r9d
mov r15d, dword [rsp + 0x120]
mov rsi, qword [rsp + 0x130]
mov r8d, 2
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
mov qword [rsp + 0xa8], rax
test rax, rax
je 0x1400540e9
cmp qword [rsi + 0x18], 7
jbe 0x140054000
mov rsi, qword [rsi]
cmp qword [r14 + 0x18], 7
jbe 0x14005400a
mov r14, qword [r14]
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140054017
mov rdx, qword [rdi]
lea rax, [0x1400ee074]
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], ebp
mov r9d, 0xf01ff
mov r8, r14
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x1400540a1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140081ef0
add rsp, 0xc8
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
lea rcx, str.Unable_to_create_the_service__
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], 0x22
mov r9, rdi
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x80]
call fcn.14002e730
lea rdx, [0x140114190]
lea rcx, [rsp + 0x80]
call fcn.140084768
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_open_the_service_control_manager_
lea rcx, [rsp + 0x80]
call fcn.14006ebf0
lea rdx, [0x140114190]
lea rcx, [rsp + 0x80]
call fcn.140084768
int3
Function at 0x140055de0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rdi, qword [rbp + 0xd0]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 8]
lea rax, vtable.asw::log::detail::LogModule.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 0xc]
lea rax, vtable.asw::log::detail::LogModule.1.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 0x10]
lea rax, vtable.asw::log::detail::LogModule.2.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 8]
lea edx, [rcx - 0x20]
mov dword [rcx + rdi - 4], edx
mov rax, qword [rdi]
movsxd rcx, dword [rax + 0x10]
lea edx, [rcx - 0x48]
mov dword [rcx + rdi - 4], edx
mov rcx, qword [rdi + 8]
mov dword [rsp + 0x30], 0x32374339
mov dword [rsp + 0x34], 0x33433935
mov dword [rsp + 0x40], 0x5f676f6c
mov dword [rsp + 0x44], 0x75646f6d
mov dword [rsp + 0x48], 0x656c
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 0x1f
mov rax, qword [rcx]
lea r9, [rsp + 0x40]
mov r8d, 2
lea rdx, [rsp + 0x60]
mov rax, qword [rax + 0x20]
call qword [case.0x140069c0f.0]
lea rcx, [rsp + 0x60]
call fcn.140056a30
lea rcx, [rsp + 0x60]
call fcn.14001d730
mov rcx, qword [rdi + 8]
mov dword [rsp + 0x30], 0x32374339
mov dword [rsp + 0x34], 0x33433935
mov dword [rsp + 0x40], 0x5f676f6c
mov dword [rsp + 0x44], 0x75646f6d
mov dword [rsp + 0x48], 0x656c
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 0x20
mov rax, qword [rcx]
lea r9, [rsp + 0x40]
mov r8d, 2
lea rdx, [rsp + 0x60]
mov rax, qword [rax + 0x20]
call qword [case.0x140069c0f.0]
lea rcx, [rsp + 0x60]
call fcn.140056a80
lea rcx, [rsp + 0x60]
call fcn.14001d730
lea rcx, [rdi + 8]
call fcn.140009910
nop
lea rcx, [rdi + 0x40]
call fcn.14002a470
lea rax, vtable.asw::mi::IExportable.0
mov qword [rdi + 0x20], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0xffffffff
mov rdx, qword [rsp + 0x30]
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
jmp fcn.140009850
Function at 0x140057ce0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, rcx
mov rbp, rdx
mov eax, dword [rcx + 0xe0]
cmp dword [rdx], eax
jl 0x140057e88
call fcn.140058500
lea rax, [0x1400f7704]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 2
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x90]
mov rcx, rbp
call fcn.14005c4f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
lea rcx, [rsi + 0x80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsi + 0xb0]
test rax, rax
je 0x140057d87
lock inc dword [rax + 8]
mov r14, qword [rsi + 0xa8]
mov qword [rsp + 0x80], r14
mov rax, qword [rsi + 0xb0]
mov qword [rsp + 0x88], rax
lea rcx, [rsi + 0x80]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
xor eax, eax
mov dword [rsp + 0x78], eax
lea rdx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0xf
cmova rdx, qword [rsp + 0x90]
lea rdi, [rax - 1]
test r14, r14
je 0x140057de1
mov rcx, qword [r14]
jmp 0x140057de4
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140057eb0
mov eax, dword [rsi + 0xe4]
cmp dword [rbp], eax
jl 0x140057e2b
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x140057e21
mov rcx, qword [rax]
jmp 0x140057e24
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140057e7b
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140057e7b
mov rbx, qword [rsp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140069c0f.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140057e7b
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140069c0f.0]
nop
lea rcx, [rsp + 0x90]
call fcn.140007090
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140081ef0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.14006eaf0
lea rdx, [0x140114190]
lea rcx, [rsp + 0x50]
call fcn.140084768
int3
Function at 0x140058500
Capabilities:
Get file size

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140117280]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea rbx, [rcx + 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r14, [rsi + 0xa8]
mov rax, qword [r14 + 8]
test rax, rax
je 0x14005855c
lock inc dword [rax + 8]
mov r15, qword [r14]
mov qword [rsp + 0x60], r15
mov rax, qword [r14 + 8]
mov qword [rsp + 0x68], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdi, 0xffffffffffffffff
test r15, r15
je 0x140058588
mov rcx, qword [r15]
jmp 0x14005858b
mov rcx, rdi
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400586e9
mov rax, qword [rsi + 0xd8]
cmp qword [rsp + 0x70], rax
jl 0x14005864e
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x1400585cc
mov rcx, qword [rcx]
jmp 0x1400585cf
mov rcx, rdi
lea rdx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400586bd
mov rax, qword [rsi + 0xd8]
cmp qword [rsp + 0x78], rax
jl 0x140058642
mov rax, qword [r14]
test rax, rax
je 0x1400585fd
mov rcx, qword [rax]
jmp 0x140058600
mov rcx, rdi
lea rbx, [rsi + 0xb8]
mov rdx, rbx
call fcn.140057620
cmp qword [rbx + 0x18], 7
jbe 0x140058619
mov rbx, qword [rbx]
xor r9d, r9d
mov r8, rbx
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140057ee0
mov rdx, rax
mov rcx, r14
call fcn.140029b00
lea rcx, [rsp + 0x28]
call fcn.140009910
nop
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140058694
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140058694
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140069c0f.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140058694
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140069c0f.0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140081ef0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea r8, str.Unable_to_get_file_size_
lea rcx, [rsp + 0x38]
call fcn.14006eb60
lea rdx, [0x140114190]
lea rcx, [rsp + 0x38]
call fcn.140084768
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_get_file_size_
lea rcx, [rsp + 0x38]
call fcn.14006eb60
lea rdx, [0x140114190]
lea rcx, [rsp + 0x38]
call fcn.140084768
int3