joyce8/EMBER2024-capa huggingface dataset:
Function at 0x612d01
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.006045e1
and dword [ebp - 4], 0
cmp dword [0x713acc], 0
mov ebx, eax
jne 0x612db2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x612e63
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6c0330
push edi
call esi
test eax, eax
je 0x612e63
push eax
call fcn.0060456f
mov dword [esp], 0x6c0320
push edi
mov dword [0x713acc], eax
call esi
push eax
call fcn.0060456f
mov dword [esp], 0x6c030c
push edi
mov dword [0x713ad0], eax
call esi
push eax
call fcn.0060456f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x713ad4], eax
call esi
push eax
call fcn.0060456f
pop ecx
mov dword [0x713adc], eax
test eax, eax
je 0x612db2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0060456f
pop ecx
mov dword [0x713ad8], eax
mov eax, dword [0x713ad8]
cmp eax, ebx
je 0x612e0a
cmp dword [0x713adc], ebx
je 0x612e0a
push eax
call fcn.006045ea
push dword [0x713adc]
mov esi, eax
call fcn.006045ea
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x612e0a
test edi, edi
je 0x612e0a
call esi
test eax, eax
je 0x612e01
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x612e01
test byte [ebp - 0xc], 1
jne 0x612e0a
or dword [ebp + 0x10], 0x200000
jmp 0x612e43
mov eax, dword [0x713ad0]
cmp eax, ebx
je 0x612e43
push eax
call fcn.006045ea
pop ecx
test eax, eax
je 0x612e43
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x612e43
mov eax, dword [0x713ad4]
cmp eax, ebx
je 0x612e43
push eax
call fcn.006045ea
pop ecx
test eax, eax
je 0x612e43
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x713acc]
call fcn.006045ea
pop ecx
test eax, eax
je 0x612e63
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x612e65
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414def
Capabilities:
Encode data using xor

