Function at 0x1003e1d0
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x1006af78
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007e090]
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 0x1003e305
call fcn.1003e140
test eax, eax
je 0x1003e303
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 0x1003e28d
fild dword [esp + 0x44]
push 0x5c
push str.D:WORK2005JMX_LibraryBSLib_thread_threadmanager.cpp
sub esp, 0x10
fsub qword [0x100718a0]
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.1001ce30
mov edx, dword [esp + 0x64]
add esp, 0x20
mov dword [edi + 4], ebx
mov eax, dword [edi + 4]
cmp eax, ebx
jge 0x1003e298
xor eax, eax
jmp 0x1003e2a1
lea ecx, [edx - 1]
cmp eax, ecx
jl 0x1003e2a1
mov eax, ecx
lea ecx, [edx - 1]
test ecx, ecx
mov dword [edi + 4], eax
jge 0x1003e2e1
fild dword [esp + 0x44]
push 0x5d
push str.D:WORK2005JMX_LibraryBSLib_thread_threadmanager.cpp
sub esp, 0x10
fsub qword [0x100718a0]
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.1001ce30
mov edx, dword [esp + 0x64]
add esp, 0x20
mov dword [edi + 8], ebx
mov eax, dword [edi + 8]
cmp eax, ebx
jge 0x1003e2f2
mov ebp, dword [edi + 4]
xor eax, eax
mov dword [edi + 8], eax
jmp 0x1003e305
lea ecx, [edx - 1]
cmp eax, ecx
jl 0x1003e2fb
mov eax, ecx
mov ebp, dword [edi + 4]
mov dword [edi + 8], eax
jmp 0x1003e305
xor edi, edi
cmp dword [esp + 0x68], ebx
mov dword [esp + 0x20], ebx
jle 0x1003e3b6
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.1003e420
mov ebx, eax
test ebx, ebx
je 0x1003e3f3
test edi, edi
je 0x1003e39a
mov esi, dword [edi + 8]
sub esi, dword [edi + 4]
mov eax, ebp
add esi, 1
cmp dword [edi], 0
jne 0x1003e371
test ebp, ebp
jge 0x1003e363
xor eax, eax
mov esi, eax
jmp 0x1003e37e
cmp ebp, 0x20
jl 0x1003e36d
mov eax, 0x1f
mov esi, eax
jmp 0x1003e37e
call fcn.10044283
cdq
idiv esi
mov esi, dword [edi + 4]
add esi, edx
test esi, esi
jl 0x1003e396
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x1003e396
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 0x1003e31b
xor ebx, ebx
mov dword [esp + 0x5c], 0xffffffff
cmp dword [esp + 0x2c], ebx
je 0x1003e3d8
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 0x1003e416
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 0x1003e3dd