Function at 0x10042500
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x1006d238
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100810a0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x64]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
add esi, 0x14
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
xor ebx, ebx
push 0xffffffffffffffff
mov ecx, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], ebx
call eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], ebx
or ebp, 0xffffffff
cmp edi, ebx
je 0x10042635
call fcn.10042470
test eax, eax
je 0x10042633
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x44]
lea eax, [edx - 1]
test eax, eax
jge 0x100425bd
fild dword [esp + 0x44]
push 0x5c
push str.D:WORK2005JMX_LibraryBSLib_thread_threadmanager.cpp
sub esp, 0x10
fsub qword [0x10073c80]
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.1001e9a0
mov edx, dword [esp + 0x64]
add esp, 0x20
mov dword [edi + 4], ebx
mov eax, dword [edi + 4]
cmp eax, ebx
jge 0x100425c8
xor eax, eax
jmp 0x100425d1
lea ecx, [edx - 1]
cmp eax, ecx
jl 0x100425d1
mov eax, ecx
lea ecx, [edx - 1]
test ecx, ecx
mov dword [edi + 4], eax
jge 0x10042611
fild dword [esp + 0x44]
push 0x5d
push str.D:WORK2005JMX_LibraryBSLib_thread_threadmanager.cpp
sub esp, 0x10
fsub qword [0x10073c80]
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.1001e9a0
mov edx, dword [esp + 0x64]
add esp, 0x20
mov dword [edi + 8], ebx
mov eax, dword [edi + 8]
cmp eax, ebx
jge 0x10042622
mov ebp, dword [edi + 4]
xor eax, eax
mov dword [edi + 8], eax
jmp 0x10042635
lea ecx, [edx - 1]
cmp eax, ecx
jl 0x1004262b
mov eax, ecx
mov ebp, dword [edi + 4]
mov dword [edi + 8], eax
jmp 0x10042635
xor edi, edi
cmp dword [esp + 0x68], ebx
mov dword [esp + 0x20], ebx
jle 0x100426e6
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
neg eax
push ecx
mov ecx, dword [esp + 0x68]
sbb eax, eax
and eax, dword [esp + 0x1c]
push edx
push eax
call fcn.10042750
mov ebx, eax
test ebx, ebx
je 0x10042723
test edi, edi
je 0x100426ca
mov esi, dword [edi + 8]
sub esi, dword [edi + 4]
mov eax, ebp
add esi, 1
cmp dword [edi], 0
jne 0x100426a1
test ebp, ebp
jge 0x10042693
xor eax, eax
mov esi, eax
jmp 0x100426ae
cmp ebp, 0x20
jl 0x1004269d
mov eax, 0x1f
mov esi, eax
jmp 0x100426ae
call fcn.100468e2
cdq
idiv esi
mov esi, dword [edi + 4]
add esi, edx
test esi, esi
jl 0x100426c6
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x100426c6
mov ecx, dword [ebx + 0x14]
push esi
push ecx
call eax
mov ebp, esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add dword [esp + 0x18], 4
add eax, 1
cmp eax, dword [esp + 0x68]
mov dword [esp + 0x20], eax
jl 0x1004264b
xor ebx, ebx
mov dword [esp + 0x5c], 0xffffffff
cmp dword [esp + 0x2c], ebx
je 0x10042708
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 + 0x2c], eax
mov eax, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x14
mov dword [esp + 0x5c], 0xffffffff
cmp dword [esp + 0x2c], 0
je 0x10042746
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 + 0x2c], eax
xor eax, eax
jmp 0x1004270d