joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bfb00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 8]
mov byte [ebp - 1], 0
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat11.0FeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 3], 0
xor bh, bh
mov byte [ebp - 2], 0
or esi, 0xffffffff
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bfb6d
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bGoCart
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bfb6d
mov esi, dword [ebp - 0x14]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4bfb80
test esi, esi
sete byte [ebp - 1]
lea eax, [ebp - 8]
or esi, 0xffffffff
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat2015FeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bfbd7
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bGoCart
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bfbd7
mov esi, dword [ebp - 0xc]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4bfbea
test esi, esi
sete byte [ebp - 2]
lea eax, [ebp - 8]
or esi, 0xffffffff
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bfc41
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bGoCart
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bfc41
mov esi, dword [ebp - 0xc]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4bfc54
test esi, esi
sete byte [ebp - 3]
lea eax, [ebp - 8]
or esi, 0xffffffff
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat2017FeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bfcab
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bGoCart
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bfcab
mov esi, dword [ebp - 0xc]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4bfcbd
test esi, esi
sete bh
cmp byte [ebp - 1], 0
jne 0x4bfcdb
cmp byte [ebp - 2], 0
jne 0x4bfcdb
cmp byte [ebp - 3], 0
jne 0x4bfcdb
test bh, bh
jne 0x4bfcdb
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bfcf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
test ecx, ecx
je 0x4bfd70
cmp dword [ebp + 0x10], 0
je 0x4bfd70
push ebx
lea eax, [ebp - 4]
xor bl, bl
push eax
movzx eax, byte [ebp + 0x18]
xor eax, 1
shl eax, 8
add eax, 0x101
push eax
push 0
push ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bfd60
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bfd60
mov ecx, dword [ebp + 0x14]
mov bl, 1
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x4bfd80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 8]
mov byte [ebp - 1], 0
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat11.0FeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 2], 0
xor bh, bh
mov byte [ebp - 3], 0
or esi, 0xffffffff
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bfded
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bUpdater
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bfded
mov esi, dword [ebp - 0x14]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4bfe00
test esi, esi
sete byte [ebp - 1]
lea eax, [ebp - 8]
or esi, 0xffffffff
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bfe57
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bUpdater
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bfe57
mov esi, dword [ebp - 0xc]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4bfe6a
test esi, esi
sete byte [ebp - 2]
lea eax, [ebp - 8]
or esi, 0xffffffff
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat2015FeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bfec1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bUpdater
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bfec1
mov esi, dword [ebp - 0xc]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4bfed4
test esi, esi
sete byte [ebp - 3]
lea eax, [ebp - 8]
or esi, 0xffffffff
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat2017FeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bff2b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bUpdater
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bff2b
mov esi, dword [ebp - 0xc]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4bff3d
test esi, esi
sete bh
cmp byte [ebp - 1], 0
jne 0x4bff5b
cmp byte [ebp - 2], 0
jne 0x4bff5b
cmp byte [ebp - 3], 0
jne 0x4bff5b
test bh, bh
jne 0x4bff5b
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bff70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push ebx
push esi
push eax
push 0x101
push 0
push 0x71be38
push reloc.OLEAUT32.dll_SysReAllocString
or esi, 0xffffffff
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bffcf
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.newInstall
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bffcf
mov esi, dword [ebp - 0x10]
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4bffe8
cmp esi, 1
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c0140
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x7f3784]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x21c], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4c0190
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4c01a2
cmp eax, 2
jne 0x4c02fe
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063bad7
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebx + eax*2 - 2], 0x5c
lea edi, [ebx + eax*2]
mov dword [ebp - 0x218], edi
je 0x4c01d1
mov eax, 0x5c
mov word [edi], ax
add edi, 2
xor eax, eax
mov dword [ebp - 0x218], edi
mov word [edi], ax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x210], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4c02db
nop dword [eax]
xor eax, eax
mov ecx, 0x208
mov word [edi], ax
mov eax, ebx
nop dword [eax]
cmp word [eax], 0
je 0x4c022e
add eax, 2
sub ecx, 1
jne 0x4c0220
mov eax, 0x208
mov esi, ecx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x4c028c
mov edx, 0x208
lea ecx, [ebx + esi*2]
sub edx, esi
je 0x4c027f
lea edi, [ebp - 0x20c]
mov eax, SysReAllocString
sub edi, ecx
nop word [eax + eax]
test eax, eax
je 0x4c0279
movzx esi, word [edi + ecx]
test si, si
je 0x4c0279
mov word [ecx], si
dec eax
add ecx, 2
sub edx, 1
jne 0x4c0260
mov edi, dword [ebp - 0x218]
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x21c]
push ebx
push esi
call fcn.004c0140
add esp, 8
test al, al
je 0x4c02db
lea eax, [ebp - 0x224]
mov dword [ebp - 0x210], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4c0210
xor eax, eax
mov word [edi - 2], ax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
test eax, eax
je 0x4c0190
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.0063bad7
mov esp, ebp
pop ebp
ret

