joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40af70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
mov eax, dword [0x442750]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword fs:[0x30]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax + 0xa4]
mov edi, dword [ebp + 8]
cmp ecx, 6
jb 0x40b071
jne 0x40afb6
cmp dword [eax + 0xa8], 2
jb 0x40b071
mov ecx, edi
call fcn.0040a560
cmp eax, 3
je 0x40afed
push str.Error_validating_the_driver_code_signing_certificate.
push pe_nt_image_headers32
push esi
call fcn.00419d1d
add esp, 0xc
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00418fa4
mov esp, ebp
pop ebp
ret 0xc
push ecx
lea edx, [esp + 0xc]
mov ecx, edi
call fcn.0040a6f0
add esp, 4
test al, al
jne 0x40b02b
push str.Error_reading_the_driver_code_signing_certificate.
push pe_nt_image_headers32
push esi
call fcn.00419d1d
add esp, 0xc
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00418fa4
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 8]
push str.EasyAntiCheat_Oy
push eax
call fcn.00419dc1
add esp, 8
test eax, eax
je 0x40b071
lea eax, [esp + 8]
push eax
push str.Unknown_driver_certificate_signer:___s_.
push pe_nt_image_headers32
push esi
call fcn.00419d1d
add esp, 0x10
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00418fa4
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x10c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.00418fa4
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40b090
Capabilities:
Create service
Delete service
Start service

Disassembly:
push ebp
mov ebp, esp
push edi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x40b14f
push esi
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push 0
push 3
push 1
push 0x10030
push str.EasyAntiCheatSys
push str.EasyAntiCheatSys
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
je 0x40b124
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x40b140
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartService_failed___d_
push pe_nt_image_headers32
push dword [ebp + 0xc]
call fcn.00419d1d
add esp, 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateService_failed___d_
push pe_nt_image_headers32
push dword [ebp + 0xc]
call fcn.00419d1d
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed___d_
push pe_nt_image_headers32
push dword [ebp + 0xc]
call fcn.00419d1d
add esp, 0x10
xor eax, eax
pop edi
pop ebp
ret 0xc
Function at 0x40b4a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40b4b4
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 8]
mov dword [esi + 4], 0
test eax, eax
je 0x40b4d9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 8], 0
push 0x43ccec
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40b4f7
pop edi
xor al, al
pop esi
pop ebp
ret 0xc
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x40b5c8
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x40b5c8
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 8], eax
test eax, eax
je 0x40b5c8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40b5b8
push ebx
push edi
push eax
call fcn.0041d430
add esp, 0xc
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push 0
push dword [esi + 8]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x40b5af
mov ecx, dword [ebp + 8]
call fcn.0040b260
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40b5af
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
test eax, eax
jne 0x40b59b
pop ebx
pop edi
mov al, 1
pop esi
pop ebp
ret 0xc
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40b5a8
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 8], 0
pop ebx
pop edi
xor al, al
pop esi
pop ebp
ret 0xc

