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

Disassembly:
mov eax, 0x30
call fcn.060ee370
mov eax, dword [0x613b150]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov bl, byte [esi]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x20], esi
mov byte [esp + 0xf], bl
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
test bl, 0x40
jne 0x60b9bc8
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
add esp, 0xc
movzx eax, bl
and eax, 7
mov edx, 0xf
sub edx, eax
xor ecx, ecx
mov byte [esi], al
mov dword [esp + 0x24], edx
cmp edx, 0xf
jae 0x60b9bf5
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x60b9be2
movzx eax, byte [esi + 0xf]
mov ebx, dword [esp + 0x4c]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebx
je 0x60b9c1c
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.060eb877
add esp, 0x30
ret
push edi
mov edi, ebx
shr edi, 4
test edi, edi
je 0x60b9c56
lea eax, [esi + 0x10]
push eax
push esi
push dword [esp + 0x20]
push edi
push dword [esp + 0x24]
push ebp
call dword [esp + 0x38]
shl edi, 4
add dword [esp + 0x2c], edi
add esp, 0x18
add ebp, edi
sub ebx, edi
je 0x60b9cbe
shr edi, 4
push edi
push esi
call fcn.060ba250
add esp, 8
test ebx, ebx
je 0x60b9cbe
push dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
xor edi, edi
test ebx, ebx
je 0x60b9ca9
lea eax, [esp + 0x2c]
sub ebp, eax
sub dword [esp + 0x14], eax
lea eax, [esi + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x2c]
add ecx, edi
inc edi
movzx edx, byte [ecx + ebp]
movzx eax, byte [ecx]
xor edx, eax
mov eax, dword [esp + 0x20]
mov byte [esi + ecx], dl
xor byte [eax + edi - 1], dl
cmp edi, ebx
jb 0x60b9c86
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea eax, [esi + 0x10]
push ebx
push eax
push eax
call ebp
add esp, 0xc
jmp 0x60b9cc6
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp eax, 0x10
jae 0x60b9ce9
mov ecx, 0x10
sub ecx, eax
mov edx, ecx
shr ecx, 2
lea edi, [esi + eax]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x30]
push eax
push esi
call ebp
mov eax, dword [esp + 0x38]
xor dword [esi + 0x10], eax
mov eax, dword [esp + 0x3c]
xor dword [esi + 0x14], eax
mov eax, dword [esp + 0x40]
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x44]
xor dword [esi + 0x1c], eax
mov al, byte [esp + 0x1f]
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov byte [esi], al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.060eb877
add esp, 0x30
ret
Function at 0x60b9f60
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.060ee370
mov eax, dword [0x613b150]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov bl, byte [esi]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x2c]
push edi
mov byte [esp + 0x13], bl
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
test bl, 0x40
jne 0x60b9fbd
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
add esp, 0xc
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
movzx eax, bl
and eax, 7
mov edx, 0xf
sub edx, eax
xor ecx, ecx
mov byte [esi], al
mov dword [esp + 0x20], edx
cmp edx, 0xf
jae 0x60b9ff3
jmp 0x60b9fe0
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x60b9fe0
movzx eax, byte [esi + 0xf]
mov edi, dword [esp + 0x4c]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, edi
je 0x60ba01b
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.060eb877
add esp, 0x2c
ret
lea eax, [edi + 0xf]
or eax, 8
shr eax, 3
add dword [esi + 0x20], eax
adc dword [esi + 0x24], 0
cmp dword [esi + 0x24], 0x20000000
jb 0x60ba054
ja 0x60ba03c
cmp dword [esi + 0x20], 0
jbe 0x60ba054
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.060eb877
add esp, 0x2c
ret
mov ebx, edi
shr ebx, 4
test ebx, ebx
je 0x60ba08d
lea eax, [esi + 0x10]
push eax
push esi
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x28]
push ebp
call dword [esp + 0x3c]
shl ebx, 4
add dword [esp + 0x30], ebx
add esp, 0x18
add ebp, ebx
sub edi, ebx
je 0x60ba0e4
shr ebx, 4
push ebx
push esi
call fcn.060ba250
add esp, 8
test edi, edi
je 0x60ba0e4
xor ecx, ecx
test edi, edi
je 0x60ba0a3
mov al, byte [ecx + ebp]
xor byte [esi + ecx + 0x10], al
inc ecx
cmp ecx, edi
jb 0x60ba097
mov ebx, dword [esp + 0x14]
lea eax, [esi + 0x10]
push ebx
push eax
push eax
call dword [esp + 0x28]
push ebx
lea eax, [esp + 0x38]
push eax
push esi
call dword [esp + 0x34]
add esp, 0x18
xor edx, edx
test edi, edi
je 0x60ba0e8
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x28]
sub ebp, eax
sub ebx, eax
lea ecx, [esp + 0x28]
add ecx, edx
inc edx
mov al, byte [ecx + ebp]
xor al, byte [ecx]
mov byte [ebx + ecx], al
cmp edx, edi
jb 0x60ba0d1
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp eax, 0x10
jae 0x60ba10b
mov ecx, 0x10
sub ecx, eax
mov edx, ecx
shr ecx, 2
lea edi, [esi + eax]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x2c]
push eax
push esi
call dword [esp + 0x28]
mov eax, dword [esp + 0x34]
xor dword [esi + 0x10], eax
mov eax, dword [esp + 0x38]
xor dword [esi + 0x14], eax
mov eax, dword [esp + 0x3c]
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x40]
xor dword [esi + 0x1c], eax
mov al, byte [esp + 0x1f]
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov byte [esi], al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.060eb877
add esp, 0x2c
ret
Function at 0x60bb320
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x60bb33e
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
ret

