joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010be0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e7f0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x1003c008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0xc
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.wintrust.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10007140
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.10011730
mov ecx, eax
call fcn.100117f0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10010c95
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010c8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010dce
push edx
push ecx
call fcn.100168c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push 0xb
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], eax
push str.crypt32.dll
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.10007140
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.10011730
mov ecx, eax
call fcn.100117f0
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10010d2a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010d1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010dd3
push edx
push ecx
call fcn.100168c9
mov eax, dword [ebp - 0x10]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
test edi, edi
je 0x10010dbc
test eax, eax
je 0x10010dbc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push edi
call esi
push str.CryptCATAdminAcquireContext
push edi
mov dword [ebx + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push edi
mov dword [ebx + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push edi
mov dword [ebx + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push edi
mov dword [ebx + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push edi
mov dword [ebx + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push edi
mov dword [ebx + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push edi
mov dword [ebx + 0x1c], eax
call esi
push str.WinVerifyTrust
push edi
mov dword [ebx + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [ebx + 0x24], eax
call esi
mov dword [ebx + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1001abba
call fcn.1001abba
int3
Function at 0x100121b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e998
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1003c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100121e6
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10012290
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.100124a0
test al, al
je 0x1001223f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001227c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10012272
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100122ad
push edx
push ecx
call fcn.100168c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
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.10016207
mov esp, ebp
pop ebp
ret
call fcn.1001abba
int3
Function at 0x100128d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10039f80
push 0x10017e40
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1003c008]
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 - 0x34], eax
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [ecx]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x40], edi
test edi, edi
jne 0x10012939
xor eax, eax
jmp 0x10012aaf
mov dword [ebp - 4], ebx
push str.InitializeSecurityDescriptor
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10012a7a
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x10012a7a
push str.AllocateAndInitializeSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10012a7a
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x10012a7a
push str.GetLengthSid
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10012a7a
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x10012a7a
push str.InitializeAcl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10012a7a
push 2
push dword [ebp - 0x30]
push esi
call eax
test eax, eax
je 0x10012a7a
push str.AddAccessAllowedAce
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10012a7a
push dword [ebp - 0x28]
push 0x10000000
push 2
push esi
call eax
test eax, eax
je 0x10012a7a
push str.SetSecurityDescriptorDacl
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10012a7a
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10012a63
push 0
push ecx
push 1
push dword [ebp - 0x34]
call eax
test eax, eax
je 0x10012a50
mov ebx, 1
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x2c], 0
je 0x10012a60
jmp 0x10012a7a
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push esi
push 1
push dword [ebp - 0x34]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.10012ad6
test ebx, ebx
jne 0x10012aad
test esi, esi
je 0x10012a9f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10012aad
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
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.10016207
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100131c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ebc8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1003c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x10013203
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.10012710
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x1001322c
lea eax, [esi + 8]
jmp 0x1001322e
xor eax, eax
cmp dword [ebx + 0x10], 0
je 0x1001323e
cmp dword [ebx + 0x14], 8
jb 0x10013240
mov ebx, dword [ebx]
jmp 0x10013240
xor ebx, ebx
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x10013261
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10013261
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x1001328a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1001329f
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.100168c9
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10016207
mov esp, ebp
pop ebp
ret 4
Function at 0x10014b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x1003dc60], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x1003d960], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x1003db60], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x1003da60], al
inc esi
cmp esi, 0x100
jl 0x10014c10
pop esi
add esp, 0x80
ret

