Function at 0x10043130
Capabilities:
Acquire debug privileges
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100af18b
mov eax, dword fs:[0]
push eax
mov eax, 0x1878
call fcn.100761a0
mov eax, dword [0x100df514]
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
lea eax, [ebp - 0x1884]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100431d3
lea eax, [ebp - 0x1224]
mov dword [ebp - 0x1228], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x1228]
mov dword [ebp - 0x121c], 2
push eax
push 0
push dword [ebp - 0x1884]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x1884]
call ebx
push 0
push 2
mov dword [ebp - 0x1880], 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x1880], esi
push 0x228
lea eax, [ebp - 0x1878]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x187c], 0x22c
call fcn.10080db0
add esp, 0xc
lea eax, [ebp - 0x187c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x100434dc
cmp dword [ebp - 0x1874], 0
jne 0x10043268
lea eax, [ebp - 0x187c]
push eax
push dword [ebp - 0x1880]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x100434dc
cmp dword [ebp - 0x1874], 0
jne 0x10043268
lea eax, [ebp - 0x187c]
push eax
lea ecx, [ebp - 0x1880]
call fcn.10043530
test eax, eax
je 0x100434dc
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop word [eax + eax]
mov esi, dword [ebp - 0x1874]
lea eax, [ebp - 0x1858]
push 0x15
push str.BenchmarkLauncher.exe
push eax
call fcn.1009265a
add esp, 0xc
test eax, eax
je 0x100432be
push 0x19
lea eax, [ebp - 0x1858]
push str.BenchmarkLauncher_x64.exe
push eax
call fcn.1009265a
add esp, 0xc
test eax, eax
jne 0x100434a3
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10080db0
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100433be
push 0x800
lea eax, [ebp - 0xa18]
push 0
push eax
call fcn.10080db0
add esp, 0xc
lea eax, [ebp - 0xa18]
push 0x400
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x100433bb
push 0x800
lea eax, [ebp - 0x1218]
push 0
push eax
call fcn.10080db0
lea eax, [ebp - 0xa18]
push 0x7e
push eax
call fcn.10081186
add esp, 0x14
test eax, eax
je 0x10043383
push 0x400
lea eax, [ebp - 0x1218]
push eax
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x10043383
lea ecx, [ebp - 0x1218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10043370
lea eax, [ebp - 0x1218]
jmp 0x100433a1
lea ecx, [ebp - 0xa18]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10043390
lea eax, [ebp - 0xa18]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10091f3b
add esp, 0x10
push esi
call ebx
lea eax, [ebp - 0x218]
push eax
call fcn.100555f0
add esp, 4
test eax, eax
je 0x100434a3
push dword [ebp - 0x1874]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x424
mov esi, eax
mov dword [ebp - 0x1650], 0x428
lea eax, [ebp - 0x164c]
push 0
push eax
call fcn.10080db0
add esp, 0xc
lea eax, [ebp - 0x1650]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x1004349b
nop dword [eax]
push 0xc
lea eax, [ebp - 0x1630]
push str.GearNtKe.dll
push eax
call fcn.1009265a
add esp, 0xc
test eax, eax
jne 0x10043484
mov eax, dword [ebp - 0x1634]
test eax, eax
je 0x10043484
push str.AddProcess
push eax
call edi
push str.SetSpeed
push dword [ebp - 0x1634]
mov ebx, eax
call edi
push str.GetSpeed
push dword [ebp - 0x1634]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004347e
test ebx, ebx
je 0x1004347e
test edi, edi
jne 0x10043510
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [ebp - 0x1650]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x10043420
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x100434a3
push esi
call ebx
lea eax, [ebp - 0x187c]
push eax
push dword [ebp - 0x1880]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x100434dc
cmp dword [ebp - 0x1874], 0
jne 0x100434d4
lea eax, [ebp - 0x187c]
push eax
lea ecx, [ebp - 0x1880]
call fcn.10043530
test eax, eax
jne 0x10043280
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov ecx, dword [ebp - 0x1880]
cmp ecx, 0xffffffff
je 0x100434f2
push ecx
call edi
mov eax, esi
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.100760cb
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x1004351e
push esi
call edi
mov esi, 1
jmp 0x100434e4