joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100136d5
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.1000bfaf
and dword [ebp - 4], 0
cmp dword [0x1001d184], 0
mov ebx, eax
jne 0x10013786
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10013837
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10013837
push eax
call fcn.1000bf3d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1001d184], eax
call esi
push eax
call fcn.1000bf3d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001d188], eax
call esi
push eax
call fcn.1000bf3d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1001d18c], eax
call esi
push eax
call fcn.1000bf3d
pop ecx
mov dword [0x1001d194], eax
test eax, eax
je 0x10013786
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000bf3d
pop ecx
mov dword [0x1001d190], eax
mov eax, dword [0x1001d190]
cmp eax, ebx
je 0x100137de
cmp dword [0x1001d194], ebx
je 0x100137de
push eax
call fcn.1000bfb8
push dword [0x1001d194]
mov esi, eax
call fcn.1000bfb8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100137de
test edi, edi
je 0x100137de
call esi
test eax, eax
je 0x100137d5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100137d5
test byte [ebp - 0xc], 1
jne 0x100137de
or dword [ebp + 0x10], 0x200000
jmp 0x10013817
mov eax, dword [0x1001d188]
cmp eax, ebx
je 0x10013817
push eax
call fcn.1000bfb8
pop ecx
test eax, eax
je 0x10013817
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10013817
mov eax, dword [0x1001d18c]
cmp eax, ebx
je 0x10013817
push eax
call fcn.1000bfb8
pop ecx
test eax, eax
je 0x10013817
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1001d184]
call fcn.1000bfb8
pop ecx
test eax, eax
je 0x10013837
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10013839
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402bda
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 4], 0
push edi
mov dword [ebp - 4], esi
jne 0x402bf0
call fcn.00402b7d
cmp dword [ebp + 0x10], 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
not eax
mov edx, 0xff
jb 0x402c8c
mov edi, dword [ebp + 0x10]
mov esi, dword [esi + 4]
shr edi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [esi + ebx*4]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [esi + ebx*4]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [esi + ebx*4]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [esi + ebx*4]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [esi + ebx*4]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [esi + ebx*4]
sub dword [ebp + 0x10], 8
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [esi + ebx*4]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [esi + ebx*4]
inc ecx
dec edi
jne 0x402c11
mov esi, dword [ebp - 4]
pop ebx
cmp dword [ebp + 0x10], 0
je 0x402ca8
mov esi, dword [esi + 4]
movzx edi, byte [ecx]
xor edi, eax
and edi, edx
shr eax, 8
xor eax, dword [esi + edi*4]
inc ecx
dec dword [ebp + 0x10]
jne 0x402c95
pop edi
not eax
pop esi
leave
ret 0xc
Function at 0x4064e1
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x4539f4]
xor eax, ebp
mov dword [ebp + 0x98], eax
push ebx
push esi
push edi
mov esi, 0x104
push esi
lea eax, [ebp - 0x6c]
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.dinput8.dll
lea eax, [ebp - 0x6c]
push esi
push eax
call dword [sym.imp.MSVCR90.dll_strcat_s]
xor ebx, ebx
lea eax, [ebp - 0x6c]
push ebx
push eax
call dword [sym.imp.MSVCR90.dll__access]
add esp, 0x14
test eax, eax
je 0x40653c
xor eax, eax
jmp 0x4066a1
mov ecx, edi
call fcn.00405c9f
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 8]
push ebx
lea esi, [edi + 0x58]
push esi
push 0x442abc
push 0x800
push eax
call sub.DINPUT8.dll_DirectInput8Create
test eax, eax
jl 0x406535
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
lea esi, [edi + 0x5c]
push esi
push 0x442adc
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x406583
mov ecx, edi
call fcn.00405c9f
jmp 0x406535
mov eax, dword [esi]
mov ecx, dword [eax]
push 0x442aa4
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x40657a
mov eax, dword [edi + 0x54]
cmp eax, ebx
je 0x4065a0
mov ecx, dword [eax + 0x20]
jmp 0x4065a2
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [eax]
push 0xa
push ecx
push eax
call dword [edx + 0x34]
test eax, eax
jl 0x40657a
mov eax, dword [esi]
lea edx, [ebp - 0x80]
push edx
push 1
mov dword [ebp - 0x80], 0x14
mov dword [ebp - 0x7c], 0x10
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], 0x100
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x40657a
mov eax, dword [esi]
push dword [edi + 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
test eax, eax
jl 0x40657a
mov esi, dword [esi]
mov eax, dword [esi]
push esi
call dword [eax + 0x1c]
test eax, eax
jl 0x40657a
mov eax, dword [edi + 0x58]
mov ecx, dword [eax]
push ebx
lea esi, [edi + 0x60]
push esi
push 0x442afc
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x40657a
mov eax, dword [esi]
mov ecx, dword [eax]
push 0x442a8c
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x40657a
mov eax, dword [edi + 0x54]
cmp eax, ebx
je 0x406635
mov ecx, dword [eax + 0x20]
jmp 0x406637
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [eax]
push 0xa
push ecx
push eax
call dword [edx + 0x34]
test eax, eax
jl 0x40657a
mov eax, dword [esi]
lea edx, [ebp - 0x80]
push edx
push 1
mov dword [ebp - 0x80], 0x14
mov dword [ebp - 0x7c], 0x10
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], 0x100
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x40657a
mov eax, dword [esi]
push dword [edi + 0x50]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
test eax, eax
jl 0x40657a
mov esi, dword [esi]
mov eax, dword [esi]
push esi
call dword [eax + 0x1c]
test eax, eax
jl 0x40657a
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a3ca
add ebp, 0x9c
leave
ret
Function at 0x4066b9
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x4c]
push edi
xor edi, edi
inc edi
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x406743
push str.GlobalAccess_DirectInput
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
cmp edi, ebx
je 0x406702
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
call fcn.004064e1
test eax, eax
je 0x406710
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x406722
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x406737
mov dword [ebp - 0xc], ebx
xor edi, edi
inc edi
cmp dword [ebp - 4], ebx
jne 0x406839
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x18]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, ebx
je 0x406836
dec eax
je 0x4067d9
dec eax
jne 0x406839
mov dword [ebp - 8], edi
cmp dword [esi + 0x60], ebx
je 0x4067d4
mov eax, dword [esi + 0x60]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0x2c]
push edx
push 0x14
push eax
call dword [ecx + 0x28]
cmp eax, ebx
jl 0x4067ca
cmp dword [ebp - 8], ebx
je 0x4067d4
mov eax, dword [ebp - 0x2c]
sub eax, 0xc
je 0x4067b1
dec eax
je 0x4067a4
dec eax
jne 0x4067c3
mov eax, dword [ebp - 0x28]
and eax, 0x80
push eax
push 2
jmp 0x4067bb
mov eax, dword [ebp - 0x28]
and eax, 0x80
push eax
push 4
jmp 0x4067bb
mov eax, dword [ebp - 0x28]
and eax, 0x80
push eax
push edi
mov ecx, dword [esi + 0x54]
call fcn.0041109f
cmp dword [ebp - 8], ebx
jne 0x40676c
jmp 0x4067d4
cmp eax, 0x8007001e
jne 0x4067d4
mov dword [ebp - 4], edi
push dword [esi + 0x50]
jmp 0x40682e
mov dword [ebp - 8], edi
cmp dword [esi + 0x5c], ebx
je 0x40682b
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0x2c]
push edx
push 0x14
push eax
call dword [ecx + 0x28]
cmp eax, ebx
jl 0x406821
cmp dword [ebp - 8], ebx
je 0x40682b
mov eax, dword [ebp - 0x28]
and eax, 0x80
push eax
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.00405ce9
mov ecx, dword [esi + 0x54]
push eax
call fcn.0041109f
cmp dword [ebp - 8], ebx
jne 0x4067e1
jmp 0x40682b
cmp eax, 0x8007001e
jne 0x40682b
mov dword [ebp - 4], edi
push dword [esi + 0x4c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x406839
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], ebx
jne 0x4066e1
mov ecx, esi
call fcn.00405c9f
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x409044
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
call fcn.0040a757
mov edx, dword [ebp + 0xc]
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
test edx, edx
jbe 0x40907e
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, ecx
mov cl, byte [ebp - 8]
xor byte [eax], cl
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
ror eax, cl
add eax, ecx
mov dword [ebp - 8], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jb 0x40905c
leave
ret 8
Function at 0x40a835
Capabilities:
Persist via run registry key

