joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004beb0
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 0x14004bf45
mov rbx, r15
mov rbp, r15
jmp 0x14004bf89
mov rcx, qword [rax + rcx*8]
mov eax, dword [r13]
cmp eax, dword [rbx + 0x10]
je 0x14004bf60
cmp rbx, rcx
je 0x14004bf83
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14004bf52
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 0x14004c0e6
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x40
call fcn.140082810
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 0x14004bfeb
cvtsi2ss xmm0, rcx
jmp 0x14004c000
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 0x14004c013
cvtsi2ss xmm1, rcx
jmp 0x14004c028
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 0x14004c087
mov rcx, rsi
call fcn.14004c1d0
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 0x14004c07a
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14004c077
mov rbx, rax
cmp rax, rdx
je 0x14004c0bb
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14004c066
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 0x14004c0c2
mov qword [rcx + rax*8], rdi
jmp 0x14004c0d4
mov qword [rsp + 0x20], rax
jmp 0x14004c07f
cmp r8, rbp
jne 0x14004c0cd
mov qword [rcx + rax*8], rdi
jmp 0x14004c0d9
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14004c0d9
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x14004bf68
lea rcx, str.unordered_map_set_too_long
call fcn.14007f5d8
int3
Function at 0x14004c880
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 0x14004c915
mov rbx, r15
mov rbp, r15
jmp 0x14004c959
mov rcx, qword [rax + rcx*8]
mov eax, dword [r12]
cmp eax, dword [rbx + 0x10]
je 0x14004c930
cmp rbx, rcx
je 0x14004c953
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x14004c922
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 0x14004cac9
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x40
call fcn.140082810
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.14004aba0
nop
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x14004c9b7
cvtsi2ss xmm0, rcx
jmp 0x14004c9cc
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 0x14004c9df
cvtsi2ss xmm1, rcx
jmp 0x14004c9f4
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 0x14004ca61
mov rcx, rsi
call fcn.14004c1d0
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 0x14004ca31
mov qword [rsp + 0x28], 0
jmp 0x14004ca54
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x14004ca51
nop dword [rax]
mov rbx, rax
cmp rax, rdx
je 0x14004ca95
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x14004ca40
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 0x14004caa5
mov qword [rcx + rax*8], rdi
jmp 0x14004cab7
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x14004ca59
cmp r8, rbp
jne 0x14004cab0
mov qword [rcx + rax*8], rdi
jmp 0x14004cabc
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14004cabc
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x14004c938
lea rcx, str.unordered_map_set_too_long
call fcn.14007f5d8
int3
Function at 0x14004df90
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 [0x14012b8e8]
test rax, rax
je 0x14004dfc7
call qword [case.0x14006e76f.0]
test al, al
jne 0x14004dfd0
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 0x14004e061
mov rax, qword [rax]
cmp r8d, dword [rcx + 0x10]
je 0x14004e063
nop dword [rax]
cmp rcx, rax
je 0x14004e061
mov rcx, qword [rcx + 8]
cmp r8d, dword [rcx + 0x10]
jne 0x14004e050
jmp 0x14004e063
xor ecx, ecx
test rcx, rcx
je 0x14004e17c
cmp rcx, rdx
je 0x14004e17c
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 0x14004e145
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 0x14004e11a
cmp rax, rcx
jne 0x14004e110
mov rax, qword [rdi + 0x10]
mov qword [r8], rax
mov qword [r8 + 8], rax
jmp 0x14004e125
mov rax, qword [rcx + 8]
mov qword [r8 + 8], rax
jmp 0x14004e125
cmp rax, rcx
jne 0x14004e125
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.1400827d0
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 0x14004e188
mov byte [rbx + 8], 0
mov byte [rbx + 0x30], 0
mov byte [rbx + 0x58], 0
mov rax, qword [0x14012b8e8]
test rax, rax
je 0x14004e19e
call qword [case.0x14006e76f.0]
test al, al
jne 0x14004e1a7
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 0x14004e4c0
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 0x14004e66b
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.14002d680
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 0x14004e634
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 0x14004e5ae
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14004e623
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14004e5eb
mov r10, qword [rdx]
cmp r10, rax
je 0x14004e5e5
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 0x14004e623
cmp r9, rdx
je 0x14004e5ff
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14004e645
cmp r9, rdx
jne 0x14004e5f0
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 0x14004e561
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 0x14004e623
lea rcx, str.invalid_hash_bucket_count
call fcn.14007f5d8
int3
Function at 0x14004fa40
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 0x14004fa76
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 0x14004fafd
mov rdi, r14
nop word [rax + rax]
mov rcx, rbx
call fcn.14001df80
test rax, rax
jle 0x14004face
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.1400b20f0
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 0x14004faed
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x38]
call qword [case.0x14006e76f.0]
cmp eax, 0xffffffff
je 0x14004faf5
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14004fa90
sub r14, rdi
jmp 0x14004fbdf
mov rax, qword [rbx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14004fb14
mov rax, qword [rbx + 0x50]
mov ecx, dword [rax]
jmp 0x14004fb16
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14004fb48
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400b20f0
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 0x14004fbdc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14004fb83
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 0x14004fbbd
nop dword [rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14009a92c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14004fbdc
cmp rbp, rax
ja 0x14004fb90
test rbp, rbp
je 0x14004fbdc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14009a92c
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 0x140054310
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, 0xd8
mov rax, qword [0x140117240]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, rcx
mov r14, rdx
mov ebp, r9d
mov r15d, dword [rsp + 0x130]
mov rsi, qword [rsp + 0x140]
mov r8d, 2
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x140054479
cmp qword [rsi + 0x18], 7
jbe 0x140054390
mov rsi, qword [rsi]
cmp qword [r14 + 0x18], 7
jbe 0x14005439a
mov r14, qword [r14]
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400543a7
mov rdx, qword [rdi]
lea rax, [0x1400ee4c4]
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 + 0xb8], rax
test rax, rax
je 0x140054431
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 + 0xc0]
xor rcx, rsp
call fcn.1400827b0
add rsp, 0xd8
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 + 0x90]
call fcn.14002d1b0
lea rdx, [0x140114310]
lea rcx, [rsp + 0x90]
call fcn.1400850a4
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_open_the_service_control_manager_
lea rcx, [rsp + 0x70]
call fcn.14001b060
lea rdx, [0x140114310]
lea rcx, [rsp + 0x70]
call fcn.1400850a4
int3
Function at 0x140056140
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 + 4]
lea rax, vtable.asw::log::detail::LogModule.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 8]
lea rax, vtable.asw::log::detail::LogModule.2.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 + 4]
lea edx, [rcx - 0x20]
mov dword [rcx + rdi - 4], edx
mov rax, qword [rdi]
movsxd rcx, dword [rax + 0xc]
lea edx, [rcx - 0x40]
mov dword [rcx + rdi - 4], edx
mov rcx, qword [rdi + 8]
mov dword [rsp + 0x30], 0x45313339
mov dword [rsp + 0x34], 0x31413935
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.0x14006e76f.0]
lea rcx, [rsp + 0x60]
call fcn.140056d40
lea rcx, [rsp + 0x60]
call fcn.14001e630
mov rcx, qword [rdi + 8]
mov dword [rsp + 0x30], 0x45313339
mov dword [rsp + 0x34], 0x31413935
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.0x14006e76f.0]
lea rcx, [rsp + 0x60]
call fcn.140056d90
lea rcx, [rsp + 0x60]
call fcn.14001e630
lea rcx, [rdi + 8]
call fcn.140009ae0
nop
lea rax, vtable.asw::mi::IModule.0
mov qword [rdi + 0x28], rax
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.asw::mi::IModule.1.0
mov qword [rcx + rdi + 0x30], rax
mov dword [rsp + 0x30], 0xffffffff
xor ebx, ebx
mov dword [rsp + 0x34], ebx
mov rdx, qword [rsp + 0x30]
call fcn.14002a7f0
lea r11, vtable.asw::mi::IExportable.0
mov qword [rdi + 0x20], r11
mov dword [rsp + 0x30], ebx
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.14002a7f0
Function at 0x140057fa0
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, 0xb0
mov rax, qword [0x140117240]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rsi, rcx
mov rbp, rdx
mov eax, dword [rcx + 0xe0]
cmp dword [rdx], eax
jl 0x14005813f
call fcn.1400587b0
lea rax, [0x1400f7b14]
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 + 0x88]
mov rcx, rbp
call fcn.14005c6a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
lea rcx, [rsi + 0x80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsi + 0xb0]
test rax, rax
je 0x140058044
lock inc dword [rax + 8]
mov r14, qword [rsi + 0xa8]
mov qword [rsp + 0x78], r14
mov rax, qword [rsi + 0xb0]
mov qword [rsp + 0x80], rax
lea rcx, [rsi + 0x80]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
xor eax, eax
mov dword [rsp + 0x70], eax
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 0xf
cmova rdx, qword [rsp + 0x88]
lea rdi, [rax - 1]
test r14, r14
je 0x14005809b
mov rcx, qword [r14]
jmp 0x14005809e
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
mov r8d, dword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140058167
mov eax, dword [rsi + 0xe4]
cmp dword [rbp], eax
jl 0x1400580e2
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400580d8
mov rcx, qword [rax]
jmp 0x1400580db
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140058132
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140058132
mov rbx, qword [rsp + 0x80]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14006e76f.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140058132
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e76f.0]
nop
lea rcx, [rsp + 0x88]
call fcn.140007250
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400827b0
lea r11, [rsp + 0xb0]
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.1400287d0
lea rdx, [0x140114310]
lea rcx, [rsp + 0x50]
call fcn.1400850a4
int3
Function at 0x1400587b0
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, 0x80
mov rax, qword [0x140117240]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], 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 0x140058809
lock inc dword [rax + 8]
mov r15, qword [r14]
mov qword [rsp + 0x58], r15
mov rax, qword [r14 + 8]
mov qword [rsp + 0x60], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdi, 0xffffffffffffffff
test r15, r15
je 0x140058835
mov rcx, qword [r15]
jmp 0x140058838
mov rcx, rdi
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140058993
mov rax, qword [rsi + 0xd8]
cmp qword [rsp + 0x68], rax
jl 0x1400588fb
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x140058879
mov rcx, qword [rcx]
jmp 0x14005887c
mov rcx, rdi
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140058967
mov rax, qword [rsi + 0xd8]
cmp qword [rsp + 0x70], rax
jl 0x1400588ef
mov rax, qword [r14]
test rax, rax
je 0x1400588aa
mov rcx, qword [rax]
jmp 0x1400588ad
mov rcx, rdi
lea rbx, [rsi + 0xb8]
mov rdx, rbx
call fcn.1400578e0
cmp qword [rbx + 0x18], 7
jbe 0x1400588c6
mov rbx, qword [rbx]
xor r9d, r9d
mov r8, rbx
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140058190
mov rdx, rax
mov rcx, r14
call fcn.14002a000
lea rcx, [rsp + 0x28]
call fcn.140009ae0
nop
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140058941
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140058941
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14006e76f.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140058941
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e76f.0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400827b0
lea r11, [rsp + 0x80]
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.140007b20
lea rdx, [0x140114310]
lea rcx, [rsp + 0x38]
call fcn.1400850a4
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.140007b20
lea rdx, [0x140114310]
lea rcx, [rsp + 0x38]
call fcn.1400850a4
int3