Function at 0x60bb380
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x60bb39e
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
ret

Function at 0x60bb3e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x60bb402
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
ret

Function at 0x60bb460
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x60bb482
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
ret

Function at 0x60bb4e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x60bb50a
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
ret
Function at 0x60bb570
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x60bb59a
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
ret

Function at 0x60bb600
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesenc xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [edx + ecx]
add ecx, 0x10
jmp 0x60bb65f

Function at 0x60bb6e0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [edx + ecx]
add ecx, 0x10
jmp 0x60bb73f
Function at 0x60bd620
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.060bd0c0
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x60bd691
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x60bd656
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

Function at 0x60c1369
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.060c19bc
mov edi, dword [0x613e3c0]
test edi, edi
jne 0x60c1390
push 0x613e3bc
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [0x613e3c0]
mov eax, dword [ebp + 8]
xor edx, edx
div edi
xor ecx, ecx
push 4
cmp ecx, edx
sbb ecx, ecx
imul eax, edi
and ecx, edi
add ecx, eax
pop eax
push eax
push 0x1000
push ecx
xor edi, edi
push edi
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, eax
mov dword [esi + 0xc], ecx
test ecx, ecx
jne 0x60c13fb
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60c13f3
test byte [eax + 0x1c], 1
je 0x60c13f3
cmp byte [eax + 0x19], 2
jb 0x60c13f3
push 0x6129884
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060c1d8a
add esp, 0x10
mov dword [esi + 8], edi
mov dword [esi + 4], edi
jmp 0x60c1406
push dword [esi + 8]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebp
ret 4
Function at 0x60d028f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x613b150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
test ebx, ebx
je 0x60d03d1
test esi, esi
je 0x60d03d1
mov edi, dword [ebp + 0x10]
cmp edi, 0x26
jb 0x60d03d1
xor eax, eax
push 0x208
push eax
mov word [esi], ax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.060eefa0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x60d030a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x60d03d4
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x60d03cd
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsUNCServerW]
test eax, eax
jne 0x60d03cd
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x41c]
push 0x105
push eax
call fcn.060ed36a
add esp, 0xc
test eax, eax
jne 0x60d03c6
push str.isolate.ini
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x60d03c6
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x60d030a
lea eax, [ebp - 0x41c]
push eax
push edi
push esi
push 0x613292c
push str.silo
push str.isolation
call fcn.060d09f1
lea ecx, [edi - 1]
add esp, 0x18
cmp eax, ecx
jne 0x60d03a6
push 0x7a
jmp 0x60d03d3
push esi
call fcn.060d12ac
pop ecx
test al, al
jne 0x60d03b6
xor eax, eax
mov word [esi], ax
xor eax, eax
xor ecx, ecx
cmp word [esi], cx
setne al
dec eax
and eax, 0xd
jmp 0x60d03d4
mov eax, 0x54f
jmp 0x60d03d4
push 2
jmp 0x60d03d3
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.060eb877
leave
ret
Function at 0x60d0d15
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x613b150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
test ebx, ebx
je 0x60d0e9a
test esi, esi
je 0x60d0e9a
mov edi, dword [ebp + 0x10]
cmp edi, 0x64
jb 0x60d0e9a
xor eax, eax
push 0x208
push eax
mov word [esi], ax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.060eefa0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x60d0d90
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x60d0e9d
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x60d0e85
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsUNCServerW]
test eax, eax
jne 0x60d0e85
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x41c]
push 0x105
push eax
call fcn.060ed36a
add esp, 0xc
test eax, eax
jne 0x60d0e7e
push str.isolate.ini
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x60d0e7e
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x60d0d90
lea eax, [ebp - 0x41c]
push eax
push edi
push esi
push 0x612a234
push str.reghive
push str.isolation
call fcn.060d09f1
lea ecx, [edi - 1]
add esp, 0x18
cmp eax, ecx
jne 0x60d0e34
push 0x7a
jmp 0x60d0e9c
lea eax, [ebp - 0x420]
push eax
push 0x20019
xor edi, edi
push edi
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x60d0e61
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x60d0e70
cmp eax, 5
je 0x60d0e70
cmp eax, 2
je 0x60d0e70
xor eax, eax
mov word [esi], ax
xor eax, eax
cmp word [esi], di
setne al
dec eax
and eax, 0xd
jmp 0x60d0e9d
mov eax, 0x54f
jmp 0x60d0e9d
push 0x1c
push 0x612a234
push edi
push esi
call fcn.060f4c4d
add esp, 0x10
xor eax, eax
jmp 0x60d0e9d
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.060eb877
leave
ret
Function at 0x60d15c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x613b150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x62
push eax
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push eax
call fcn.060eefa0
add esp, 0xc
lea ecx, [ebp - 0x6c]
push 0x613c2e0
call fcn.060c30c1
lea eax, [ebp - 0x6c]
push eax
push str._APPDATAEXTENSION_
call fcn.060d13b7
xor esi, esi
pop ecx
inc esi
pop ecx
cmp eax, esi
push 0xffffffffffffffff
lea eax, [ebp - 0x68]
jne 0x60d161d
push dword [ebp - 0x6c]
jmp 0x60d1622
push str.Symantec
push 0x32
push eax
call fcn.060f4c4d
add esp, 0x10
mov ecx, edi
push ebx
push 0x105
call fcn.060c372a
push 0
push dword [ebp + 8]
mov ebx, eax
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x60d166e
lea eax, [ebp - 0x68]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x60d166e
call fcn.060cff48
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x60d1670
xor esi, esi
push 0xffffffffffffffff
mov ecx, edi
call fcn.060c5c64
pop ebx
test esi, esi
jne 0x60d16b2
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60d16ab
test byte [eax + 0x1c], 1
je 0x60d16ab
cmp byte [eax + 0x19], 2
jb 0x60d16ab
push 0x612a300
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060c1d8a
add esp, 0x10
mov ecx, edi
call fcn.060c31d9
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.060511e0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.060eb877
leave
ret
Function at 0x60d16cd
Capabilities:
Get common file path