Function at 0x100274a0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002eea8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1003c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x10027560
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push 2
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push 0x80000002
call fcn.10002520
mov esi, dword [ebp - 0x1c]
test eax, eax
jne 0x10027529
push str.C4F75DB1_B9F4_425A_9F5B_778911BCF176
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x10027539
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10027559
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
sub esp, 8
call fcn.100055b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10016207
mov esp, ebp
pop ebp
ret
Function at 0x10027590
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002eed5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1003c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x100276d9
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push 2
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push 0x80000002
call fcn.10002520
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10027690
sub esp, 0x14
lea ecx, [ebp - 0x1c]
push str.SoftwareMicrosoftWindowsCurrentVersionShell_Extensions
push 0x80000002
call fcn.10002440
test eax, eax
jne 0x10027642
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002763b
push eax
call edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
sub esp, 0x14
lea ecx, [ebp - 0x1c]
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push 0x80000002
call fcn.10002440
test eax, eax
jne 0x10027673
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002766c
push eax
call edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 2
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push 0x80000002
lea ecx, [ebp - 0x1c]
call fcn.10002520
test eax, eax
je 0x10027690
mov esi, dword [ebp - 0x1c]
jmp 0x100276bd
mov esi, dword [ebp - 0x1c]
push 0x3a
push str.2345_PC_Safe_Shell_Extension
push 1
push 0
push str.C4F75DB1_B9F4_425A_9F5B_778911BCF176
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x100276b6
push esi
call edi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x100276d2
push esi
call edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
sub esp, 8
call fcn.100053b0
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.10016207
mov esp, ebp
pop ebp
ret
Function at 0x10027e70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ef8f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1003c008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
mov dword [eax], 0
add eax, 4
mov dword [ebp - 0x18], eax
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov byte [eax + 0x18], 0
mov dword [ebp - 4], 2
push 0x1003d924
mov dword [edi + 0x28], 0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0x40
call fcn.10016903
mov esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 3
push 0x40
push 0
push esi
call fcn.10018520
add esp, 0x10
mov dword [esi], vtable.RC::IAvShellExt.1.0
mov dword [esi + 4], vtable.RC::IAvShellExt.0
mov byte [ebp - 4], 4
mov dword [esi], vtable.RC::RCAvShellExt.0
mov dword [esi + 4], vtable.RC::RCAvShellExt.1.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [ebp - 4], 5
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [ebp - 4], 6
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 7
mov dword [esi + 0x3c], 0
mov dword [0x1003d914], 0x1003d91c
mov dword [esi + 0x34], 0
mov byte [esi + 0x38], 0
mov byte [ebp - 4], 2
mov dword [edi + 0x28], esi
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100282a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x1003c008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x78
lea eax, [ebp - 0x7c]
mov esi, 0x60
push 0
push eax
call fcn.10018520
add esp, 0xc
mov dword [ebp - 0x80], 0x76
lea eax, [ebp - 0x80]
mov dword [ebp - 0x84], 1
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x84]
push eax
push str.LastLoadedDPI
push str.SoftwareMicrosoftWindowsCurrentVersionThemeManager
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1002830c
lea ecx, [ebp - 0x7c]
call fcn.1000a0b0
mov esi, eax
push 0x60
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
mov eax, 0x51eb851f
shl ecx, 4
imul ecx
mov ecx, dword [ebp - 4]
sar edx, 5
xor ecx, ebp
mov eax, edx
shr eax, 0x1f
add eax, edx
pop esi
call fcn.10016207
mov esp, ebp
pop ebp
ret
Function at 0x1002a530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f29b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x1003c008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov esi, ecx
mov dword [ebp - 0x240], esi
lea eax, [ebp - 0x244]
mov dword [ebp - 0x24c], esi
push eax
push 0x20019
push 0
push str.SOFTWARE2345PCSafe
mov dword [ebp - 0x248], 0
push 0x80000002
mov dword [ebp - 0x244], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1002a5c8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x248], 1
jmp 0x1002a7b3
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10018520
add esp, 0xc
mov dword [ebp - 0x23c], 0x208
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x240], 1
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x240]
push eax
push 0
push str.Path
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x244]
test eax, eax
je 0x1002a64f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x248], 1
jmp 0x1002a7b3
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x23c]
cmp eax, 0x104
ja 0x1002a67b
add eax, eax
cmp eax, 0x20a
jae 0x1002a7d0
xor ecx, ecx
mov word [ebp + eax - 0x220], cx
jmp 0x1002a681
xor eax, eax
mov word [ebp - 0x18], ax
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002a6c2
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.10007140
push 0x1003653c
lea ecx, [ebp - 0x238]
call fcn.10007290
lea ecx, [ebp - 0x238]
test bl, bl
je 0x1002a705
push str.2345MPCSafe.exe
jmp 0x1002a70a
push str.2345ShellPro.exe
call fcn.10007290
lea ecx, [ebp - 0x238]
call fcn.1000aa10
test al, al
je 0x1002a76e
lea eax, [ebp - 0x238]
mov ecx, esi
push eax
call fcn.10007050
mov dword [ebp - 0x248], 1
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x1002a79a
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002a790
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a7d5
jmp 0x1002a790
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x248], 1
mov byte [ebp - 4], al
jmp 0x1002a73a
push edx
push ecx
call fcn.100168c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov dword [ebp - 0x228], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10016207
mov esp, ebp
pop ebp
ret
call fcn.1001633e
call fcn.1001abba
int3
Function at 0x1002c9d0
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x1003c008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x10
mov esi, ecx
call fcn.10016903
mov dword [esi], eax
push 0x118
push 0
mov dword [eax], 0
mov eax, dword [esi]
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax + 8], 0
mov eax, dword [esi]
mov dword [eax + 0xc], 0
lea eax, [ebp - 0x13c]
push eax
call fcn.10018520
add esp, 0x10
mov dword [ebp - 0x140], 0x11c
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002cb35
cmp dword [ebp - 0x13c], 6
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
ja 0x1002ca6f
jne 0x1002caf0
cmp dword [ebp - 0x138], 2
jb 0x1002caf0
push str.kernel32.dll
call ebx
mov edi, eax
test edi, edi
je 0x1002caf0
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1002caf0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1002caf0
movups xmm0, xmmword [0x10036994]
push eax
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [0x100369a4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x1002caf0
lea eax, [ebp - 0x24]
push eax
lea eax, [edi + 6]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1002caf0
cmp word [edi + 2], ax
jbe 0x1002caf0
movzx edx, word [edi + 0x32]
movzx ecx, word [edi + 0x30]
movzx eax, word [edi + 0x36]
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], eax
push str.ntdll.dll
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlGetVersion
push eax
call ebx
mov edi, eax
test edi, edi
je 0x1002cb34
push 0x118
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.10018520
add esp, 0xc
mov dword [ebp - 0x25c], 0x11c
lea eax, [ebp - 0x25c]
push eax
call edi
pop edi
cmp dword [ebp - 0x13c], 6
jb 0x1002cb82
push str.UXTHEME.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x1002cb82
push str.GetBufferedPaintBits
push eax
call ebx
mov ecx, dword [esi]
push str.BeginBufferedPaint
mov dword [ecx + 4], eax
mov eax, dword [esi]
push dword [eax]
call ebx
mov ecx, dword [esi]
push str.EndBufferedPaint
mov dword [ecx + 8], eax
mov ecx, dword [esi]
push dword [ecx]
call ebx
mov ecx, dword [esi]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10016207
mov esp, ebp
pop ebp
ret