Function at 0x10060820
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a596
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1009e034]
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
lea eax, [edi + 4]
push eax
mov dword [ebp - 0x44], edi
mov dword [edi], vtable.elex::thread::Mutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
lea esi, [edi + 0x1c]
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call ebx
add esp, 4
test eax, eax
jne 0x100608a3
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xbad_alloc_void_]
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea esi, [edi + 0x30]
mov byte [ebp - 4], 1
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call ebx
add esp, 4
test eax, eax
jne 0x100608f0
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xbad_alloc_void_]
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea eax, [edi + 0x54]
push eax
mov dword [edi + 0x50], vtable.elex::thread::Mutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea esi, [edi + 0x6c]
mov byte [ebp - 4], 3
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call ebx
add esp, 4
test eax, eax
jne 0x1006094e
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xbad_alloc_void_]
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
push 0
push 0
push 0
mov byte [ebp - 4], 5
push 0
mov dword [edi + 0x8c], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 4
mov dword [edi + 0x44], eax
call ebx
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x100609d9
lea edx, [ebp - 0x3c]
mov ecx, esi
mov dword [esi], 0
mov dword [ebp - 0x3c], 0x10060f30
mov dword [ebp - 0x38], edi
call fcn.10063320
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.10070510
jmp 0x100609db
xor esi, esi
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 5
push eax
mov dword [edi + 0x48], esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x4c], eax
cmp eax, 1
jae 0x100609fe
mov dword [edi + 0x4c], 2
push dword [edi + 0x4c]
lea ecx, [edi + 0x80]
call fcn.10061220
xor ebx, ebx
cmp dword [edi + 0x4c], ebx
jbe 0x10060a7b
push 0x2c
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
test esi, esi
je 0x10060a69
lea eax, [esi + 0xc]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x28], 0
push eax
mov dword [esi + 8], vtable.elex::thread::Mutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0
push 0
mov dword [esi], 0
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
jmp 0x10060a6b
xor esi, esi
mov ecx, dword [edi + 0x80]
inc ebx
mov dword [ecx + ebx*4 - 4], esi
cmp ebx, dword [edi + 0x4c]
jb 0x10060a13
mov eax, edi
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.1006e4e6
mov esp, ebp
pop ebp
ret