Disassembly:
push ebp
sub esp, 0x98
lea ebp, [esp - 4]
mov eax, dword [0x4539f4]
xor eax, ebp
mov dword [ebp + 0x98], eax
push 0x38
mov eax, 0x43beaa
call fcn.0043a3d9
mov edi, 0x459924
mov ecx, edi
call fcn.0041909f
test eax, eax
je 0x40a8e7
lea ecx, [ebp - 0x44]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CRegValue::constructor_void_]
and dword [ebp - 4], 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
lea ecx, [ebp - 0x44]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CRegValue::SetRegistryKey_struct_HKEY_____char_const__]
mov esi, 0x440738
push esi
lea ecx, [ebp - 0x44]
call dword [sym.imp.RTFC.dll_public:_int___thiscall_CRegValue::DeleteValue_char_const__]
cmp dword [ebp + 0xa4], 0
je 0x40a8d7
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.0040a3d5
pop ecx
pop ecx
mov eax, dword [eax + 4]
push 0x440ea8
push eax
push 0x43f7d5
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00419169
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
jmp 0x40a8df
push esi
mov ecx, edi
call fcn.004191a1
lea ecx, [ebp - 0x44]
jmp 0x40a99b
lea ecx, [ebp - 0x28]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CRegValue::constructor_void_]
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
call dword [sym.imp.RTFC.dll_public:_void___thiscall_CRegValue::SetRegistryKey_struct_HKEY_____char_const__]
lea ecx, [ebp]
call dword [sym.imp.RTFC.dll_public:_void___thiscall_COSVersion::constructor_void_]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea eax, [ebp - 0x30]
push 1
push eax
mov byte [ebp - 4], 4
call fcn.0040a3d5
push dword [eax + 4]
lea eax, [ebp - 0x10]
push str.__s___s
push eax
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x14
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CStringLite::destructor_void_]
cmp dword [ebp + 0xa4], 0
je 0x40a974
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push 0x440738
lea ecx, [ebp - 0x28]
call dword [sym.imp.RTFC.dll_public:_int___thiscall_CRegValue::SetValue_char_const___char_const__]
jmp 0x40a982
push 0x440738
lea ecx, [ebp - 0x28]
call dword [sym.imp.RTFC.dll_public:_int___thiscall_CRegValue::DeleteValue_char_const__]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp]
mov byte [ebp - 4], 2
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_COSVersion::destructor_void_]
lea ecx, [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
call dword [sym.imp.RTFC.dll_public_virtual:_void___thiscall_CRegValue::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x98]
xor ecx, ebp
call fcn.0043a3ca
add ebp, 0x9c
leave
ret
Function at 0x40ab0c
Capabilities:
Create directory

Disassembly:
push esi
push edi
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ab51
push str.SHCreateDirectoryExA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ab3b
push 0
push dword [esp + 0x10]
push 0
call eax
jmp 0x40ab46
push dword [esp + 0xc]
call dword [sym.imp.MSVCR90.dll__mkdir]
pop ecx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40ab5e
push dword [esp + 0xc]
call dword [sym.imp.MSVCR90.dll__mkdir]
pop ecx
mov esi, eax
pop edi
mov eax, esi
pop esi
ret

Function at 0x40ae92
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3f90]
mov eax, 0x4010
call fcn.0043a7e0
mov eax, dword [0x4539f4]
xor eax, ebp
mov dword [ebp + 0x3f8c], eax
push ebx
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp + 0x3f98]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0xf003f
push eax
xor ebx, ebx
push ebx
push str.SoftwareKhronosVulkanImplicitLayers
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40af7e
push esi
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x7c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
xor esi, esi
cmp dword [ebp - 0x7c], ebx
jbe 0x40af74
push 0x3fff
lea eax, [ebp - 0x73]
push ebx
push eax
mov byte [ebp - 0x74], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0x78]
mov dword [ebp - 0x80], 0x4000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x40af74
mov eax, str.RTSSVkLayer64.json
cmp dword [ebp + 0x3f98], ebx
jne 0x40af50
mov eax, str.RTSSVkLayer32.json
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.MSVCR90.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x40af6e
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
inc esi
cmp esi, dword [ebp - 0x7c]
jb 0x40af08
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp + 0x3f8c]
xor ecx, ebp
pop ebx
call fcn.0043a3ca
add ebp, 0x3f90
leave
ret
Function at 0x40bba3
Capabilities:
Enumerate gui resources
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x43c120
call fcn.0043a40c
push 0x441098
push 0xba
xor ebx, ebx
push ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x40bc73
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x40bc73
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea ecx, [ebp - 0x34]
mov esi, eax
call sub.mfc90.dll_Ordinal_404
push ebx
push 0x1001
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
call sub.mfc90.dll_Ordinal_5520
test eax, eax
je 0x40bc5b
lea ecx, [ebp - 0x24]
call sub.mfc90.dll_Ordinal_320
push edi
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call sub.mfc90.dll_Ordinal_6793
mov dword [ebp - 4], 1
jmp 0x40bc51
mov byte [ebp - 4], bl
call sub.mfc90.dll_Ordinal_1265
jmp 0x40bc5e
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call sub.mfc90.dll_Ordinal_663
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov esi, eax
cmp esi, ebx
je 0x40bc9b
push esi
push 0x40bb88
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
jmp 0x40bc9e
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
call fcn.0043a478
ret