Function at 0x40bdc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x442750]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test ebx, ebx
je 0x40bdef
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x200
lea eax, [ebp - 0x208]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test esi, esi
je 0x40be5b
lea ecx, [ebp - 0x208]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40be10
sub ecx, edx
lea eax, [ebp - 0x210]
push eax
sar ecx, 1
lea eax, [ebp - 0x208]
push ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push 0x216
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418fa4
mov esp, ebp
pop ebp
ret
Function at 0x40d2d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432b68
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x442750]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x40d3b5
push 0xd
push str.Installing
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.004014e0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push 0x16
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.setup.install_progress
mov byte [ecx], 0
call fcn.004014e0
mov ecx, dword [esi + 0x14]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004103e0
cmp dword [eax + 0x14], 8
jb 0x40d374
mov eax, dword [eax]
push eax
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebp - 0x30], 8
jb 0x40d38f
push dword [ebp - 0x44]
call fcn.00419766
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x40d4e6
push dword [ebp - 0x2c]
jmp 0x40d4de
cmp eax, 2
jne 0x40d430
push 5
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xf
push str.Uninstalling
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.004014e0
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
push 0x18
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.setup.uninstall_progress
mov byte [ecx], 0
call fcn.004014e0
mov ecx, dword [esi + 0x14]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004103e0
cmp dword [eax + 0x14], 8
jb 0x40d427
mov eax, dword [eax]
push eax
push dword [esi + 0x44]
jmp 0x40d378
cmp eax, 3
jne 0x40d4e6
push 5
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xc
push str.Repairing
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
call fcn.004014e0
sub esp, 0x18
mov dword [ebp - 4], 2
mov ecx, esp
push 0x15
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.setup.repair_progress
mov byte [ecx], 0
call fcn.004014e0
mov ecx, dword [esi + 0x14]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004103e0
cmp dword [eax + 0x14], 8
jb 0x40d4a6
mov eax, dword [eax]
push eax
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebp - 0x60], 8
jb 0x40d4c1
push dword [ebp - 0x74]
call fcn.00419766
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], 7
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x40d4e6
push dword [ebp - 0x5c]
call fcn.00419766
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00418fa4
mov esp, ebp
pop ebp
ret 4
Function at 0x410390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x40f000
push 0
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x4103d8
mov dword [esi + 8], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateThread_failed_with__d
push esi
call fcn.004109a0
add esp, 0xc
pop esi
pop ebp
ret 8
Function at 0x411050
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x442750]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [esp + 0x10]
push esi
push edi
xor esi, esi
mov dword [esp + 0xc], 0
push eax
mov byte [esp + 0x14], 1
xor edi, edi
mov dword [esp + 0x1c], 0x43d090
mov dword [esp + 0x20], 0x410f30
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
je 0x4110b8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00418fa4
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
jne 0x4110e1
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00418fa4
mov esp, ebp
pop ebp
ret 0x10
sub esp, 8
mov dword [esp + 0x68], esi
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x20]
call fcn.004111c0
lea ecx, [esp + 0x28]
call fcn.00411260
test al, al
je 0x411168
cmp dword [esp + 0x5c], 0
jne case.default.0x41111b
mov eax, dword [esp + 0x34]
cmp eax, 3
ja case.default.0x41111b
jmp dword [eax*4 + 0x4111a8]
push dword [esp + 0x4c]
mov edi, 1
call fcn.0041a589
add esp, 4
mov esi, eax
jmp 0x41115b
push dword [esp + 0x4c]
mov edi, 2
call fcn.0041a589
add esp, 4
mov esi, eax
jmp 0x41115b
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
jmp 0x41115b
mov byte [esp + 0x10], 0
lea ecx, [esp + 0x28]
call fcn.00411260
test al, al
jne 0x411103
push dword [esp + 0xc]
push dword [esp + 0x14]
push edi
push esi
call fcn.0040f300
mov esi, eax
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x41118a
push ecx
call fcn.00419b61
add esp, 4
mov ecx, dword [esp + 0x64]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00418fa4
mov esp, ebp
pop ebp
ret 0x10
mov esi, 1
jmp 0x411179
Function at 0x411920
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x442750]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x828], 0
push eax
lea eax, [ebp - 0x828]
mov dword [ebp - 0x82c], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareEasyAntiCheat
push 0x80000002
mov edi, ecx
mov dword [ebp - 0x834], 1
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x411b35
cmp dword [ebp - 0x82c], 1
jne 0x411a0a
push edi
mov word [ebp - 0x24], ax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x24]
push 0x43d8e4
push eax
call fcn.00411f00
lea ecx, [ebp - 0x24]
add esp, 0xc
lea edx, [ecx + 2]
jmp 0x4119d0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4119d0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push 0
push str.GamesInstalled
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
jmp 0x411b29
push 0x7fe
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push 0
push eax
call fcn.0041f880
add esp, 0xc
mov dword [ebp - 0x830], 0x800
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x834]
push eax
push 0
push str.GamesInstalled
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x411a66
cmp eax, 2
jne 0x411b29
push esi
lea esi, [ebp - 0x824]
lea ecx, [ecx]
cmp word [esi], 0
je 0x411aa0
push esi
call fcn.0041a589
add esp, 4
cmp eax, edi
je 0x411b47
push 0x43d90c
push esi
call fcn.0041a638
mov esi, eax
add esp, 8
test esi, esi
je 0x411aa0
add esi, 2
jne 0x411a70
xor eax, eax
push edi
mov word [ebp - 0x24], ax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x24]
push 0x43d8e4
push eax
call fcn.00411f00
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x824]
push 0x400
push eax
call fcn.0041a40c
lea ecx, [ebp - 0x824]
add esp, 0x18
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411af0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x824]
push eax
push 1
push 0
push str.GamesInstalled
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
pop esi
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
xor ecx, ebp
pop ebx
call fcn.00418fa4
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x411b28
Function at 0x411b50
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1038
call fcn.0042f7d0
mov eax, dword [0x442750]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 0x102c]
mov dword [ebp - 0x102c], 0
push eax
push 0xf003f
push 0
push str.SoftwareEasyAntiCheat
push 0x80000002
mov edi, ecx
mov dword [ebp - 0x1030], 1
xor bl, bl
xor bh, bh
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411d31
push 0x7fe
push eax
mov word [ebp - 0x1024], ax
lea eax, [ebp - 0x1022]
push eax
call fcn.0041f880
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.0041f880
add esp, 0x18
mov dword [ebp - 0x1034], 0x800
lea eax, [ebp - 0x1034]
push eax
lea eax, [ebp - 0x1024]
push eax
lea eax, [ebp - 0x1030]
push eax
push 0
push str.GamesInstalled
push dword [ebp - 0x102c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411cf8
push esi
lea esi, [ebp - 0x1024]
cmp word [esi], 0
je 0x411c9b
push esi
call fcn.0041a589
add esp, 4
test eax, eax
je 0x411c82
cmp eax, edi
je 0x411c80
xor ecx, ecx
push eax
lea eax, [ebp - 0x24]
mov word [ebp - 0x24], cx
push 0x43d8e4
push eax
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov dword [ebp - 0xe], ecx
mov dword [ebp - 0xa], ecx
mov word [ebp - 6], cx
call fcn.00411f00
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x824]
push 0x400
push eax
call fcn.0041a40c
add esp, 0x18
jmp 0x411c82
mov bl, 1
push 0x43d90c
push esi
call fcn.0041a638
mov esi, eax
add esp, 8
test esi, esi
je 0x411c9b
add esi, 2
jne 0x411c21
lea ecx, [ebp - 0x824]
lea edx, [ecx + 2]
pop esi
test bl, bl
je 0x411ce7
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411cb0
sub ecx, edx
sar ecx, 1
je 0x411cfd
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x824]
push eax
push 1
push 0
push str.GamesInstalled
push dword [ebp - 0x102c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x411cff
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411ce7
sub ecx, edx
sar ecx, 1
jmp 0x411cfb
cmp eax, 2
jne 0x411cff
mov bh, 1
push dword [ebp - 0x102c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bh, bh
je 0x411d1f
push str.SoftwareEasyAntiCheat
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fa4
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x411d1f
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.00418fa4
mov esp, ebp
pop ebp
ret
Function at 0x411d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x442750]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x808]
mov dword [ebp - 0x808], 0
push eax
push 0x20019
push 0
push str.SoftwareEasyAntiCheat
push 0x80000002
mov esi, ecx
mov dword [ebp - 0x814], 1
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411ed9
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.0041f880
add esp, 0xc
mov dword [ebp - 0x810], 0x800
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x814]
push eax
push 0
push str.GamesInstalled
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x411eb4
push edi
lea edi, [ebp - 0x804]
cmp word [edi], 0
je 0x411e93
push edi
call fcn.0041a589
mov ebx, eax
add esp, 4
mov dword [ebp - 0x80c], ebx
test ebx, ebx
je 0x411e76
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x80c]
cmp ecx, eax
jae 0x411e5c
mov ecx, dword [esi]
lea edx, [ebp - 0x80c]
cmp ecx, edx
ja 0x411e5c
mov ebx, edx
sub ebx, ecx
sar ebx, 2
cmp eax, dword [esi + 8]
jne 0x411e4c
push ecx
mov ecx, esi
call fcn.0040bc80
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x411e72
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov dword [ecx], eax
jmp 0x411e72
cmp eax, dword [esi + 8]
jne 0x411e69
push ecx
mov ecx, esi
call fcn.0040bc80
mov eax, dword [esi + 4]
test eax, eax
je 0x411e72
mov dword [eax], ebx
add dword [esi + 4], 4
push 0x43d90c
push edi
call fcn.0041a638
mov edi, eax
add esp, 8
test edi, edi
je 0x411e93
add edi, 2
jne 0x411e00
pop edi
push dword [ebp - 0x808]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fa4
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x411ebb
mov bl, 1
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418fa4
mov esp, ebp
pop ebp
ret
cmp eax, 2
mov al, 1
je 0x411ee2
mov al, bl
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00418fa4
mov esp, ebp
pop ebp
ret
Function at 0x411f20
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x442750]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
push 0
push 0
mov esi, ecx
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x411f9e
push 0x10020
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x411f73
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp eax, 0x424
jne 0x411f9b
mov bl, 1
jmp 0x411f9b
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
setne al
test al, al
je 0x411f92
mov bl, 1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418fa4
mov esp, ebp
pop ebp
ret

Function at 0x412260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
test dl, dl
je 0x4122ce
push str.IsWow64Process
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4122ce
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x4122ce
cmp dword [ebp - 4], 0
je 0x4122ce
push esi
push 0
push 0
push 0x24
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4122e8
push str._sysnative_
push 0x104
push esi
call fcn.0041a40c
add esp, 0xc
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4122e8
push 0x43c4c4
jmp 0x4122b8
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x412370
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x442750]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4123d3
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x10], eax
setne al
xor ecx, ebp
call fcn.00418fa4
mov esp, ebp
pop ebp
ret
Function at 0x416a80
Capabilities:
Terminate process

Disassembly:
push ecx
push 0x43dd0c
call fcn.0041c5cc
add eax, 0x40
push eax
call fcn.0041aec1
add esp, 0xc
push 2
call fcn.0041d40d
int3