Disassembly:
xor dword [eax], ecx
add ebx, ebx
add eax, 4
cmp eax, edi
jne fcn.00414def
sub esi, edx
ret
Function at 0x100030e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10032918
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1003e6c4]
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
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x10003201
cmp byte [edi + 0x49], bl
je 0x10003201
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x100031f5
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x10003155
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x1000316d
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x10003196
dec eax
je 0x1000319a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x100031f0
jmp 0x100031fc
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x100031aa
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x100031d3
cmp ebx, 0x10
jae 0x100031b9
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.1001a445
add esp, 0x10
cmp esi, eax
jne 0x100031ed
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x100031f9
test esi, esi
jne 0x10003161
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10002c70
jmp 0x1000315b
lea ecx, [ebp - 0x2c]
call fcn.10001bc0
xor al, al
jmp 0x10003203
lea ecx, [ebp - 0x2c]
call fcn.10001bc0
mov al, 1
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.10019013
mov esp, ebp
pop ebp
ret
Function at 0x10003590
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031cfb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1003e6c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10018b14
push 4
mov dword [ebp - 4], 0
call fcn.1001a8f1
mov edi, eax
add esp, 4
test edi, edi
je 0x10003610
call fcn.1001890f
mov dword [edi], eax
call fcn.100186ce
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.10018ad5
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10003606
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.10018afd
jmp 0x10003612
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100052b0
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100324a6
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
push esi
mov eax, dword [0x1003e6c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp dword [eax], 0x8b55ff8b
je 0x10005527
cmp dword [0x10044644], 1
jne 0x1000539b
push 8
push str.GameGuard_Log.txt
lea ecx, [ebp - 0x168]
push ecx
call fcn.10001fe0
lea edx, [ebp - 0x168]
push str._nSP_Scan:
push edx
mov dword [ebp - 4], 0
call fcn.10003a90
lea eax, [ebp - 0x168]
push str.Speed_Hack_detected_
push eax
call fcn.10003a90
add esp, 0x10
lea ecx, [ebp - 0x164]
call fcn.10002fb0
test eax, eax
jne 0x10005370
mov ecx, dword [ebp - 0x168]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x15c]
lea ecx, [ebp + ecx - 0x168]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x10005368
or eax, 4
push 0
push eax
call fcn.10001570
lea ecx, [ebp - 0x108]
mov dword [ebp - 4], 0xffffffff
call fcn.10002140
lea edx, [ebp - 0x108]
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10018604
add esp, 4
cmp dword [0x10044654], 1
jne 0x100054a2
lea eax, [ebp - 0x18]
push eax
call fcn.1001a8a0
lea ecx, [ebp - 0x18]
add esp, 4
push ecx
call fcn.1001a747
add esp, 4
push 8
push 0x10036584
lea edx, [ebp - 0xc0]
push edx
mov esi, eax
call fcn.10001fe0
lea eax, [ebp - 0xc0]
push str._nLocal_Time:
push eax
mov dword [ebp - 4], 1
call fcn.10003a90
push esi
call fcn.1001a090
add esp, 0xc
push eax
lea ecx, [ebp - 0xc0]
push ecx
call fcn.10003a90
lea edx, [ebp - 0xc0]
push str.SP_Scan:
push edx
call fcn.10003a90
lea eax, [ebp - 0xc0]
push str.Speed_Hack_detected_
push eax
call fcn.10003a90
lea ecx, [ebp - 0xc0]
push str._n__________________
push ecx
call fcn.10003a90
add esp, 0x20
lea ecx, [ebp - 0xbc]
call fcn.10002fb0
test eax, eax
jne 0x10005473
mov edx, dword [ebp - 0xc0]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0xb4]
lea ecx, [ebp + ecx - 0xc0]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x1000546b
or eax, 4
push 0
push eax
call fcn.10001570
push 2
push 0x10036584
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.10002140
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x60], vtable.std::ios_base.0
call fcn.10018604
add esp, 4
mov eax, dword [0x10044648]
push 0
cmp eax, 1
jne 0x100054d4
push 0
push 0
push 0x10005280
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x100054e4
push 0
push 0
push 0x10005250
jmp 0x100054b7
cmp eax, 3
jne 0x100054f4
push 0
push 0
push 0x10012f30
jmp 0x100054b7
cmp eax, 4
jne 0x10005525
push 0
push 0
push 0x10017bf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.SP_Scan
push str.Speed_Hack_detected_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x100054cc
jmp 0x100054ce
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10005810
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x1003e6c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [ebp - 0x118]
push ecx
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push 0x80000001
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x10005876
mov eax, dword [ebp - 0x118]
lea edx, [ebp - 0x108]
push edx
push eax
call ebx
mov ecx, dword [ebp - 0x118]
push ecx
jmp 0x1000587d
mov edx, dword [ebp - 0x118]
push edx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
lea eax, [ebp - 0x11c]
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push 0x80000002
call esi
test eax, eax
jne 0x100058b5
mov edx, dword [ebp - 0x11c]
lea ecx, [ebp - 0x108]
push ecx
push edx
call ebx
mov eax, dword [ebp - 0x11c]
push eax
jmp 0x100058bc
mov ecx, dword [ebp - 0x11c]
push ecx
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push 0x80000002
call esi
test eax, eax
jne 0x100058f8
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
push eax
push ecx
call ebx
mov edx, dword [ebp - 0x10c]
push edx
jmp 0x100058ff
mov eax, dword [ebp - 0x10c]
push eax
call edi
lea ecx, [ebp - 0x110]
push ecx
push 1
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push 0x80000001
call esi
test eax, eax
jne 0x10005935
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x108]
push edx
push eax
call ebx
mov ecx, dword [ebp - 0x110]
push ecx
jmp 0x1000593c
mov edx, dword [ebp - 0x110]
push edx
call edi
lea eax, [ebp - 0x114]
push eax
push 0xf013f
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push 0x80000002
call esi
test eax, eax
jne 0x10005986
mov edx, dword [ebp - 0x114]
lea ecx, [ebp - 0x108]
push ecx
push edx
call ebx
mov eax, dword [ebp - 0x114]
push eax
call edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10019013
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x114]
push ecx
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10019013
mov esp, ebp
pop ebp
ret

Function at 0x100059a0
Capabilities:
Terminate process

Disassembly:
call fcn.10005810
mov eax, dword [0x10044648]
push 0x200030
cmp eax, 1
jne 0x100059cf
mov eax, dword [0x100445c4]
push eax
push str.Anti_Kill___Scan___Administrative_privileges_are_not_allowed_for_this_application__n_nRestart_application_as_single_user_please_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x100059f0
mov ecx, dword [0x100445c4]
push ecx
push str.Anti_Kill___Scan___Pivilegios_administrativos_n
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [0x100445c4]
push edx
jmp 0x100059ba
Function at 0x10005a70
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x10044648]
push 0x200030
cmp eax, 1
jne 0x10005a9a
mov eax, dword [0x100445c4]
push eax
push str.Administrative_privileges_required_at_the_first_startup__n_nRight_click_on_application:_Run_as_administrator
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10005abb
mov ecx, dword [0x100445c4]
push ecx
push str.Privilegios_administrativos_requeridos_na_primeira_inicializa
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [0x100445c4]
push edx
jmp 0x10005a85

