Function at 0x100508b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100b2abc
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x30]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], 0
call fcn.10031d20
mov dword [esp + 0x80], 0
cmp dword [esi + 0x14], 0x10
jb 0x10050925
mov esi, dword [esi]
push 0
push esi
lea ecx, [esp + 0x38]
call fcn.10031e80
test al, al
je 0x10051183
lea ecx, [esp + 0x30]
call fcn.10031f90
mov ebx, eax
test ebx, ebx
je 0x10051183
mov ecx, ebx
call fcn.10031610
test eax, eax
je 0x10051183
mov ecx, ebx
call fcn.10031610
push eax
lea ecx, [esp + 0x38]
call fcn.10007670
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x34]
cmp dword [esp + 0x48], 0x10
mov eax, 5
mov esi, dword [esp + 0x44]
cmovae ecx, dword [esp + 0x34]
cmp esi, eax
cmovb eax, esi
push eax
push str.layer
push ecx
call fcn.10031300
add esp, 0xc
test eax, eax
jne 0x100509b7
cmp esi, 5
jae 0x100509ad
or eax, 0xffffffff
jmp 0x100509b5
xor eax, eax
cmp esi, 5
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
jne 0x1005114f
push str.animaterestore
mov ecx, ebx
mov dword [edi + 4], 0
mov dword [edi], 0x92080000
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050a0f
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050a0f
push 0
push 0
mov ecx, esi
call fcn.10031630
push eax
call fcn.100404c1
add esp, 0xc
test eax, eax
je 0x10050a0f
or dword [edi], 0xc00000
push str.visible
mov ecx, ebx
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050a4a
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050a4a
push 0
push 0
mov ecx, esi
call fcn.10031630
push eax
call fcn.100404c1
add esp, 0xc
test eax, eax
jne 0x10050a4a
and dword [edi], 0xefffffff
push str.title
mov ecx, ebx
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050a91
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050a91
mov ecx, esi
call fcn.10031630
mov edx, eax
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x10050a73
sub edx, eax
mov ecx, esi
lea eax, [edi + 0x20]
push eax
push edx
call fcn.10031630
push eax
call fcn.100305d0
add esp, 0xc
push str.width
mov ecx, ebx
mov dword [edi + 0x10], 0
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050ac8
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050ac8
mov ecx, esi
call fcn.10031630
push eax
call fcn.1005ad40
add esp, 4
mov dword [edi + 0x18], eax
push str.height
mov ecx, ebx
mov dword [edi + 0x14], 0
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050aff
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050aff
mov ecx, esi
call fcn.10031630
push eax
call fcn.1005ad40
add esp, 4
mov dword [edi + 0x1c], eax
push str.appwin
mov ecx, ebx
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050b42
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050b42
mov ecx, esi
call fcn.10031630
push 0x100c30b4
push eax
call fcn.10031390
add esp, 8
test al, al
je 0x10050b42
or dword [edi + 4], 0x40000
and dword [edi], 0xefffffff
push str.minbox
mov ecx, ebx
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050b7e
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050b7e
mov ecx, esi
call fcn.10031630
push 0x100c30b4
push eax
call fcn.10031390
add esp, 8
test al, al
je 0x10050b7e
or dword [edi], 0x20000
push str.resize
mov ecx, ebx
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050bec
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050bec
mov ecx, esi
call fcn.10031630
push 0x100c30b4
push eax
call fcn.10031390
add esp, 8
test al, al
je 0x10050bec
or dword [edi], 0x30000
mov ecx, ebx
push str.nomaxsize
mov byte [edi + 8], 1
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050bec
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050bec
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050bec
and dword [edi], 0xfffeffff
push str.resizeregion
mov ecx, ebx
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050c30
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050c30
push 0
push 0
mov ecx, esi
call fcn.10031630
push eax
call fcn.100404eb
add esp, 0xc
mov byte [edi + 9], al
cmp byte [edi + 8], 0
je 0x10050c30
test al, al
je 0x10050c30
or dword [edi], 0x40000
push str.minwidth
mov ecx, ebx
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050c65
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050c65
push 0
push 0
mov ecx, esi
call fcn.10031630
push eax
call fcn.100404eb
add esp, 0xc
mov word [edi + 0xa], ax
push str.minheight
mov ecx, ebx
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050c9a
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050c9a
push 0
push 0
mov ecx, esi
call fcn.10031630
push eax
call fcn.100404eb
add esp, 0xc
mov word [edi + 0xc], ax
push str.noborder
mov ecx, ebx
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050cef
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050cef
mov ecx, esi
call fcn.10031630
push eax
lea ecx, [esp + 0x50]
call fcn.10007670
mov byte [esp + 0x80], 2
cmp dword [esp + 0x5c], 0
je 0x10050cde
or dword [edi + 4], 0x88
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x4c]
call fcn.100076d0
push str.layer
mov ecx, ebx
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050d2b
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050d2b
push 0
push 0
mov ecx, esi
call fcn.10031630
push eax
call fcn.100404c1
add esp, 0xc
test eax, eax
je 0x10050d2b
or dword [edi + 4], 0x80000
push str.acceptfiles
mov ecx, ebx
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050d64
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050d64
push 0
push 0
mov ecx, esi
call fcn.10031630
push eax
call fcn.100404c1
add esp, 0xc
test eax, eax
je 0x10050d64
or dword [edi + 4], 0x10
push str.redrawnc
mov ecx, ebx
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050d9d
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050d9d
mov ecx, esi
call fcn.10031630
push 0
push 0
push eax
call fcn.100404c1
add esp, 0xc
test eax, eax
setne al
mov byte [edi + 0x58], al
push str.child
mov ecx, ebx
call fcn.100316b0
mov esi, eax
test esi, esi
je 0x10050e00
mov ecx, esi
call fcn.10031630
test eax, eax
je 0x10050e00
mov ecx, esi
call fcn.10031630
push eax
lea ecx, [esp + 0x50]
call fcn.10007670
mov byte [esp + 0x80], 3
cmp dword [esp + 0x5c], 0
je 0x10050def
mov eax, dword [edi]
and eax, 0x3f33ff7f
or eax, 0x40000000
and dword [edi + 4], 0xfffffdff
mov dword [edi], eax
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x4c]
call fcn.100076d0
mov ecx, dword [ebp]
test ecx, ecx
je 0x10050e0c
call fcn.1004ab90
push 0x170
call fcn.100341f9
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov byte [esp + 0x80], 4
test esi, esi
je 0x10050e48
push 0x170
push 0
push esi
call fcn.10037070
add esp, 0xc
mov ecx, esi
push dword [esp + 0x18]
call fcn.1004b720
jmp 0x10050e4a
xor eax, eax
mov byte [esp + 0x80], 1
mov ecx, ebp
push eax
call fcn.10050530
cmp byte [edi + 8], 0
mov ecx, dword [ebp]
sete al
movzx eax, al
push eax
call fcn.1004c620
push str.defaultdrag
mov ecx, ebx
call fcn.100316b0
mov ebp, eax
test ebp, ebp
je 0x10050eb0
mov ecx, ebp
call fcn.10031630
test eax, eax
je 0x10050eb0
mov esi, dword [esp + 0x14]
mov ecx, ebp
mov esi, dword [esi]
call fcn.10031630
push eax
call fcn.1005ad40
add esp, 4
mov ecx, esi
test eax, eax
setne al
movzx eax, al
push eax
call fcn.1004c610
push str.defaultfocus
mov ecx, ebx
call fcn.100316b0
mov ebp, eax
test ebp, ebp
je 0x10050ef3
mov ecx, ebp
call fcn.10031630
test eax, eax
je 0x10050ef3
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov esi, dword [eax]
call fcn.10031630
push eax
call fcn.1005ad40
add esp, 4
mov ecx, esi
test eax, eax
setne al
movzx eax, al
push eax
call fcn.1004c630
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push str.header
mov ecx, ebx
movdqu xmmword [esp + 0x68], xmm0
call fcn.10031650
mov ebp, eax
test ebp, ebp
je 0x10050fc0
push 0x128
call fcn.100341f9
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov byte [esp + 0x80], 5
test esi, esi
je 0x10050f54
push 0x128
push 0
push esi
call fcn.10037070
add esp, 0xc
mov ecx, esi
call fcn.10049240
mov esi, eax
jmp 0x10050f56
xor esi, esi
mov byte [esp + 0x80], 1
mov ecx, esi
mov eax, dword [esi]
push ebp
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x10051147
mov eax, dword [esp + 0x14]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xd4]
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.10049ec0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
mov dword [esp + 0x1c], ecx
push str.0_0__0__d
mov dword [esp + 0x20], eax
lea eax, [esp + 0x6c]
push 0x10
push eax
call fcn.10090d8d
mov eax, dword [esi]
lea ecx, [esp + 0x74]
add esp, 0x10
push 0
push ecx
push 0x100c30d0
mov ecx, esi
call dword [eax + 0x10]
push str.footer
mov ecx, ebx
mov dword [esp + 0x24], 0
call fcn.10031650
mov ebp, eax
test ebp, ebp
je 0x10051084
push 0x128
call fcn.100341f9
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov byte [esp + 0x80], 6
test esi, esi
je 0x10051018
push 0x128
push 0
push esi
call fcn.10037070
add esp, 0xc
mov ecx, esi
call fcn.10049240
mov esi, eax
jmp 0x1005101a
xor esi, esi
mov byte [esp + 0x80], 1
mov ecx, esi
mov eax, dword [esi]
push ebp
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x10051147
mov eax, dword [esp + 0x14]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xd4]
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.10049ec0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
mov dword [esp + 0x24], ecx
push str.0___d__0__0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x6c]
push 0x10
push eax
call fcn.10090d8d
mov eax, dword [esi]
lea ecx, [esp + 0x74]
add esp, 0x10
push 0
push ecx
push 0x100c30d0
mov ecx, esi
call dword [eax + 0x10]
push str.body
mov ecx, ebx
call fcn.10031650
mov ebp, eax
test ebp, ebp
je 0x1005112a
push 0x128
call fcn.100341f9
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
mov byte [esp + 0x80], 7
test esi, esi
je 0x100510d4
push 0x128
push 0
push esi
call fcn.10037070
add esp, 0xc
mov ecx, esi
call fcn.10049240
mov esi, eax
jmp 0x100510d6
xor esi, esi
mov byte [esp + 0x80], 1
mov ecx, esi
mov eax, dword [esi]
push ebp
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x10051147
mov eax, dword [esp + 0x14]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xd4]
push dword [esp + 0x20]
lea eax, [esp + 0x68]
push dword [esp + 0x1c]
push str.0__d__0___d
push 0x10
push eax
call fcn.10090d8d
mov eax, dword [esi]
lea ecx, [esp + 0x78]
add esp, 0x14
push 0
push ecx
push 0x100c30d0
mov ecx, esi
call dword [eax + 0x10]
push str.shadow
mov ecx, ebx
call fcn.10031650
test eax, eax
je 0x10051143
push eax
lea ecx, [edi + 0x38]
call fcn.1004c790
mov bl, 1
jmp 0x10051151
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor bl, bl
mov byte [esp + 0x80], 0
cmp dword [esp + 0x48], 0x10
jb 0x1005116c
push dword [esp + 0x34]
call fcn.10034183
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
jmp 0x10051185
xor bl, bl
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.10031dc0
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.10033901
add esp, 0x70
ret 0xc