joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011020
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x14
mov dword [ebp - 4], 4
call fcn.10027050
push 0x288
mov ebx, eax
call fcn.10027050
mov esi, eax
add esp, 8
test esi, esi
jne 0x10011060
push 0x179
push 0x1004dde8
push str.AdapterInfo___NULL
call fcn.10026fc4
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x100110fa
push dword [ebp - 4]
call fcn.10027050
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001109c
push 0x17d
push 0x1004dde8
push str.AdapterInfo___NULL
call fcn.10026fc4
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x100110e9
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X:_02X:_02X:_02X:_02X:_02X
push ebx
call fcn.1000f4f0
add esp, 0x20
push esi
call fcn.10020940
add esp, 4
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1000f8d0
int3

Function at 0x10011d90
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push dword [0x1005aa20]
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10011dbe
push 0
push dword [0x1005aa04]
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
jne 0x10011dc3
jmp fcn.10011a70
mov esp, ebp
pop ebp
ret
Function at 0x10013150
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x10055080]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push dword [0x1005aa08]
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
push 0x200030
push str.CONFIGURATION_MESSAGE
test eax, eax
je 0x10013288
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push str.WARNING___START.cpp___Test_Main_Win_Class_PID__Turned_ON__n_nMain_Window_found__n_nClick_Ok_to_search_Main_Window_Class.
push 0
call edi
push 0
push dword [0x1005aa00]
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
push 0x200030
push str.CONFIGURATION_MESSAGE
test eax, eax
je 0x10013277
push str.WARNING___START.cpp___Test_Main_Win_Class_PID__Turned_ON__n_n_Main_Class_Window_found__n_nClick_Ok_to_search_Main_PID.
push 0
call edi
push 0
push 2
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10013235
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
mov eax, dword [0x1005a9d8]
lea ecx, [esp + 0x34]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10013220
test dl, dl
je 0x1001321c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10013220
add ecx, 2
add eax, 2
test dl, dl
jne 0x10013200
xor eax, eax
jmp 0x10013225
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001325c
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x100131f3
cmp esi, 0xffffffff
je 0x1001326f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x200030
push str.CONFIGURATION_MESSAGE
push str.WARNING___START.cpp___Test_Main_Win_Class_PID__Turned_ON__n_n_Main_PID_NOT_FOUND__n_nCheck__START.cpp_____carrega.Nome_do_Main__configuration_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x200030
push str.CONFIGURATION_MESSAGE
push str.WARNING___START.cpp___Test_Main_Win_Class_PID__Turned_ON__n_nMain_PID_found__n_nEVERYTHING_OK__n_nTurn_OFF__START.cpp___carrega.Test_Main_Win_Class_PID_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.WARNING___START.cpp___Test_Main_Win_Class_PID__Turned_ON__n_n_Main_Class_Window_NOT_FOUND__n_nCheck__START.cpp___carrega.MainClassName__configuration_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.WARNING___START.cpp___Test_Main_Win_Class_PID__Turned_ON__n_n_Main_Window_NOT_FOUND__n_nCheck__START.cpp___carrega.MainWindowName__configuration_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100132a0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x10055080]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push dword [0x1005aa20]
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
push 0x200030
push str.CONFIGURATION_MESSAGE
test eax, eax
je 0x100133d8
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push str.WARNING___START.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_nLauncher_Window_found__n_nClick_Ok_to_search_Launcher_Window_Class.
push 0
call edi
push 0
push dword [0x1005aa04]
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
push 0x200030
push str.CONFIGURATION_MESSAGE
test eax, eax
je 0x100133c7
push str.WARNING___START.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_n_Launcher_Class_Window_found__n_nClick_Ok_to_search_Launcher_PID.
push 0
call edi
push 0
push 2
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10013385
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
mov eax, dword [0x1005a9fc]
lea ecx, [esp + 0x34]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10013370
test dl, dl
je 0x1001336c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10013370
add ecx, 2
add eax, 2
test dl, dl
jne 0x10013350
xor eax, eax
jmp 0x10013375
sbb eax, eax
or eax, 1
test eax, eax
je 0x100133ac
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x10013343
cmp esi, 0xffffffff
je 0x100133bf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x200030
push str.CONFIGURATION_MESSAGE
push str.WARNING___START.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_n_Launcher_PID_NOT_FOUND__n_nCheck__START.cpp_____carrega.Nome_do_Launcher__configuration_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x200030
push str.CONFIGURATION_MESSAGE
push str.WARNING___START.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_nLauncher_PID_found__n_nEVERYTHING_OK__n_nTurn_OFF__START.cpp___carrega.Test_Launcher_Win_Class_PID_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.WARNING___START.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_n_Launcher_Class_Window_NOT_FOUND__n_nCheck__START.cpp___carrega.LauncherClassName__configuration_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.WARNING___START.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_n_Launcher_Window_NOT_FOUND__n_nCheck__START.cpp___carrega.LauncherWindowName__configuration_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100143d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004355d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10055080]
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
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
lea ecx, [ebp - 0x28]
push 0
push esi
call fcn.100099b0
mov dword [ebp - 4], 0
lea eax, [esi + 1]
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
push eax
cmova ecx, dword [ebp - 0x28]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [0x1005aa08]
mov edi, edx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10014440
mov ebx, dword [ebp - 0x28]
sub edi, ecx
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmova ecx, ebx
cmp esi, edi
jne 0x10014503
sub esi, 4
jb 0x10014477
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1001447c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10014466
cmp esi, 0xfffffffc
je 0x100144b0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100144a9
cmp esi, 0xfffffffd
je 0x100144b0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100144a9
cmp esi, 0xfffffffe
je 0x100144b0
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100144a9
cmp esi, 0xffffffff
je 0x100144b0
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100144b0
sbb eax, eax
or eax, 1
jmp 0x100144b2
xor eax, eax
test eax, eax
jne 0x10014503
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x100144e5
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x100144db
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014508
push ecx
push ebx
call fcn.1001a812
add esp, 8
xor eax, eax
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.1001a7cf
mov esp, ebp
pop ebp
ret
call fcn.100140d0
call fcn.10021517
int3
Function at 0x100147f0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x400
push 0
push 0x1005ab90
call fcn.1001c530
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
nop
xor eax, eax
test cl, 1
je 0x1001481b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10014826
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10014831
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1001483c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10014847
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10014852
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1001485d
bts eax, 1
test cl, 2
je 0x10014866
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
xor edx, edx
lea ecx, [edx + 1]
nop dword [eax]
test bl, 1
je 0x100148ff
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x100148f0
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x1005ab90], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10014810
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10014930
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10055080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x1004ec44
push eax
or ebx, 0xffffffff
call fcn.10027317
add esp, 8
mov dword [ebp - 0x408], eax
test eax, eax
jne 0x10014976
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a7cf
mov esp, ebp
pop ebp
ret 4
push esi
push edi
nop dword [eax + eax]
push eax
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.10020cbb
mov edi, eax
lea esi, [ebp - 0x404]
add esp, 0x10
mov edx, edi
test edi, edi
je 0x100149cd
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1005ab90]
sub edx, 1
jne 0x100149a5
mov eax, dword [ebp - 0x408]
cmp edi, 0x400
je 0x10014980
push dword [ebp - 0x408]
call fcn.1001fdb0
mov ecx, dword [ebp - 4]
add esp, 4
not ebx
xor ecx, ebp
mov eax, ebx
pop edi
pop esi
pop ebx
call fcn.1001a7cf
mov esp, ebp
pop ebp
ret 4
Function at 0x10016e90
Capabilities:
Acquire debug privileges
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x10055080]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10016f46
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x10016f46
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0
push 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x10016f46
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10016f46
push 0
push 0
push 0
push 0x10016e40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1001a7cf
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
xor ecx, esp
call fcn.1001a7cf
mov esp, ebp
pop ebp
ret
Function at 0x10018a60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20a00
call fcn.1001b690
mov eax, dword [0x10055080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
xor eax, eax
push esi
push esi
mov dword [ebp - 0x20a00], eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je 0x10018b5b
push ebx
lea ebx, [ebp - 0x209f4]
nop dword [eax]
push edi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x10018b3a
lea eax, [ebp - 0x209fc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x209fc]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x10018b3a
mov eax, dword [ebp - 0x209fc]
mov dword [ebx], eax
lea eax, [ebx + 4]
push 0xff
push eax
push edi
mov dword [ebx - 4], edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xff
lea eax, [ebx + 0x103]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
inc dword [ebp - 0x20a00]
add ebx, 0x208
mov ecx, dword [ebp - 0x209fc]
xor eax, eax
test esi, esi
jle 0x10018b2e
nop word [eax + eax]
cmp ecx, dword [ebp + eax*4 - 0x400]
je 0x10018b2e
inc eax
cmp eax, esi
jl 0x10018b20
cmp eax, esi
jne 0x10018b3a
mov dword [ebp + esi*4 - 0x400], ecx
inc esi
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x10018aa0
pop ebx
cmp dword [ebp - 0x20a00], eax
je 0x10018b5b
cmp esi, 1
jg 0x10018b73
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001a7cf
mov esp, ebp
pop ebp
ret
call fcn.10018760
int3

Function at 0x10018c20
Capabilities:
Create thread
Terminate process

Disassembly:
mov eax, dword [0x1005aaa8]
cmp eax, 1
je 0x10018c6c
cmp eax, 4
je 0x10018c6c
push 0
cmp eax, 2
jne 0x10018c5c
push 0
push 0
push 0x10018bc0
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, 3
jne 0x10018c56
push 0
push 0
push 0x10001f70
jmp 0x10018c3f
push 0
push 0
push 0
push 0x10018bf0
jmp 0x10018c3f
Function at 0x10019210
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100433d0
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10055080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1005aaa4], 1
jne 0x1001932c
sub esp, 8
lea ecx, [ebp - 0xbc]
push 8
push str.GameGuard_Log.txt
call fcn.10003390
mov edx, str._nAKS_Scan:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.10004540
mov edx, str.Thread_attack_
lea ecx, [ebp - 0xbc]
call fcn.10004540
lea ecx, [ebp - 0xb8]
call fcn.10003c30
test eax, eax
jne 0x100192b9
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xbc]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001dd0
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc0], eax
lea ecx, [ebp - 0xb8]
call fcn.10002fe0
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xc0], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x54], vtable.std::ios_base.0
call fcn.1001a02b
add esp, 4
mov eax, dword [0x1005aaa8]
cmp eax, 1
je 0x10019378
cmp eax, 4
je 0x10019378
push 0
cmp eax, 2
jne 0x10019368
push 0
push 0
push 0x10019170
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, 3
jne 0x10019362
push 0
push 0
push 0x10001f70
jmp 0x1001934b
push 0
push 0
push 0
push 0x100191c0
jmp 0x1001934b

