Function at 0x4cdca0
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x57e109
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eabd8]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x50]
lea edi, [esi + 4]
push eax
mov ecx, edi
mov dword [esi], vtable.COXInstanceManager.0
call fcn.00414a70
mov ecx, dword [esp + 0x54]
push edi
lea edx, [esp + 0x58]
push str.COXInstanceManager_InstanceList_Mutex_
xor ebx, ebx
push edx
mov dword [esp + 0x54], ebx
mov dword [esi + 0xc], ecx
call fcn.0041bdd0
add esp, 0xc
mov eax, dword [eax]
push ebx
push eax
push ebx
lea ecx, [esi + 0x10]
mov byte [esp + 0x54], 1
call fcn.00496d11
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0x48], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cdd39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [esp + 0x18]
push str.COXInstanceManager_Additional_Mutex_
push ecx
call fcn.0041bdd0
add esp, 0xc
mov eax, dword [eax]
push ebx
push eax
push ebx
lea ecx, [esi + 0x18]
mov byte [esp + 0x54], 4
call fcn.00496d11
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x48], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4cdd83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 8], 0xfa8
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x38]
xor edx, edx
div ecx
cmp edx, ebx
je 0x4cddd5
add eax, ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
xor edx, edx
div ecx
cmp edx, ebx
je 0x4cdde5
add eax, ecx
push edi
lea edx, [esp + 0x54]
mov ebp, eax
add ebp, dword [esi + 8]
push str.COXInstanceManager_FileMap_
push edx
mov dword [esi + 0xc], eax
call fcn.0041bdd0
add esp, 0xc
mov eax, dword [esp + 0x50]
push eax
push ebp
push ebx
push 0x8000004
push ebx
push 0xffffffffffffffff
mov byte [esp + 0x60], 7
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
sete cl
mov eax, ecx
cmp eax, ebx
jne 0x4cde3a
mov ecx, esi
call fcn.004cd8d0
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
mov ecx, esi
call fcn.004cd930
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0x48], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4cde6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8