joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002edc0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x30
mov rax, qword [0x14029a130]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r14, rcx
lea r8, [0x14027df50]
xor ebx, ebx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rbx
call fcn.1400d014c
mov rbp, qword [rsp + 0x20]
test rbp, rbp
jne 0x14002ee05
lea eax, [rbx - 3]
jmp 0x14002eec7
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 2]
call fcn.1400d4170
test eax, eax
je 0x14002ee21
mov ebx, 0xfffffffd
jmp 0x14002eebb
mov rcx, rbp
mov qword [rsp + 0x60], rsi
call fcn.1400cff0c
movsxd rsi, eax
test eax, eax
jns 0x14002ee3c
mov ebx, 0xfffffffd
jmp 0x14002eeb6
je 0x14002eeb6
lea eax, [rsi + 1]
mov qword [rsp + 0x68], rdi
movsxd rcx, eax
lea rdx, [0x140103a60]
call fcn.1400c5238
mov rdi, rax
test rax, rax
jne 0x14002ee62
lea ebx, [rax - 2]
jmp 0x14002eeb1
xor r8d, r8d
mov byte [rsi + rax], bl
xor edx, edx
mov rcx, rbp
call fcn.1400d4170
mov r9, rbp
mov r8, rsi
mov edx, 1
mov rcx, rdi
call fcn.1400d583c
cmp rax, rsi
je 0x14002ee99
mov rcx, rdi
call fcn.1400c4ba0
mov ebx, 0xfffffffd
jmp 0x14002eeb1
mov r8, rax
mov rdx, rdi
mov rcx, r14
call fcn.140030e90
mov rcx, rdi
mov ebx, eax
call fcn.1400c4ba0
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call fcn.1400d3dd0
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400c4b80
add rsp, 0x30
pop r14
pop rbp
pop rbx
ret

