Function at 0x10074310
Capabilities:
Enumerate processes
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d56b1
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x103ca0ec]
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 dword [ebp - 0x44], ecx
sub esp, 8
lea ecx, [ebp - 0x100]
call fcn.10075310
push 0x412
mov dword [ebp - 4], 0
call fcn.100b6af8
mov edi, eax
add esp, 4
test edi, edi
je 0x10074385
push 0x22c
call fcn.100b6af8
mov esi, eax
add esp, 4
test esi, esi
jne 0x100743d3
push edi
call fcn.100b3a32
add esp, 4
mov esi, 1
lea ecx, [ebp - 0x98]
call fcn.10075220
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.100963f0
add esp, 4
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.100980ed
mov esp, ebp
pop ebp
ret
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100743e7
push edi
jmp 0x1007440a
push esi
push ebx
mov dword [esi], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1007441f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100b3a32
add esp, 4
push esi
call fcn.100b3a32
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1007438a
mov eax, dword [ebp - 0x44]
mov dword [eax + 0xc], 0xffffffff
lea eax, [esi + 0x24]
nop dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.10075140
push 9
push ecx
push str.arma3.exe
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10076a20
cmp eax, 0xffffffff
jne 0x10074467
push 0xd
push ecx
push str.arma3_x64.exe
lea ecx, [ebp - 0x28]
call fcn.10076a20
cmp eax, 0xffffffff
je 0x10074470
mov ecx, dword [ebp - 0x44]
mov eax, dword [esi + 8]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 8]
push 0x412
push 0
push edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0x2080000
mov dword [ebp - 0x48], edi
call fcn.100b11d0
add esp, 0xc
mov dword [esi], 0x22c
lea eax, [ebp - 0x50]
push 0
push 0xc
push eax
push 0x58
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ecx, eax
and ecx, 0xc0000000
cmp ecx, 0xc0000000
jne 0x100744d2
cmp eax, 0xc0000004
je 0x100744d2
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10075100
jmp 0x1007454d
push dword [esi + 0x18]
push ecx
push dword [esi + 0x14]
push ecx
push dword [esi + 8]
lea ecx, [ebp - 0xf0]
call fcn.10075a80
mov ecx, eax
call fcn.100783c0
lea edx, [esi + 0x24]
mov ecx, eax
call fcn.10078710
mov ecx, eax
call fcn.100783c0
add esp, 4
mov ecx, eax
call fcn.10075a80
mov ecx, eax
call fcn.100783c0
add esp, 4
mov ecx, eax
call fcn.10075a80
mov ecx, eax
call fcn.100783c0
mov edx, edi
mov ecx, eax
call fcn.10078710
push eax
call fcn.100789d0
mov byte [ebp - 4], 0
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1007454d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10076e80
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
lea eax, [esi + 0x24]
jne 0x10074430
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x100]
call fcn.10075200
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
add eax, eax
push eax
push edx
push 0x30
call fcn.10074180
push esi
call fcn.100b3a32
add esp, 4
push edi
call fcn.100b3a32
add esp, 4
lea ecx, [ebp - 0x40]
xor esi, esi
call fcn.10075100
jmp 0x1007438a