Function at 0x40bca7
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x4539f4]
xor eax, ebp
mov dword [ebp + 0x8c], eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp + 0x98]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0xf003f
push eax
push 0
push str.SoftwareKhronosVulkanImplicitLayers
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40bd6f
push esi
push edi
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 8]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov edi, dword [sym.imp.MSVCR90.dll_strcat_s]
push str.Vulkan_
lea eax, [ebp - 0x78]
push esi
push eax
call edi
add esp, 0xc
cmp dword [ebp + 0x98], 0
mov eax, str.RTSSVkLayer64.json
jne 0x40bd3e
mov eax, str.RTSSVkLayer32.json
push eax
lea eax, [ebp - 0x78]
push esi
push eax
call edi
and dword [ebp - 0x80], 0
add esp, 0xc
push 4
lea eax, [ebp - 0x80]
push eax
push 4
push 0
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
call fcn.0043a3ca
add ebp, 0x90
leave
ret
Function at 0x410645
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x41064f
call fcn.0041025a
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004102a5
push eax
push esi
push dword [ebp + 8]
call fcn.0041025a
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004102a5
push eax
push esi
push dword [ebp + 8]
call fcn.0041025a
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00410295
daa
popfd
shr byte [0xff7c9d88], 1
invalid

Function at 0x410944
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x410949
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae fcn.00410944
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x41092e
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x410936
cmp edx, ebx
jne 0x410a84
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x410905
add eax, dword [eax + 4]
jmp 0x4108f2
mov dword [ebp + 0xc], ebx
jmp 0x410954

