Function at 0x401c1c
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
jmp 0x40f850
push 0xffffffffffffffff
push 0x4804b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov eax, dword [sym.imp.QtCore4.dll_struct_QVectorData_QVectorData::shared_null]
push ebp
push esi
xor esi, esi
mov ebp, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 8], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
mov dword [esp + 0x84], esi
call fcn.004017b7
test al, al
jne 0x40f8db
mov eax, dword [esp + 8]
cmp eax, esi
mov dword [esp + 0x80], 0xffffffff
je 0x40f8c5
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40f8c5
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret 4
push ebx
push edi
lea ebx, [ebp + 0x8024]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x20], edi
call fcn.00401c49
mov ecx, ebx
mov dword [esp + 0x34], eax
call fcn.00401195
mov esi, eax
test esi, esi
mov dword [esp + 0x30], esi
je 0x40fc0e
lea esp, [esp]
cmp byte [esp + 0x90], 0
jne 0x40f927
test dword [esi + 4], 0xffffff
je 0x40fbf3
cmp dword [esi], 0
je 0x40fc0e
mov eax, dword [esi + 8]
cmp eax, 0xa
jge 0x40f93f
mov eax, 0xa
jmp 0x40f954
xor ecx, ecx
cmp eax, 0x401
setge cl
sub ecx, 1
and ecx, 0xfffffffd
add ecx, 0xf
mov eax, ecx
add dword [esp + 0x2c], eax
mov edx, dword [esi + 4]
mov ecx, dword [esp + edi*4 + 0x48]
lea eax, [edi + edi*4]
add eax, eax
add eax, eax
and edx, 0xffffff
mov dword [esp + eax + 0x5c], edx
lea edx, [esp + 0x14]
push edx
lea ebx, [esp + eax + 0x5c]
mov dword [esp + eax + 0x64], ecx
mov dword [esp + eax + 0x68], 0x10000
mov dword [esp + eax + 0x6c], 0
mov eax, dword [esp + edi*4 + 0x44]
push 5
push eax
push ebx
mov ecx, ebp
mov dword [ebx], 0
call fcn.00401582
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + edi*4 + 0x44]
push 1
push eax
push ebx
mov ecx, ebp
mov dword [ebx], 2
call fcn.00401582
push 0x1770
lea ecx, [edi + 0xf0]
push ecx
mov ecx, ebp
call fcn.00401447
test al, al
je 0x410121
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
and eax, 0xffffff
xor edi, 1
test ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], eax
jbe 0x40fb74
mov eax, ecx
jmp 0x40fa05
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
add esi, 0xc
cmp eax, ecx
jb 0x40fa73
mov eax, dword [esi]
mov edx, dword [eax]
cmp edx, 1
mov dword [esp + 0x24], ecx
je 0x40fa2e
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
push edx
mov ecx, esi
call fcn.004010a0
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
lea ecx, [eax + ecx*4 + 0x10]
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea edx, [edx + edx*2]
sub esi, edx
mov ebx, dword [esp + esi*4 + 0x48]
mov esi, dword [esp + 0x54]
lea eax, [esp + 0x14]
push eax
push esi
push ebx
push ecx
mov ecx, ebp
call fcn.00401582
test al, al
je 0x4100dd
add dword [esp + 0x18], esi
sub dword [esp + 0x1c], esi
jmp 0x40fad8
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov ecx, dword [eax]
cmp ecx, 1
je 0x40fa91
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
push edx
push eax
mov ecx, esi
call fcn.004010a0
mov ecx, dword [esi]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
lea ecx, [ecx + edx*4 + 0x10]
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea eax, [edx + edx*2]
sub esi, eax
mov ebx, dword [esp + esi*4 + 0x48]
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push esi
push ebx
push ecx
mov ecx, ebp
call fcn.00401582
test al, al
je 0x4100dd
add dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea eax, [edi + edi*4]
add eax, eax
add eax, eax
mov dword [esp + eax + 0x5c], ecx
lea ecx, [edx*4]
lea edx, [esp + 0x14]
push edx
mov dword [esp + eax + 0x64], ebx
mov ebx, dword [esp + edi*4 + 0x44]
push 5
lea esi, [esp + eax + 0x60]
push ebx
mov dword [esp + eax + 0x70], ecx
push esi
mov ecx, ebp
mov dword [esi], 0
mov dword [esp + eax + 0x78], 0
call fcn.00401582
lea eax, [esp + 0x14]
push eax
push 1
push ebx
push esi
mov ecx, ebp
mov dword [esi], 1
call fcn.00401582
push 0x1770
lea ecx, [edi + 0xf0]
push ecx
mov ecx, ebp
call fcn.00401447
test al, al
je 0x410121
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add dword [esp + 0x20], 1
lea ecx, [edx + eax*4]
mov eax, dword [esp + 0x1c]
xor edi, 1
test eax, eax
mov dword [esp + 0x28], ecx
ja 0x40fa01
mov edx, dword [esp + 0x2c]
fild dword [esp + 0x2c]
test edx, edx
jge 0x40fb86
fadd dword [0x4967fc]
mov eax, dword [esp + 0x34]
fmul qword [0x4967f0]
test eax, eax
fild dword [esp + 0x34]
jge 0x40fb9e
fadd dword [0x4967fc]
fdivp st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fst dword [ebp + 0x804c]
fld dword [0x4967ec]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x40fbc7
fstp st(1)
fstp dword [ebp + 0x804c]
jmp 0x40fbe0
fstp st(0)
fld1
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x40fbde
fstp dword [ebp + 0x804c]
jmp 0x40fbe0
fstp st(0)
fld dword [ebp + 0x804c]
call fcn.00476510
push eax
mov ecx, ebp
call fcn.00401d20
lea ebx, [ebp + 0x8024]
mov ecx, ebx
call fcn.00401195
mov esi, eax
test esi, esi
mov dword [esp + 0x30], eax
jne 0x40f910
mov ecx, ebx
call fcn.00401e42
lea ecx, [esp + 0x10]
call fcn.004011a9
mov ecx, ebx
call fcn.00401195
xor esi, esi
cmp eax, esi
je 0x40fdfb
nop
cmp dword [eax], esi
je 0x40fdfb
cmp byte [esp + 0x90], 0
jne 0x40fc4f
test dword [eax + 4], 0xffffff
je 0x40fde8
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
xor ecx, ecx
and ebx, 0xffffff
cmp edx, esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x34], ebx
jle 0x40fde8
add eax, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0x10
jmp 0x40fc86
mov ebx, dword [esp + 0x34]
mov eax, edx
sub eax, ecx
cmp eax, 0x2000
mov dword [esp + 0x24], 0x2000
jg 0x40fc9d
mov dword [esp + 0x24], eax
lea esi, [ebx + ecx*4]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [esp + 0x10]
mov ebx, 1
cmp edx, ebx
jne 0x40fcbd
mov ecx, dword [eax + 8]
add ecx, ebx
cmp ecx, dword [eax + 4]
jle 0x40fce8
mov edx, dword [eax + 8]
push 0
push 4
add edx, ebx
push edx
push 0x14
call dword [sym.imp.QtCore4.dll_public:_static_int___cdecl_QVectorData::grow_int__int__int__bool_]
add esp, 0x10
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.004010a0
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
mov dword [eax + edx*4 + 0x10], esi
mov eax, dword [esp + 0x10]
add dword [eax + 8], ebx
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
add esi, esi
add esi, esi
cmp ecx, ebx
jne 0x40fd16
mov edx, dword [eax + 8]
add edx, ebx
cmp edx, dword [eax + 4]
jle 0x40fd41
mov eax, dword [eax + 8]
push 0
push 4
add eax, ebx
push eax
push 0x14
call dword [sym.imp.QtCore4.dll_public:_static_int___cdecl_QVectorData::grow_int__int__int__bool_]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 8]
add esp, 0x10
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.004010a0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 0x10], esi
mov eax, dword [esp + 0x10]
add dword [eax + 8], ebx
mov eax, dword [edx]
mov eax, dword [eax]
cmp eax, ebx
je 0x40fd6c
mov ecx, edx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
push edx
push eax
call fcn.004010a0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
add eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov esi, dword [eax]
mov eax, dword [edx]
cmp eax, ebx
mov eax, dword [esp + 0x10]
jne 0x40fd90
mov ecx, dword [eax + 8]
add ecx, ebx
cmp ecx, dword [eax + 4]
jle 0x40fdbb
mov edx, dword [eax + 8]
push 0
push 4
add edx, ebx
push edx
push 0x14
call dword [sym.imp.QtCore4.dll_public:_static_int___cdecl_QVectorData::grow_int__int__int__bool_]
add esp, 0x10
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.004010a0
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x24]
add dword [esp + 0x28], 4
mov dword [eax + edx*4 + 0x10], esi
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
add dword [eax + 8], ebx
cmp ecx, edx
mov dword [esp + 0x30], ecx
jl 0x40fc82
xor esi, esi
lea ecx, [ebp + 0x8024]
call fcn.00401195
cmp eax, esi
jne 0x40fc30
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx + 8]
lea eax, [ecx + 8]
mov ecx, dword [ecx]
cmp ecx, 1
je 0x40fe20
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.004010a0
mov eax, dword [esp + 0x10]
add eax, 0x10
cmp ebx, esi
mov dword [esp + 0x34], eax
jbe 0x40ff66
mov ecx, dword [esp + 0x20]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
mov ecx, dword [esp + ecx*4 + 0x48]
lea eax, [esp + 0x14]
push eax
push ebx
push ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.00401582
test al, al
jne 0x40feb0
mov eax, dword [esp + 0x10]
cmp eax, esi
mov dword [esp + 0x88], 0xffffffff
je 0x410107
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x410107
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
pop edi
pop ebx
pop esi
mov eax, 0xfffffffd
pop ebp
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret 4
mov edx, dword [esp + 0x30]
lea ecx, [edi + edi*4]
add ecx, ecx
add ecx, ecx
xor eax, eax
lea esi, [esp + ecx + 0x58]
mov dword [esp + ecx + 0x5c], eax
mov dword [esp + ecx + 0x68], eax
mov dword [esi], eax
mov dword [esp + ecx + 0x60], edx
mov eax, 0xaaaaaaab
mul ebx
mov ebx, dword [esp + edi*4 + 0x40]
lea eax, [esp + 0x14]
push eax
push 5
shr edx, 1
push ebx
mov dword [esp + ecx + 0x70], edx
push esi
mov ecx, ebp
call fcn.00401582
lea ecx, [esp + 0x14]
push ecx
push 1
push ebx
push esi
mov ecx, ebp
mov dword [esi], 5
call fcn.00401582
push 0x1770
lea edx, [edi + 0xf0]
push edx
mov ecx, ebp
call fcn.00401447
test al, al
jne 0x40ff61
mov eax, dword [esp + 0x30]
push 0x1388
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.00401ae1
lea ecx, [esp + 0x10]
mov dword [esp + 0x88], 0xffffffff
call fcn.00401b1d
pop edi
pop ebx
pop esi
mov eax, 0xfffffffc
pop ebp
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret 4
xor edi, 1
xor esi, esi
lea eax, [edi + edi*4]
add eax, eax
add eax, eax
lea ecx, [esp + eax + 0x58]
lea edx, [esp + 0x14]
push edx
mov dword [esp + eax + 0x60], esi
mov dword [esp + eax + 0x64], esi
mov dword [esp + eax + 0x6c], esi
mov dword [esp + eax + 0x68], esi
mov eax, dword [esp + edi*4 + 0x44]
push 5
push eax
mov dword [ecx], 4
push ecx
mov ecx, ebp
call fcn.00401582
push 0x1770
lea ecx, [edi + 0xf0]
push ecx
mov ecx, ebp
call fcn.00401447
test al, al
jne 0x40fff6
mov eax, dword [esp + 0x10]
cmp eax, esi
mov dword [esp + 0x88], 0xffffffff
je 0x40ffdc
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x40ffdc
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
pop edi
pop ebx
pop esi
mov eax, 0xfffffffb
pop ebp
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret 4
xor edi, 1
cmp byte [0x6ce2fe], 0
je 0x410084
mov edx, dword [ebp + 0x8058]
lea eax, [edi + edi*4]
add eax, eax
add eax, eax
lea ecx, [esp + eax + 0x58]
mov dword [esp + eax + 0x5c], edx
mov edx, dword [esp + edi*4 + 0x40]
mov dword [esp + eax + 0x60], esi
mov dword [esp + eax + 0x68], esi
mov dword [esp + eax + 0x64], esi
lea eax, [esp + 0x14]
push eax
push 5
push edx
mov dword [ecx], 8
push ecx
mov ecx, ebp
call fcn.00401582
push 0x1770
push 0xb0
mov ecx, ebp
call fcn.00401447
test al, al
jne 0x410084
lea ecx, [esp + 0x10]
mov dword [esp + 0x88], 0xffffffff
call fcn.00401b1d
pop edi
pop ebx
pop esi
mov eax, 0xfffffffa
pop ebp
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret 4
fld dword [0x4967e8]
push 0x64
mov ecx, ebp
fstp dword [ebp + 0x804c]
call fcn.00401d20
mov eax, dword [esp + 0x10]
cmp eax, esi
mov dword [esp + 0x88], 0xffffffff
je 0x4100c3
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4100c3
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x88], 0xffffffff
je 0x410107
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x410107
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
pop edi
pop ebx
pop esi
mov eax, 0xfffffffd
pop ebp
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x88], 0xffffffff
je 0x41014b
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41014b
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov ecx, dword [esp + 0x80]
pop edi
pop ebx
pop esi
mov eax, 0xfffffffe
pop ebp
mov dword fs:[0], ecx
add esp, 0x7c
ret 4