Function at 0x430000
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x4afd58
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e0c44]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [esp + 0x5c]
add ecx, 0x14
xor esi, esi
cmp ecx, esi
je 0x430052
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 4]
push 0xffffffffffffffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], esi
call eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], esi
or ebp, 0xffffffff
cmp edi, esi
je 0x430132
call fcn.0042ff70
test eax, eax
je 0x430130
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 0x4300ba
fild dword [esp + 0x3c]
push 0x5e
push str.._thread_threadmanager.cpp
sub esp, 0x10
fsub qword [0x4c65f0]
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.0041c8a0
mov edx, dword [esp + 0x5c]
add esp, 0x20
mov dword [edi + 4], esi
mov eax, dword [edi + 4]
cmp eax, esi
jge 0x4300c5
xor eax, eax
jmp 0x4300ce
lea ecx, [edx - 1]
cmp eax, ecx
jl 0x4300ce
mov eax, ecx
lea ecx, [edx - 1]
test ecx, ecx
mov dword [edi + 4], eax
jge 0x43010e
fild dword [esp + 0x3c]
push 0x5f
push str.._thread_threadmanager.cpp
sub esp, 0x10
fsub qword [0x4c65f0]
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.0041c8a0
mov edx, dword [esp + 0x5c]
add esp, 0x20
mov dword [edi + 8], esi
mov eax, dword [edi + 8]
cmp eax, esi
jge 0x43011f
mov ebp, dword [edi + 4]
xor eax, eax
mov dword [edi + 8], eax
jmp 0x430132
lea ecx, [edx - 1]
cmp eax, ecx
jl 0x430128
mov eax, ecx
mov ebp, dword [edi + 4]
mov dword [edi + 8], eax
jmp 0x430132
xor edi, edi
cmp dword [esp + 0x60], esi
mov dword [esp + 0x18], esi
jle 0x4301e7
mov edx, dword [esp + 0x64]
mov dword [esp + 0x14], edx
jmp 0x430150
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
neg eax
push ecx
mov ecx, dword [esp + 0x60]
sbb eax, eax
and eax, dword [esp + 0x18]
push edx
push eax
call fcn.00430250
mov ebx, eax
cmp ebx, esi
je 0x430226
cmp edi, esi
je 0x4301cb
mov esi, dword [edi + 8]
sub esi, dword [edi + 4]
mov eax, ebp
add esi, 1
cmp dword [edi], 0
jne 0x4301a6
test ebp, ebp
jge 0x430198
xor eax, eax
mov esi, eax
jmp 0x4301b3
cmp ebp, 0x20
jl 0x4301a2
mov eax, 0x1f
mov esi, eax
jmp 0x4301b3
call fcn.0047eca7
cdq
idiv esi
mov esi, dword [edi + 4]
add esi, edx
test esi, esi
jl 0x4301cb
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x4301cb
mov ecx, dword [ebx + 0x14]
push esi
push ecx
call eax
mov ebp, esi
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 4
add eax, 1
xor esi, esi
cmp eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
jl 0x430150
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x24], esi
je 0x43020b
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
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
cmp dword [esp + 0x24], esi
je 0x43024a
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
neg eax
sbb eax, eax
add eax, 1
mov dword [esp + 0x24], eax
xor eax, eax
jmp 0x430210