Function at 0x10019610
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push fcn.1000d900
push 0
push 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov eax, dword [0x1005ab28]
cdq
sub eax, edx
mov dword [0x1005b7b0], 1
sar eax, 1
push eax
mov dword [0x1005b790], 1
call ebx
mov eax, 0x10624dd3
inc esi
imul dword [0x1005ab14]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jne 0x10019632
push 0
push 0
push 0
push fcn.1000d900
push 0
push 0
call edi
jmp 0x10019630
Function at 0x10019760
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100433d0
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10055080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1005aaa4], 1
jne 0x1001987c
sub esp, 8
lea ecx, [ebp - 0xbc]
push 8
push str.GameGuard_Log.txt
call fcn.10003390
mov edx, str._nVM_Scan:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.10004540
mov edx, str.Virtual_memory_Value_changed_
lea ecx, [ebp - 0xbc]
call fcn.10004540
lea ecx, [ebp - 0xb8]
call fcn.10003c30
test eax, eax
jne 0x10019809
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xbc]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001dd0
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc0], eax
lea ecx, [ebp - 0xb8]
call fcn.10002fe0
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xc0], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x54], vtable.std::ios_base.0
call fcn.1001a02b
add esp, 4
mov eax, dword [0x1005aaa8]
push 0
cmp eax, 1
jne 0x100198ae
push 0
push 0
push 0x10019730
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 0x100198be
push 0
push 0
push 0x10019700
jmp 0x10019891
cmp eax, 3
jne 0x100198ce
push 0
push 0
push 0x10001f70
jmp 0x10019891
cmp eax, 4
jne 0x100198a8
push 0
push 0
push 0x10019150
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.VM_Scan
push str.Virtual_memory_Value_changed_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x100198a6