Function at 0x4c03b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, edx
push esi
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c03c0
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop ebp
ret
Function at 0x4c0ca0
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x78a4d0
push 0x6517c0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x7f3784]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov edi, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0x7530
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x4c0e36
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4c0e00
push dword [ebp - 0x44]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x54], esi
test esi, esi
je 0x4c0e00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
push esi
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
je 0x4c0ded
xor edi, edi
mov dword [ebp - 0x50], edi
cmp edi, dword [ebp - 0x48]
jae 0x4c0e2a
lea eax, [edi + edi*8]
movups xmm1, xmmword [esi + eax*4]
movups xmm0, xmmword [esi + eax*4 + 0x10]
movups xmmword [ebp - 0x74], xmm0
mov eax, dword [esi + eax*4 + 0x20]
mov dword [ebp - 0x64], eax
push 0x24
movd eax, xmm1
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x60], esi
test esi, esi
je 0x4c0ded
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4c0ded
cmp dword [ebp - 0x3c], 1
je 0x4c0e04
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x44]
push eax
push 0x24
lea eax, [ebp - 0x40]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4c0ded
cmp dword [ebp - 0x3c], 1
je 0x4c0e04
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
jbe 0x4c0db3
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x7f3784
call fcn.00651920
add esp, 0xc
xor eax, eax
jmp 0x4c0e3b
mov dword [ebp - 4], 0
call fcn.004c0e22
inc edi
mov dword [ebp - 0x50], edi
mov esi, dword [ebp - 0x54]
jmp 0x4c0d62
mov dword [ebp - 4], 0xfffffffe
call fcn.004c0e5a
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0063bad7
mov esp, ebp
pop ebp
ret
Function at 0x4c2dd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x53c
mov eax, dword [0x7f3784]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor edi, edi
push edi
push eax
call fcn.00651620
add esp, 0xc
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c2e36
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateToolhelp32Snapshot__Error:__d
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push edi
call fcn.005645a0
add esp, 0x18
jmp 0x4c2f95
lea eax, [ebp - 0x53c]
mov dword [ebp - 0x53c], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4c2e62
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_Process32First__Error:__d
jmp 0x4c2f7a
push 3
lea eax, [ebp - 0x30c]
push str.explorer.exe
lea ecx, [ebp - 0x310]
mov dword [ebp - 0x310], eax
call fcn.004a2500
push dword [ebp - 0x310]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00665315
mov eax, dword [ebp - 0x310]
lea ecx, [ebp - 0x30c]
add esp, 0xc
cmp eax, ecx
je 0x4c2ec0
push eax
call fcn.00665390
add esp, 4
nop dword [eax]
nop word [eax + eax]
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x518]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c2ef6
test dx, dx
je 0x4c2ef2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c2ef6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c2ed0
xor eax, eax
jmp 0x4c2efb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4c2f12
lea eax, [ebp - 0x53c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4c2ec0
jmp 0x4c2f1d
mov eax, dword [ebp - 0x534]
cmp eax, 0xffffffff
jne 0x4c2f3b
push str.Failed_to_find_explorer_process_id
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
add esp, 0x14
jmp 0x4c2f91
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4c2f5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_OpenProcess__Error:__d
jmp 0x4c2f7a
push ebx
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4c2f91
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_OpenProcessToken_of_explorer__Error:__d
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
add esp, 0x18
test esi, esi
je 0x4c2f9c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4c2fa7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0063bad7
mov esp, ebp
pop ebp
ret
Function at 0x4c5dc0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c4ae3
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x7f3784]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.004c8010
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp + 0x38]
push eax
mov byte [ebp - 4], 1
call fcn.0049f3b0
sub esp, 0x48
lea eax, [ebp + 8]
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x44], esi
push eax
call fcn.0048d700
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x18]
call fcn.0048d700
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x30]
call fcn.0048d700
call fcn.004c5f60
mov edi, eax
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
push eax
push edi
mov byte [ebp - 0x40], 0
call sym.AGSService.exe_AGDServiceConvertAGDStatusTypeEnumToString
add esp, 0x50
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x40]
lea ecx, [ebp + 8]
cmovae esi, dword [ebp - 0x28]
lea eax, [ebp + 0x20]
cmp dword [ebp - 0x2c], 0x10
push 0
cmovae edx, dword [ebp - 0x40]
cmp dword [ebp + 0x1c], 0x10
push esi
cmovae ecx, dword [ebp + 8]
cmp dword [ebp + 0x34], 0x10
push edx
cmovae eax, dword [ebp + 0x20]
push ecx
push eax
call sym.AGSService.exe_RSDServiceRecordStatus
mov edx, dword [ebp - 0x2c]
add esp, 0x14
cmp edx, 0x10
jb 0x4c5edf
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c5ed5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c5f58
push edx
push ecx
call fcn.0063bb18
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x4c5f21
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c5f17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c5f58
push edx
push ecx
call fcn.0063bb18
add esp, 8
lea ecx, [ebp + 8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004b08a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0063bad7
mov esp, ebp
pop ebp
ret
call fcn.0065a824
int3
Function at 0x4c7ce0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4c7d26
mov ax, word [ebp + 0xc]
test ax, ax
je 0x4c7d26
push edi
movzx edi, ax
push edi
push esi
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cmp eax, 1
jbe 0x4c7d25
cmp eax, edi
jae 0x4c7d25
push edi
add eax, esi
push eax
push 0x5a
push 0x400
mov byte [eax - 1], 0x5f
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
pop edi
pop esi
pop ebp
ret

Function at 0x4c7e40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa30
mov eax, dword [0x7f3784]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp - 0xa2c], eax
mov dword [ebp - 0xa30], ecx
test eax, eax
je 0x4c7ff5
push 0x20a
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00651620
add esp, 0xc
xor eax, eax
mov word [ebp - 0xa28], ax
lea eax, [ebp - 0xa28]
push eax
push 0x1ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
dec eax
cmp eax, 0x1fe
ja 0x4c7ff5
mov eax, dword [0x71d290]
movzx ecx, word [ebp - 0xa28]
push esi
mov dword [ebp - 0xc], eax
mov ax, word [0x71d294]
push edi
mov word [ebp - 8], ax
lea edi, [ebp - 0xa28]
nop dword [eax]
push 0x104
lea eax, [ebp - 0x420]
mov word [ebp - 0xc], cx
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4c7fd6
lea esi, [ebp - 0x420]
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4c7f00
sub esi, ecx
sar esi, 1
cmp esi, 0x104
jae 0x4c7fd6
push esi
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0xa2c]
call fcn.00667925
add esp, 0xc
add esi, esi
test eax, eax
mov eax, dword [ebp - 0xa2c]
jne 0x4c7f4b
cmp word [esi + eax], 0x5c
jne 0x4c7f4b
mov ebx, 1
jmp 0x4c7f4d
xor ebx, ebx
test ebx, ebx
je 0x4c7fd6
add eax, esi
push eax
lea eax, [ebp - 0xc]
push eax
push 0x71d298
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.00489ea0
lea ecx, [ebp - 0x628]
add esp, 0x14
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c7f80
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x218]
push 0x105
push eax
call fcn.006678cb
lea ecx, [ebp - 0x218]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c7fb4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xa30]
push eax
call fcn.0049f4a0
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x4c7fd6
test ebx, ebx
jne 0x4c7ff3
movzx eax, word [edi]
mov ecx, eax
test ax, ax
jne 0x4c7ed0
pop edi
pop esi
mov ecx, dword [ebp - 4]
test ebx, ebx
pop ebx
setne al
xor ecx, ebp
call fcn.0063bad7
mov esp, ebp
pop ebp
ret