Function at 0x4e4810
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x51ec78
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x553150]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [esp + 0x5c]
add ecx, 0x14
xor edi, edi
cmp ecx, edi
jne 0x4e4851
call fcn.004be360
mov esi, dword [esp + 0x1c]
jmp 0x4e486f
mov esi, ecx
mov dword [esp + 0x1c], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 4]
push 0xffffffffffffffff
mov dword [esp + 0x28], edi
call eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], edi
or ebp, 0xffffffff
cmp ebx, edi
je 0x4e494f
call fcn.004e4780
test eax, eax
je 0x4e494d
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x3c]
lea eax, [edx - 1]
test eax, eax
jge 0x4e48d7
fild dword [esp + 0x3c]
push 0x5e
push str.D:WORK2005SourceJMX_LibraryBSLib_thread_threadmanager.cpp
sub esp, 0x10
fsub qword [0x531768]
fstp qword [esp + 8]
fldz
fstp qword [esp]
push str.CLAMP_____min__.3f__exceeded_max__.3f__value___File:__s__Line:__d
push 0x2000001
call fcn.004c0e10
mov edx, dword [esp + 0x5c]
add esp, 0x20
mov dword [ebx + 4], edi
mov eax, dword [ebx + 4]
cmp eax, edi
jge 0x4e48e2
xor eax, eax
jmp 0x4e48eb
lea ecx, [edx - 1]
cmp eax, ecx
jl 0x4e48eb
mov eax, ecx
lea ecx, [edx - 1]
test ecx, ecx
mov dword [ebx + 4], eax
jge 0x4e492b
fild dword [esp + 0x3c]
push 0x5f
push str.D:WORK2005SourceJMX_LibraryBSLib_thread_threadmanager.cpp
sub esp, 0x10
fsub qword [0x531768]
fstp qword [esp + 8]
fldz
fstp qword [esp]
push str.CLAMP_____min__.3f__exceeded_max__.3f__value___File:__s__Line:__d
push 0x2000001
call fcn.004c0e10
mov edx, dword [esp + 0x5c]
add esp, 0x20
mov dword [ebx + 8], edi
mov eax, dword [ebx + 8]
cmp eax, edi
jge 0x4e493c
mov ebp, dword [ebx + 4]
xor eax, eax
mov dword [ebx + 8], eax
jmp 0x4e494f
lea ecx, [edx - 1]
cmp eax, ecx
jl 0x4e4945
mov eax, ecx
mov ebp, dword [ebx + 4]
mov dword [ebx + 8], eax
jmp 0x4e494f
xor ebx, ebx
cmp dword [esp + 0x60], edi
mov dword [esp + 0x18], edi
jle 0x4e4a00
mov edx, dword [esp + 0x64]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x5c]
neg eax
sbb eax, eax
and eax, dword [esp + 0x14]
push ecx
push edx
push eax
call fcn.004e4a80
mov edi, eax
test edi, edi
je 0x4e4a46
test ebx, ebx
je 0x4e49e4
mov esi, dword [ebx + 8]
sub esi, dword [ebx + 4]
mov eax, ebp
add esi, 1
cmp dword [ebx], 0
jne 0x4e49bb
test ebp, ebp
jge 0x4e49ad
xor eax, eax
mov esi, eax
jmp 0x4e49c8
cmp ebp, 0x20
jl 0x4e49b7
mov eax, 0x1f
mov esi, eax
jmp 0x4e49c8
call fcn.004e7bd5
cdq
idiv esi
mov esi, dword [ebx + 4]
add esi, edx
test esi, esi
jl 0x4e49e0
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x4e49e0
mov ecx, dword [edi + 0x14]
push esi
push ecx
call eax
mov ebp, esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 4
add eax, 1
cmp eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
jl 0x4e4965
xor edi, edi
mov dword [esp + 0x54], 0xffffffff
cmp esi, edi
jne 0x4e4a11
call fcn.004be360
cmp dword [esp + 0x24], edi
je 0x4e4a2b
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x24], eax
mov eax, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x14
mov dword [esp + 0x54], 0xffffffff
test esi, esi
jne 0x4e4a57
call fcn.004be360
cmp dword [esp + 0x24], 0
je 0x4e4a72
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x24], eax
xor eax, eax
jmp 0x4e4a30