Function at 0x1400348f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14003494d
lea rbx, [0x140142110]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140034934
cmp r10, 2
jb 0x140034934
cmp byte [r9], r8b
jne 0x140034934
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140034910
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14003498f
lea rbx, [0x140142110]
cmp r8b, 0x23
jne 0x140034973
cmp byte [r9], r8b
jne 0x140034973
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140034960
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140034ad0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140034aea
mov qword [r8], 0
lea rdx, [0x14027df50]
call fcn.1400349a0
mov rbx, rax
test rax, rax
jne 0x140034b0a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1400cff0c
mov esi, eax
cmp eax, 0xffffffff
je 0x140034bd8
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400d4170
test eax, eax
jne 0x140034bd8
mov rcx, rbx
call fcn.1400cff0c
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140034bd8
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400d4170
test eax, eax
jne 0x140034bd8
cmp rdi, 0xffffffffffffffff
je 0x140034bd8
mov rax, qword [0x14030ab30]
test rax, rax
je 0x140034b7a
inc dword [rax + 0x3b4]
mov rcx, rdi
call fcn.1400cf5c8
mov rsi, rax
test rax, rax
je 0x140034bd8
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400d583c
mov rcx, rbx
cmp rax, rdi
je 0x140034bc6
call fcn.1400d3dd0
mov rax, qword [0x14030ab30]
test rax, rax
je 0x140034bbc
dec dword [rax + 0x3b4]
mov rcx, rsi
call fcn.1400cb7f8
jmp 0x140034be0
call fcn.1400d3dd0
test r14, r14
je 0x140034bd3
mov qword [r14], rdi
mov rax, rsi
jmp 0x140034be2
mov rcx, rbx
call fcn.1400d3dd0
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400408a0
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x14030ab30]
lea rdx, [0x140142110]
mov r8, rcx
mov rbx, qword [rax + 0x1c10]
add rbx, 0xd8
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 9]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xa]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xb]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xc]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xd]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xe]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xf]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x1400409a1
lea ecx, [r9 + 1]
test r8d, r8d
je 0x14004098d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140040992
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140048af0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400409c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x14030ab30]
lea rdx, [0x140142110]
mov r8d, ecx
mov rbx, qword [rax + 0x1c10]
add rbx, 0xd8
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x140040a77
lea ecx, [r9 + 1]
test r8d, r8d
je 0x140040a63
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140040a68
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140048af0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400419c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14029a130]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14030ab30]
mov edi, edx
cmp byte [rbx + 0x1f4d], 0
jne 0x140041a20
cmp byte [rbx + 0x1f4e], 0
jne 0x140041a20
mov r9d, dword [rbx + 0x2ff0]
lea r8, str.Tooltip__02d
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x20]
call fcn.140034870
test dil, 1
je 0x140041b3e
jmp 0x140041aa8
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2ff0]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14027f674]
mulss xmm1, dword [0x14027f658]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1cc8], rax
mov dword [rbx + 0x1cb4], 1
movss dword [rbx + 0x1cc0], xmm0
movss dword [rbx + 0x1cc4], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x14027f53c]
or dword [rbx + 0x1cb0], 0x41
movss dword [rbx + 0x1d10], xmm0
call fcn.140034870
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140041af8
lea r11, [0x140142110]
cmp r9b, 0x23
jne 0x140041adb
cmp byte [r8], r9b
jne 0x140041adb
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140041ac8
not ecx
call fcn.14003b2f0
test rax, rax
je 0x140041b3e
cmp byte [rax + 0x9e], 0
je 0x140041b3e
mov byte [rax + 0xa5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbc], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ff0]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r9d, dword [rbx + 0x2ff0]
call fcn.140034870
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14003d940
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400c4b80
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14005b4d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14029a130]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1403403c0]
lea rdx, [rsp + 0x28]
mov rdi, qword [0x14030ab30]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub eax, dword [rsp + 0x28]
mov qword [rsp + 0x40], 0
movd xmm1, eax
mov eax, dword [rsp + 0x34]
sub eax, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1403403c8]
cvtsi2ss xmm0, qword [0x1403403d0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1403403c8], rcx
mov ecx, SafeArrayGetLBound
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, SafeArrayGetLBound
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x14030ab30]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
cmp byte [rbx + 0x39b], 0
je 0x14005b60f
cvttss2si eax, dword [rbx + 0x128]
mov rcx, qword [0x1403403c0]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
cvttss2si eax, dword [rbx + 0x12c]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x14005b60f
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx + 0x128], 0xff7fffff
mov dword [rbx + 0x12c], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x14005b68e
mov rdx, qword [0x1403403c0]
cmp rax, rdx
je 0x14005b647
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x14005b68e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14005b68e
mov rcx, qword [0x1403403c0]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14005b68e
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x128], xmm0
movss dword [rbx + 0x12c], xmm1
cmp byte [rdi + 0xc8], 0
je 0x14005b69e
mov eax, 0xffffffff
jmp 0x14005b6ab
mov rax, qword [0x14030ab30]
mov eax, dword [rax + 0x1f48]
cmp dword [reloc.OLEAUT32.dll_VariantCopy], eax
je 0x14005b6be
mov dword [reloc.OLEAUT32.dll_VariantCopy], eax
call fcn.14005b080
call fcn.14005b200
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c4b80
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140073a60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14029a130]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x140073aa6
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x140073a96
cmp byte [rax], cl
jne 0x140073aa6
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x140073a87
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140073c09
cmp byte [r8 + 1], dl
je 0x140073c09
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x140073ae2
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140073b0a
sub dl, 0x61
cmp dl, 0x19
ja 0x140073afc
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140073b0a
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140073ac5
jmp 0x140073b0d
inc r9
cmp r8, r9
jae 0x140073b3f
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140073b34
bt rdx, rax
jb 0x140073b3a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140073b20
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.140034870
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140073b78
nop
inc rcx
cmp byte [rcx], 0x20
je 0x140073b70
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140073bf8
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x140073b93
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x140073ba9
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x140073be6
movss xmm2, dword [0x14027f65c]
cmp al, 0x39
ja 0x140073be6
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140073bc0
cmp r9b, 0x2d
jne 0x140073c04
xorps xmm1, xmmword [0x14027f940]
movaps xmm0, xmm1
jmp 0x140073c0c
call fcn.1400d91a4
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140073c0c
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400c4b80
add rsp, 0x90
pop rbx
ret
Function at 0x140073c30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14029a130]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x140073c76
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x140073c66
cmp byte [rax], cl
jne 0x140073c76
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x140073c57
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140073dd3
cmp byte [r8 + 1], dl
je 0x140073dd3
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x140073cb2
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140073cda
sub dl, 0x61
cmp dl, 0x19
ja 0x140073ccc
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140073cda
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140073c95
jmp 0x140073cdd
inc r9
cmp r8, r9
jae 0x140073d0f
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140073d04
bt rdx, rax
jb 0x140073d0a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140073cf0
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140034870
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140073d48
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x140073d40
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140073dc6
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x140073d63
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x140073d79
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x140073db4
movsd xmm2, qword [0x14027f5e8]
cmp al, 0x39
ja 0x140073db4
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x140073d90
cmp r9b, 0x2d
jne 0x140073dce
xorps xmm1, xmmword [0x14027f930]
movaps xmm0, xmm1
jmp 0x140073dd6
call fcn.1400d91a4
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140073dd6
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400c4b80
add rsp, 0x90
pop rbx
ret
Function at 0x140073e00
Capabilities:
Delete file
Delete service
Modify service
Stop service