Function at 0x1002d30e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1002d34d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002d34d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002d34d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1002d34d
cmp dword [ecx + 0x74], 0xe
jbe 0x1002d34d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1002f59a
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x1002f5b4
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x1002f5cb
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x1002f623
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.1003a733
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x1002f623
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1002f623
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1002f623
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x1002f61d
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x1002f61f
xor bl, bl
mov al, bl
jmp 0x1002f625
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x100330ef
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.1001b690
mov eax, dword [0x10055080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1002f1dd
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10033131
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100332a8
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10041f60
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1014], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x1005a5f0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.10034b30
mov ecx, dword [esi*4 + 0x1005a5f0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x1020], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x100332a1
cmp eax, dword [edi + ecx + 0x24]
jne 0x100332a1
xor esi, esi
lea eax, [ebp - 0x101c]
push esi
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100332a1
push dword [ebp - 0x100c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10034b30
add esp, 0x14
cmp edx, esi
jl 0x100332a1
jg 0x100331fc
cmp eax, esi
jb 0x100332a1
mov ebx, dword [ebp - 0x1014]
mov eax, dword [ebp - 0x101c]
cmp ebx, esi
jg 0x100332a1
jl 0x1003321e
cmp dword [ebp - 0x1008], eax
ja 0x100332a1
lea edi, [ebp - 0x1004]
xorps xmm0, xmm0
add edi, eax
movlpd qword [ebp - 0x1018], xmm0
lea ecx, [ebp - 0x1004]
cmp dword [ebp - 0x1008], esi
jne 0x10033243
cmp ebx, esi
je 0x10033288
mov edx, dword [ebp - 0x1014]
mov esi, dword [ebp - 0x1018]
cmp ecx, edi
jae 0x10033288
mov al, byte [ecx]
cmp al, 0xd
jne 0x10033269
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10033275
cmp byte [ecx + 1], 0xa
jne 0x10033275
inc ecx
jmp 0x10033275
movzx eax, al
movsx eax, byte [eax + 0x100554d8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1003324f
cmp edx, ebx
jne 0x1003324f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x1020]
jmp 0x100332a6
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1001a7cf
leave
ret