Function at 0x410b1e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc esp
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.004102a5
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041025a
invalid
Function at 0x410ea7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.004102a5
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041025a
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.00410295
call [eax + ecx*2]
in al, 0xfa
invalid
jecxz 0x410e60
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
add dh, al
test esi, ebp
cli
invalid
jmp ebx
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
invalid
test ebp, esi
cli
invalid
invalid
Function at 0x4132f0
Capabilities:
Check os version
Resume thread

Disassembly:
push ebp
sub esp, 0x94
lea ebp, [esp - 4]
mov eax, dword [0x4539f4]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0xc
mov eax, 0x43d5ec
call fcn.0043a3d9
and dword [ebp - 0x10], 0
lea eax, [ebp]
push eax
mov ebx, ecx
mov dword [ebp], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp + 0x10], 2
jne 0x41334d
cmp dword [ebp + 4], 6
jbe 0x41333e
mov dword [ebp - 0x10], 1
jne 0x41334d
cmp dword [ebp + 8], 2
jb 0x41334d
mov dword [ebp - 0x10], 1
push 0
push str.DesktopVideoCaptureAllowAero
mov edi, str.Settings
mov esi, 0x459930
push edi
mov ecx, esi
call fcn.00419cd0
push 0
push str.DesktopVideoCaptureDisableAero
push edi
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.00419cd0
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x18], eax
jne 0x4133eb
lea ecx, [ebx + 0x1cc8]
call fcn.004016f6
test eax, eax
je 0x4133d2
cmp dword [ebp - 0x18], 0
je 0x4133d2
cmp dword [ebp - 0x14], 0
jne 0x4133eb
cmp dword [ebx + 0x1ccc], 0
jne 0x4133c7
lea ecx, [ebx + 0x1cc8]
call fcn.00401777
push 0
lea ecx, [ebx + 0x1cc8]
call fcn.00401733
mov dword [ebx + 0x1ccc], 1
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x14], 0
jne 0x4133eb
lea ecx, [ebx + 0x1cc8]
call fcn.004016f6
test eax, eax
jne 0x41349b
cmp dword [ebp + 0xa0], 0
je 0x41349b
push 0
push str.DesktopVideoCaptureThread
push edi
mov ecx, esi
call fcn.00419cd0
test eax, eax
je 0x41346f
push 0x58
call sub.mfc90.dll_Ordinal_798
pop ecx
mov ecx, eax
mov dword [ebp - 0x18], ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp ecx, esi
je 0x413437
xor edx, edx
mov eax, 0xf4240
div dword [ebp + 0xa0]
push eax
push ebx
call fcn.00402cef
jmp 0x413439
xor eax, eax
or dword [ebp - 4], 0xffffffff
push esi
push esi
push 4
mov ecx, eax
mov dword [ebx + 0x1c70], eax
call sub.mfc90.dll_Ordinal_1884
mov eax, dword [ebx + 0x1c70]
push esi
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebx + 0x1c70]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x41349b
xor eax, eax
push eax
push 0x2606
push 0x113
push dword [ebx + 0x20]
xor edx, edx
push eax
push eax
mov eax, 0x3e8
div dword [ebp + 0xa0]
lea ecx, [ebx + 0x57c8]
push eax
call dword [sym.imp.RTUI.dll_public:_int___thiscall_CMMTimer::Create_unsigned_int__unsigned_int__unsigned_long_int__struct_HWND_____unsigned_int__unsigned_int__long_int_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0043a3ca
add ebp, 0x98
leave
ret 4