Disassembly:
push r14
sub rsp, 0x90
mov rax, qword [0x14029a130]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor r14d, r14d
movzx eax, byte [r14]
test al, al
je 0x140073e2f
mov word [0x78], r14w
cmp byte [0x78], r14b
je 0x140073e44
test al, al
jne 0x140073e44
mov al, 1
jmp 0x140073fbc
xor edx, edx
mov qword [rsp + 0xa0], rbx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
je 0x140073fb4
cmp byte [0x79], r14b
mov ecx, 0x20
mov eax, 0x10020
mov qword [rsp + 0xb0], rdi
cmovne eax, ecx
mov r8d, eax
or r8d, 2
lea edx, [rcx + 0x28]
cmp byte [0x7a], r14b
cmove r8d, eax
cmp qword [0x60], 0x10
jb 0x140073eac
mov rdx, qword [0x48]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x140073fe3
lea r8, [rsp + 0x60]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140073fda
cmp byte [0x7a], r14b
je 0x140073f28
mov qword [rsp + 0x50], r14
mov edx, 0xffffffff
mov qword [rsp + 0x48], r14
mov r9d, edx
mov qword [rsp + 0x40], r14
mov r8d, 4
mov qword [rsp + 0x38], r14
mov rcx, rdi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
je 0x140073fda
cmp byte [0x79], r14b
je 0x140073f4d
cmp byte [r14], r14b
jne 0x140073f4d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x140073fac
mov rcx, rdi
mov qword [rsp + 0xa8], rsi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rdi
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp byte [0x7b], r14b
je 0x140073fd6
cmp byte [r14], r14b
je 0x140073fd6
cmp qword [0x20], 0x10
mov ecx, 8
jb 0x140073f99
mov rcx, qword [reloc.OLEAUT32.dll_VariantClear]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
mov rsi, qword [rsp + 0xa8]
setne al
mov rdi, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400c4b80
add rsp, 0x90
pop r14
ret
test esi, esi
jmp 0x140073fa1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x140073fac
Function at 0x140075100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x14029a130]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
mov edx, 0x65
xor ecx, ecx
lea r8d, [rdx - 0x5b]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x70]
call fcn.1400c78d0
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14007518d
mov rdx, qword [rdi]
lea rcx, [rsp + 0x70]
call fcn.1400778c0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], r14
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14002e700
lea rcx, [rsp + 0x78]
call fcn.1400777c0
test rax, rax
jne 0x140075211
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx - 0x48], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x80]
and eax, 0x17
mov dword [rbp + rcx - 0x80], eax
mov edx, dword [rbp + rcx - 0x7c]
and edx, eax
jne 0x1400752ea
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r14
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.1400773c0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x6c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x18]
call fcn.1400a16b8
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400752b0
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400752ab
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007533e
mov rcx, r8
call fcn.1400c4ba0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], SafeArrayGetLBound
mov byte [rdi], 0
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400c4b80
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
test dl, 4
je 0x1400752f8
lea rbx, str.ios_base::badbit_set
jmp 0x14007530d
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.1400037d0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140004160
lea rdx, [0x140297fa0]
lea rcx, [rsp + 0x40]
call fcn.1400c7154
nop
call fcn.1400cbc18
int3
Function at 0x140076c00
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140076c22
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140076c9c
mov rdi, r14
mov rcx, rbx
call fcn.14002eaa0
test rax, rax
jle 0x140076c74
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.1400c7230
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 0x140076c8c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140076c94
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140076c36
sub r14, rdi
jmp 0x140076d7f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140076cb3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140076cb5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140076ce7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400c7230
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 0x140076d7c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140076d22
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 0x140076d5d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400d583c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140076d7c
cmp rbp, rax
ja 0x140076d30
test rbp, rbp
je 0x140076d7c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400d583c
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