joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f1a7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc9c
mov eax, dword [0x4a0b70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc88], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0xc8c], eax
mov eax, dword [esi + 0x870]
add eax, 0x20
mov ecx, eax
shl ecx, 3
cmp ecx, 0x320
mov dword [ebp - 0xc9c], ecx
jb 0x40f1f4
xor eax, eax
jmp 0x40f3d0
push edi
mov edi, eax
shl edi, 4
push edi
lea eax, [ebp - 0xc84]
push 0
push eax
call fcn.0042e7f0
push edi
lea eax, [ebp - 0x644]
push 0
push eax
call fcn.0042e7f0
mov ecx, dword [ebp + 0x18]
add esp, 0x18
test ecx, ecx
jbe 0x40f354
mov eax, dword [ebp + 0x14]
mov edi, dword [esi + 0x30]
shl eax, 2
mov dword [ebp - 0xc90], eax
mov eax, dword [ebp + 0x10]
shl eax, 2
push ebx
mov ebx, dword [esi + 0x34]
mov dword [ebp - 0xc94], eax
mov dword [ebp - 0xc98], ecx
jmp 0x40f253
mov eax, dword [ebp - 0xc94]
mov ecx, dword [ebp - 0xc88]
and ecx, 7
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [ebp - 0xc88]
shr ecx, 3
mov cl, byte [ecx + ebx]
test cl, dl
jne 0x40f27d
mov eax, dword [ebp - 0xc88]
movzx eax, byte [edi + eax]
jmp 0x40f2c1
mov ecx, dword [ebp - 0xc88]
cmp byte [edi + ecx], 7
mov ecx, dword [esi + 0x2c]
push dword [ecx + eax]
push esi
jae 0x40f2ab
call fcn.0040d511
mov ecx, dword [ebp - 0xc88]
movzx ecx, byte [edi + ecx]
movzx eax, al
lea eax, [ecx + eax*8 + 0x100]
jmp 0x40f2ba
call fcn.0040d511
movzx eax, al
lea eax, [eax*8 + 0x107]
add dword [ebp - 0xc94], 4
inc dword [ebp - 0xc88]
lea eax, [ebp + eax*2 - 0xc84]
inc word [eax]
mov eax, dword [ebp - 0xc8c]
xor edx, edx
mov ecx, eax
and ecx, 7
inc edx
shl edx, cl
mov ecx, eax
shr ecx, 3
mov cl, byte [ecx + ebx]
test cl, dl
jne 0x40f2f3
movzx eax, byte [edi + eax]
jmp 0x40f337
cmp byte [edi + eax], 7
mov ecx, dword [ebp - 0xc90]
mov eax, dword [esi + 0x2c]
push dword [eax + ecx]
push esi
jae 0x40f321
call fcn.0040d511
mov ecx, dword [ebp - 0xc8c]
movzx ecx, byte [edi + ecx]
movzx eax, al
lea eax, [ecx + eax*8 + 0x100]
jmp 0x40f330
call fcn.0040d511
movzx eax, al
lea eax, [eax*8 + 0x107]
add dword [ebp - 0xc90], 4
inc dword [ebp - 0xc8c]
lea eax, [ebp + eax*2 - 0x644]
inc word [eax]
dec dword [ebp - 0xc98]
jne 0x40f24d
pop ebx
xor esi, esi
xor edi, edi
cmp dword [ebp - 0xc9c], esi
jbe 0x40f3cd
movzx eax, word [ebp + esi*2 - 0xc84]
cmp ax, 0x100
movzx eax, ax
jae 0x40f37a
movzx eax, byte [eax + 0x471b50]
jmp 0x40f387
shr eax, 8
movzx eax, byte [eax + 0x471b50]
add eax, 8
movzx ecx, word [ebp + esi*2 - 0x644]
cmp cx, 0x100
movzx ecx, cx
jae 0x40f3a2
movzx ecx, byte [ecx + 0x471b50]
jmp 0x40f3af
shr ecx, 8
movzx ecx, byte [ecx + 0x471b50]
add ecx, 8
mov eax, dword [eax*4 + 0x471b08]
sub eax, dword [ecx*4 + 0x471b08]
cdq
xor eax, edx
sub eax, edx
add edi, eax
inc esi
cmp esi, dword [ebp - 0xc9c]
jb 0x40f360
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042e0e3
leave
ret 0x14
Function at 0x412b1c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x412b64
call fcn.004155a7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x412b64
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x412ba7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x412b90
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x412b90
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x412ba4
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x414847
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46b894
call fcn.0043261e
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41486c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4148b2
lea ecx, [ebp - 0x10]
call fcn.004051c0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00410022
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004029d0
mov eax, esi
call fcn.004326f6
ret 8