Disassembly:
push 0x264
mov eax, 0x61057e1
call fcn.060f40c7
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor esi, esi
push esi
push 0x60d14dd
push 8
push 0x3c
push 0x612a310
push eax
call fcn.060f4ddc
add esp, 0x18
lea ecx, [ebp - 0x268]
mov ebx, eax
call fcn.060c3335
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
test ebx, ebx
je 0x60d1976
mov eax, dword [ebx + 4]
cmp eax, 0xf0000000
je 0x60d196a
cmp eax, 0xf0000001
je 0x60d1965
cmp eax, 0xf0000002
je 0x60d17ff
cmp eax, 0xf0000003
je 0x60d17aa
lea ecx, [ebp - 0x23c]
push ecx
push 1
push esi
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x60d1797
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60d1976
test byte [eax + 0x1c], 1
je 0x60d1976
cmp byte [eax + 0x19], 2
jb 0x60d1976
push 0x612a300
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060c1d8a
add esp, 0x10
jmp 0x60d1976
lea eax, [ebp - 0x23c]
push eax
mov ecx, edi
call fcn.060c379a
jmp 0x60d184f
push 0x613c2e0
lea ecx, [ebp - 0x240]
call fcn.060c30c1
lea eax, [ebp - 0x240]
push eax
push dword [0x613afa8]
mov byte [ebp - 4], 2
call fcn.060d14f1
pop ecx
pop ecx
test eax, eax
jns 0x60d17e9
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
call fcn.060511e0
jmp 0x60d1976
lea eax, [ebp - 0x240]
push eax
mov ecx, edi
call fcn.060d2184
mov ecx, dword [ebp - 0x240]
jmp 0x60d1847
push 0x613c2e0
lea ecx, [ebp - 0x244]
call fcn.060c30c1
lea eax, [ebp - 0x244]
push eax
push dword [0x613afa4]
mov byte [ebp - 4], 3
call fcn.060d14f1
pop ecx
pop ecx
test eax, eax
jns 0x60d1833
mov ecx, dword [ebp - 0x244]
jmp 0x60d17dc
lea eax, [ebp - 0x244]
push eax
mov ecx, edi
call fcn.060d2184
mov ecx, dword [ebp - 0x244]
lea ecx, [ecx - 0x10]
call fcn.060511e0
xor esi, esi
inc esi
jmp 0x60d1976
push edi
push 0x1c
jmp 0x60d196d
push edi
push 0x23
call fcn.060d15c5
pop ecx
mov esi, eax
pop ecx
lea ecx, [ebp - 0x268]
call fcn.060c3371
mov eax, esi
call fcn.060f4019
ret
Function at 0x60d36d6
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x64
mov eax, 0x6105908
call fcn.060f40c7
mov esi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
and dword [ebp - 0x3c], 0
and dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
push ecx
push 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
push eax
push dword [esi + 4]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esi + 8], eax
test eax, eax
je 0x60d371c
xor eax, eax
jmp 0x60d3896
xor ecx, ecx
inc ecx
cmp dword [ebp - 0x3c], ecx
je 0x60d375f
cmp dword [ebp - 0x3c], 2
je 0x60d375f
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60d3756
test byte [eax + 0x1c], cl
je 0x60d3756
cmp byte [eax + 0x19], 2
jb 0x60d3756
push 0x612af50
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060c1d8a
add esp, 0x10
mov dword [esi + 8], 0xd
jmp 0x60d3715
test byte [ebp - 0x38], cl
je 0x60d3784
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60d3756
test byte [eax + 0x1c], cl
je 0x60d3756
cmp byte [eax + 0x19], 2
jb 0x60d3756
push 0x612af50
push 0x1a
jmp 0x60d3748
lea ecx, [ebp - 0x68]
call fcn.060c3335
mov eax, dword [ebp - 0x38]
and dword [ebp - 4], 0
add eax, 2
mov dword [ebp - 0x38], eax
shr eax, 1
push eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.060c5b26
lea ecx, [ebp - 0x38]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
push dword [ebp - 0x44]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
mov ecx, ebx
mov dword [esi + 8], eax
call fcn.060c5c64
cmp dword [esi + 8], 0
je 0x60d3871
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60d3804
test byte [eax + 0x1c], 1
je 0x60d3804
cmp byte [eax + 0x19], 2
jb 0x60d3804
push dword [esi + 8]
push 0x612af50
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060c9d63
add esp, 0x14
mov ecx, ebx
call fcn.060c31d9
jmp 0x60d3871
lea ecx, [ebp - 0x68]
call fcn.060c3531
test al, al
je 0x60d3884
mov dword [esi + 8], 0xe
xor ebx, ebx
cmp dword [esi + 8], ebx
lea ecx, [ebp - 0x68]
sete bl
call fcn.060c3371
mov eax, ebx
call fcn.060f4019
ret 8

Function at 0x60d394f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 1
push edi
mov edi, ecx
je 0x60d3998
cmp dword [ebp + 0x10], 2
je 0x60d3998
cmp dword [ebp + 0x10], 7
je 0x60d3998
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60d3994
test byte [eax + 0x1c], 1
je 0x60d3994
cmp byte [eax + 0x19], 2
jb 0x60d3994
push 0x612af50
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060c1d8a
add esp, 0x10
xor eax, eax
jmp 0x60d39c9
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov dword [edi + 8], eax
mov eax, ecx
pop edi
pop ebp
ret 0xc
Function at 0x60d3a23
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 8], 4
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esi + 8], eax
test eax, eax
je 0x60d3a5a
xor eax, eax
jmp 0x60d3a99
cmp dword [ebp - 4], 4
je 0x60d3a96
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60d3a8d
test byte [eax + 0x1c], 1
je 0x60d3a8d
cmp byte [eax + 0x19], 2
jb 0x60d3a8d
push 0x612af50
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060c1d8a
add esp, 0x10
mov dword [esi + 8], 0xd
jmp 0x60d3a56
xor eax, eax
inc eax
pop esi
leave
ret 8