Function at 0x10005bd0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10032ab1
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
push esi
push edi
mov eax, dword [0x1003e6c4]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov eax, dword [0x10044584]
push 0x21
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.10006130
xor esi, esi
mov dword [esp + 0x240], esi
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
and dword [esp + eax + 0x38], 0xfffffffe
lea eax, [esp + eax + 0x24]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
mov edx, eax
push edx
mov dword [esp + 0x14], eax
call fcn.100068d0
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax + 0xc]
add esp, 8
test al, 6
je 0x10005c55
xor edi, edi
jmp 0x10005c59
mov edi, dword [esp + 0xc]
mov eax, dword [0x10044580]
push 0x32
push eax
lea ecx, [esp + 0x184]
push ecx
call fcn.10006130
lea ecx, [esp + 0x18c]
push ecx
mov byte [esp + 0x244], 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
xor eax, eax
push eax
mov eax, dword [esp + 0x18]
push edx
push esi
push eax
push edi
push ecx
lea esi, [esp + 0x28]
call fcn.10006a10
mov edx, dword [0x10044580]
add esp, 0x1c
push 1
push edx
lea eax, [esp + 0xd4]
push eax
call fcn.10006350
mov byte [esp + 0x240], 2
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx + 4]
test byte [esp + edx + 0xd8], 6
je 0x10005cd5
call fcn.10005a70
mov eax, dword [0x10045398]
inc eax
mov dword [0x10045398], eax
cmp eax, 1
jne 0x10005d0d
push 0
push 0
push 0
push 0x10005ad0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [esp + 0x134]
mov byte [esp + 0x240], 1
call fcn.100064b0
lea eax, [esp + 0x134]
mov esi, vtable.std::ios_base.0
push eax
mov dword [esp + 0x138], esi
call fcn.10018604
add esp, 4
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x240], 0
call fcn.10006250
lea ecx, [esp + 0x1ec]
push ecx
mov dword [esp + 0x1f0], esi
call fcn.10018604
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0x240], 0xffffffff
call fcn.10006250
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x88], esi
call fcn.10018604
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10005e60
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1003e6c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 0x14], ebx
xor esi, esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x10005eb9
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x10005ec1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10005ed2
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 0x10], ebx
cmp esi, ebx
je 0x10005ee7
push 0x1003bb78
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], esi
call fcn.1001c071
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
pop esi
xor ecx, ebp
pop ebx
call fcn.10019013
mov esp, ebp
pop ebp
ret

Function at 0x10005f00
Capabilities:
Create thread

Disassembly:
call fcn.10005e60
test eax, eax
je 0x10005f48
cmp dword [0x100453a4], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
jne 0x10005f2a
push 0
push 0
push 0
push 0x10005b30
push 0
push 0
call esi
cmp dword [0x100453a0], 0
jne 0x10005f44
push 0
push 0
push 0
push fcn.10005bd0
push 0
push 0
call esi
pop esi
xor eax, eax
ret
push 0
push 0
push 0
push 0x10005df0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
ret

Function at 0x10005f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10005fb8
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push eax
push eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push str.MoveImages
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10005fb3
mov dword [0x100453a4], 1
mov esp, ebp
pop ebp
ret
call fcn.10005f00
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10006130
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10032a72
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1003e6c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], 0x10037000
mov dword [edi + 0x10], 0x1003661c
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 0x18]
push esi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x10], 1
call fcn.10006820
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov ecx, esi
call fcn.10003590
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], bl
mov byte [esi + 0x49], bl
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x54], ebx
mov edx, dword [0x10044564]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ebx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
mov ebx, esi
mov byte [ebp - 4], 2
call fcn.10002ec0
test eax, eax
jne 0x10006231
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + edi + 0xc]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x10006229
or eax, 4
push 0
push eax
call fcn.10001570
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10006da0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100323db
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x1003e6c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10044644], 1
jne 0x10006e72
push 8
push str.GameGuard_Log.txt
lea eax, [ebp - 0xb8]
push eax
call fcn.10001fe0
lea ecx, [ebp - 0xb8]
push str._nFN_Scan:____File_not_found:
push ecx
mov dword [ebp - 4], 0
call fcn.10003a90
mov edx, dword [0x10044594]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.10003a90
add esp, 0x10
lea ecx, [ebp - 0xb4]
call fcn.10002fb0
test eax, eax
jne 0x10006e50
mov ecx, dword [ebp - 0xb8]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0xac]
lea ecx, [ebp + ecx - 0xb8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x10006e48
or eax, 4
push 0
push eax
call fcn.10001570
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.10002140
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.10018604
add esp, 4
mov eax, dword [0x10044648]
cmp eax, 1
je 0x10006ebd
cmp eax, 3
je 0x10006ebd
cmp eax, 4
je 0x10006ebd
push 0
cmp eax, 2
jne 0x10006eb3
push 0
push 0
push 0x10006d70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
test eax, eax
jne 0x10006ead
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0x10006d40
jmp 0x10006e96

Function at 0x100072a0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x10037090
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100072c3
push edi
push 4
push 0x3000
sub eax, edx
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov eax, ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100072e5
push 0
sub eax, ecx
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [ebp - 4]
push 0
push 0
push edi
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10007320
Capabilities:
Acquire debug privileges
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1003e6c4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1004466c], 1
jne 0x10007349
push 0
push 0
push 0
push 0x10006ed0
jmp 0x100073d2
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x10007370
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10019013
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x10007360
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
push 0
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x10007360
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10007360
push 0
push 0
push 0
push 0x100071d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.10019013
mov esp, ebp
pop ebp
ret