Function at 0x41cd71
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41cdb8
call fcn.004155a7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41cdb8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41cdd4
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041c8e9
mov esi, eax
test edi, edi
je 0x41cdd2
test ebx, ebx
je 0x41cdd2
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41da29
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x41da4d
cmp dword [edi + 0x54], 0
jne 0x41da4d
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004155a7
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041d9ea
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42e0e3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a0b70]
jne 0x42e0ed
repz ret
jmp fcn.004379ee

Function at 0x43e0be
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x43e0ef
call fcn.0042f8a1
mov dword [eax], esi
call fcn.0042f88e
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00437c2b
add esp, 0x14
push 0x16
pop eax
jmp 0x43e144
test dword [ebp + 0xc], 0xfffffff9
jne 0x43e0cb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43e11c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042f8b4
pop ecx
call fcn.0042f88e
mov eax, dword [eax]
jmp 0x43e144
test al, 0x10
jne 0x43e142
test al, 1
je 0x43e142
test byte [ebp + 0xc], 2
je 0x43e142
call fcn.0042f8a1
mov dword [eax], 5
call fcn.0042f88e
mov dword [eax], 0xd
jmp 0x43e113
xor eax, eax
pop esi
pop ebp
ret

Function at 0x440e24
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x7ab5b], al
inc dword [eax]
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
inc dword [eax]
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
jle 0x440e09
test dword [eax + edi*8 - 1], ebx
jmp dword [ecx]
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.0043f124
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.0043f085
add esp, 0xc
jmp fcn.0044108c
jle 0x440e09
test dword [eax + edi*8 - 1], ebx
jmp dword [ecx]
Function at 0x4427e6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00437352
and dword [ebp - 4], 0
cmp dword [0x4a4a08], 0
mov ebx, eax
jne 0x442897
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x442948
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x442948
push eax
call fcn.004372e0
mov dword [esp], 0x476520
push edi
mov dword [0x4a4a08], eax
call esi
push eax
call fcn.004372e0
mov dword [esp], 0x47650c
push edi
mov dword [0x4a4a0c], eax
call esi
push eax
call fcn.004372e0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a4a10], eax
call esi
push eax
call fcn.004372e0
pop ecx
mov dword [0x4a4a18], eax
test eax, eax
je 0x442897
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004372e0
pop ecx
mov dword [0x4a4a14], eax
mov eax, dword [0x4a4a14]
cmp eax, ebx
je 0x4428ef
cmp dword [0x4a4a18], ebx
je 0x4428ef
push eax
call fcn.0043735b
push dword [0x4a4a18]
mov esi, eax
call fcn.0043735b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4428ef
test edi, edi
je 0x4428ef
call esi
test eax, eax
je 0x4428e6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4428e6
test byte [ebp - 0xc], 1
jne 0x4428ef
or dword [ebp + 0x10], 0x200000
jmp 0x442928
mov eax, dword [0x4a4a0c]
cmp eax, ebx
je 0x442928
push eax
call fcn.0043735b
pop ecx
test eax, eax
je 0x442928
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x442928
mov eax, dword [0x4a4a10]
cmp eax, ebx
je 0x442928
push eax
call fcn.0043735b
pop ecx
test eax, eax
je 0x442928
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a4a08]
call fcn.0043735b
pop ecx
test eax, eax
je 0x442948
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44294a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x448110
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x448150
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44815d
mov dword [ebp - 8], 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x448170
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 4
mov dword [ebp - 0xc], 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
push ecx
push 0xf003f
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x448202
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp + 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 0
jne 0x448202
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x448210
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44826f
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4482e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x4a0b70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov word [ebp - 0x430], ax
push 0x208
push 0
lea ecx, [ebp - 0x42e]
push ecx
call fcn.0042e7f0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x218], dx
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.0042e7f0
add esp, 0xc
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x438], 0
push 0x105
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x434]
push ecx
push 0x105
lea edx, [ebp - 0x430]
push edx
push 0x47a654
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4483a6
push 0xa
push 0x104
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
call fcn.0042ef28
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x4483c8
push 0x47a65c
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.00408ec0
cmp dword [ebp + 0xc], 0
je 0x4483e0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x104
mov edx, dword [ebp + 8]
push edx
call fcn.00408ec0
mov dword [ebp - 0x21c], 0
jmp 0x4483fb
mov eax, dword [ebp - 0x21c]
add eax, 1
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp - 0x21c], eax
jge 0x44847d
mov ecx, dword [ebp - 0x21c]
xor ecx, 2
mov eax, dword [ebp - 0x21c]
cdq
mov esi, 0xf
idiv esi
imul ecx, edx
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp + 8]
movzx edx, word [eax + edx*2]
add edx, ecx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp + 8]
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2]
cmp ecx, 0xff
jle 0x448478
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2]
sub ecx, 0x100
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp + 8]
mov word [eax + edx*2], cx
jmp 0x4483ec
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e0e3
mov esp, ebp
pop ebp
ret
Function at 0x448490
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4484b5
mov dword [ebp - 4], 0x80
push 0x80
mov ecx, dword [ebp + 8]
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
mov ecx, dword [ebp + 8]
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4484f7
xor eax, eax
jmp 0x44852e
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x448820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x104
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4488d1
push 0x208
call fcn.0042f223
add esp, 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xea
jne 0x4488d1
mov edx, dword [ebp - 0x14]
push edx
call fcn.0042f146
add esp, 4
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.0042f223
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4488e3
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00401ec0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0042f146
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x448b80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401ee0
lea ecx, [ebp - 0xc]
call fcn.004027a0
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x448c31
cmp dword [ebp + 0x18], 1
je 0x448bd7
cmp dword [ebp + 0x18], 2
jne 0x448c01
mov edx, dword [ebp - 4]
shl edx, 1
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x448c27
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x18]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xc]
call fcn.00405260
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x449210
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d853
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4a0b70]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp + 0xc]
call fcn.00402370
push 8
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.0042e7f0
add esp, 0xc
push 8
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0042e7f0
add esp, 0xc
push 8
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.0042e7f0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401fa0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401670
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x18]
call fcn.004027a0
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x24], ecx
mov ecx, 0x4a4b4c
call fcn.00401670
mov dword [ebp - 0x10], eax
mov ecx, 0x4a4b4c
call fcn.004027a0
shr eax, 1
add eax, 1
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x2c]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push str.Encrypted_by_Adobe.
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x449376
mov edx, dword [str.0123456789ABCDEF]
mov dword [ebp - 0x44], edx
mov eax, dword [0x47a6a4]
mov dword [ebp - 0x40], eax
mov ecx, dword [0x47a6a8]
mov dword [ebp - 0x3c], ecx
mov edx, dword [0x47a6ac]
mov dword [ebp - 0x38], edx
mov al, byte [0x47a6b0]
mov byte [ebp - 0x34], al
mov dword [ebp - 0x48], 0
jmp 0x449325
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x2c]
jae 0x449363
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x48]
movzx ecx, byte [eax]
sar ecx, 4
movzx edx, byte [ebp + ecx - 0x44]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00405150
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x48]
movzx ecx, byte [eax]
and ecx, 0xf
movzx edx, byte [ebp + ecx - 0x44]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00405150
jmp 0x44931c
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4493a3
push str.Encryption_failed.
lea ecx, [ebp - 0x4c]
call fcn.00401ee0
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x4c]
push ecx
push 1
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00405260
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00401b90
push 0xffffffffffffffff
mov ecx, 0x4a4b4c
call fcn.00401b90
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405260
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0042e0e3
mov esp, ebp
pop ebp
ret
Function at 0x44ad80
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dbd3
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x20], eax
push 0x643
mov ecx, 0x4a4b78
call fcn.004010e0
movzx eax, al
test eax, eax
jne 0x44add7
cmp dword [ebp - 0x20], 0
jne 0x44ae1b
push 0x479608
lea ecx, [ebp - 0x48]
call fcn.00401ee0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 0x643
mov ecx, 0x4a4b78
call fcn.00401100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00405260
xor eax, eax
jmp 0x44af31
push 4
push str.MSIServer
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x10], eax
push 0x644
mov ecx, 0x4a4b78
call fcn.004010e0
movzx eax, al
test eax, eax
jne 0x44ae4b
cmp dword [ebp - 0x10], 0
jne 0x44ae99
push str.OpenSCManager_failed:
lea ecx, [ebp - 0x4c]
call fcn.00401ee0
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 0x644
mov ecx, 0x4a4b78
call fcn.00401100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00405260
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x44af31
lea eax, [ebp - 0x18]
push eax
push 0x24
lea ecx, [ebp - 0x44]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov dword [ebp - 0x14], eax
push 0x641
mov ecx, 0x4a4b78
call fcn.004010e0
movzx eax, al
test eax, eax
jne 0x44aece
cmp dword [ebp - 0x14], 0
jne 0x44af0d
push str.QueryServiceStatusEx_failed
lea ecx, [ebp - 0x50]
call fcn.00401ee0
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0x641
mov ecx, 0x4a4b78
call fcn.00401100
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00405260
jmp 0x44af1a
cmp dword [ebp - 0x3c], 4
jne 0x44af1a
mov dword [ebp - 0x1c], 1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret