Function at 0x19f3ba0
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov esi, ecx
movzx edi, dx
add edi, 0x6f
mov dword [ebp - 0x1c], esi
xor ecx, ecx
mov dword [ebp - 8], ecx
test byte [esi + 0x1b8], 1
lea edi, [esi + edi*4]
mov dword [ebp - 0x24], edi
jne 0x19f3c03
mov al, byte [edi + 3]
test al, 1
je 0x19f3c03
mov eax, dword fs:[0x18]
mov dword [ebp - 0x40], eax
movzx ecx, word [eax + 0xfa8]
mov eax, dword fs:[0x18]
sub ecx, 1
mov dword [ebp - 8], ecx
mov ebx, dword [eax + 0x24]
js 0x19f45a0
cmp dword [ecx*4 + 0x1ac6108], ebx
jne 0x19f45a0
movzx ebx, word [edi]
lea eax, [ecx + 0x7d]
lea eax, [ecx + eax*2]
shl ebx, 3
mov dword [ebp - 0x40], ebx
lea eax, [esi + eax*8]
mov dword [ebp - 0x3c], eax
movzx eax, byte [edi + 2]
test ecx, ecx
jne 0x19f3e3a
mov edi, dword [esi + eax*4 + 0x3c0]
mov dword [ebp - 0xc], edi
lea eax, [edi + 4]
mov esi, dword [eax]
test esi, esi
je 0x19f3eb8
mov eax, dword [esi + 0x10]
lea edx, [esi + 0x10]
mov ecx, dword [edi]
shr eax, 0x10
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], edx
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x28], ecx
test eax, 0x8000
jne 0x19f46bc
cmp word [0x7ffe036a], 1
mov dword [ebp - 0x14], 0x64
jbe 0x1a46bb0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
jmp 0x19f3c80
mov edx, dword [edx]
mov eax, edx
shr eax, 0x10
test eax, 0x8000
jne 0x19f45cc
test dx, dx
je 0x19f433a
mov ecx, edx
lea ebx, [esi + 0x10]
or ecx, 0x80000000
mov eax, edx
lock cmpxchg dword [ebx], ecx
cmp eax, edx
jne 0x19f45c9
cmp edx, 0xffffffff
je 0x19f433a
mov eax, dword [esi + 4]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1a46bda
cmp dword [esi], edi
jne 0x1a46bda
test dx, dx
je 0x1a46bda
mov esi, dword fs:[0x18]
movzx eax, word [edi + 0x5c]
movzx ecx, word [esi + 0xfaa]
movzx eax, byte [eax + 0x19bbc40]
mov dword [ebp - 0x18], eax
movzx edi, byte [ecx + 0x1ac64c0]
lea eax, [ecx + 1]
movzx eax, al
mov word [esi + 0xfaa], ax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0x18]
cmp ecx, 0x20
jb 0x19f3e4e
lea eax, [ecx - 1]
mov dword [ebp - 0x10], esi
shr eax, 5
lea eax, [esi + eax*4]
mov dword [ebp - 0x20], eax
mov eax, edx
sar eax, 0x10
shr eax, 5
lea esi, [esi + eax*4]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov edi, edi
cmp dword [esi], 0xffffffff
je 0x19f3e9e
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x20]
je 0x19f3e7d
mov ecx, dword [ebp - 0x18]
imul edi, ecx
shr edi, 7
cmp ecx, 0x20
jb 0x19f3e15
or eax, 0xffffffff
mov esi, dword [esi]
not eax
or eax, esi
mov ecx, edi
ror eax, cl
mov ecx, dword [ebp - 0x14]
not eax
bsf eax, eax
mov dword [ebp - 0x20], eax
add eax, edi
mov edi, dword [ebp - 0x30]
and eax, 0x1f
bts esi, eax
mov dword [ebp - 0x20], eax
mov dword [ecx], esi
mov esi, ecx
movzx ecx, dx
sub esi, dword [edi + 0x18]
dec ecx
sar esi, 2
shl esi, 5
add esi, eax
mov eax, esi
shl eax, 0x10
or ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [edi + 0x10]
xor eax, edi
xor eax, dword [ebp - 0x28]
xor eax, dword [0x1ac8774]
mov ecx, eax
shr ecx, 0x10
imul ecx, esi
movzx esi, ax
add ecx, edi
mov edi, dword [ebp - 0xc]
add esi, ecx
test byte [esi + 7], 0x3f
jne 0x1a46bbc
cmp dword [ebp - 0x38], 0
jne 0x19f4722
test esi, esi
je 0x19f3eb8
test byte [ebp + 0xc], 8
mov ebx, dword [ebp - 0x40]
jne 0x19f3e66
mov eax, dword [ebp - 0x24]
sub ebx, dword [ebp + 8]
movzx eax, word [eax]
cmp ebx, 0x3f
jae 0x19f4558
or bl, 0x80
mov byte [esi + 7], bl
lea eax, [esi + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
not eax
mov dword [ebp - 0x10], 1
shl dword [ebp - 0x10], cl
dec dword [ebp - 0x10]
bsf eax, eax
mov dword [ebp - 0x20], eax
add edi, eax
mov ecx, eax
mov eax, dword [ebp - 0x10]
shl eax, cl
jmp 0x19f3d6a
mov eax, dword [esi + eax*4 + 0x5c4]
imul edi, ecx, 0x68
add eax, 0xffffff98
add edi, eax
jmp 0x19f3c2b
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], esi
cmp eax, ecx
jae 0x19f3d58
mov ecx, eax
jmp 0x19f3d58
lea eax, [ebx - 8]
push eax
lea eax, [esi + 8]
push 0
push eax
call fcn.01a28e60
add esp, 0xc
jmp 0x19f3df1
and ecx, 0x1f
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x18]
je 0x19f3d58
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jae 0x19f3d58
mov ecx, eax
jmp 0x19f3d58
cmp esi, dword [ebp - 0x20]
je 0x19f4565
add esi, 4
cmp esi, dword [ebp - 0x14]
jne 0x19f3d40
jmp 0x19f3d49
mov eax, dword [edi]
mov dword [ebp - 0x34], eax
lea ecx, [ecx]
mov dword [ebp - 0x10], 0
lea edx, [edi + 8]
lea ebx, [ebx]
xor eax, eax
mov ecx, 0x10
mov dword [ebp - 0x18], eax
mov esi, edx
mov dword [ebp - 0x14], ecx
mov ebx, eax
mov edx, dword [esi]
mov dword [ebp - 0x38], edx
test edx, edx
jne 0x19f42bf
add esi, 4
sub ecx, 1
mov dword [ebp - 0x14], ecx
jne 0x19f3ee1
test eax, eax
jne 0x19f4341
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
xor esi, esi
movzx ecx, word [edi + 0x5c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x38], esi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ecx*4 + 0x3c0]
add eax, 0x48
mov dword [ebp - 0x34], eax
shr eax, 2
and eax, 0x1f
lea ebx, [eax*4 + 0x1ac6dc0]
mov dword [ebp - 0x14], ebx
push ebx
call fcn.019f6460
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x19f47da
xor ecx, ecx
mov eax, 1
lock cmpxchg dword [ebx], ecx
mov ecx, eax
cmp ecx, 1
jne 0x1a46cdf
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x19f47ec
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 8]
test eax, eax
jne 0x1a46d3f
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x19f440b
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x1b8]
and eax, 2
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x50]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
movzx eax, byte [edi + 2]
mov dword [ebp - 0x30], eax
lea eax, [esi + 0x30]
mov edi, dword [ebp - 0x30]
mov esi, eax
mov edi, edi
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov byte [ebp - 1], 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
cmp eax, edi
je 0x19f458c
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x28], 1
mov edx, ecx
mov ebx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x28]
lock cmpxchg8b qword [esi]
cmp eax, dword [ebp - 0x34]
jne 0x19f3fb0
cmp edx, dword [ebp - 0x30]
jne 0x19f3fb0
cmp byte [ebp - 1], 0
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
jne 0x1a46eda
mov ecx, 3
test eax, eax
jne 0x1a46eea
mov edx, dword [ebp - 0x18]
shr edx, cl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
mov ebx, edx
mov eax, dword [eax + 0x54]
mov cl, byte [edi + 3]
mov dword [ebp - 0x38], eax
and cl, 1
movzx eax, byte [edi + 2]
movzx eax, word [eax*2 + 0x19bb330]
mov dword [ebp - 0x34], eax
cmp eax, 0x100
jae 0x19f4038
dec cl
cmp dword [ebp - 0x38], 0
jbe 0x19f4040
dec cl
movsx eax, cl
mov ecx, 3
sub ecx, eax
mov eax, 1
shl eax, cl
cmp edx, eax
jae 0x19f4057
mov ebx, eax
cmp ebx, 4
jb 0x1a46ef4
cmp ebx, 0x400
ja 0x19f46b2
mov edx, dword [ebp - 0x34]
lea ecx, [ebx + 0x1f]
add edx, 8
shr ecx, 3
imul edx, ebx
and ecx, 0x1ffffffc
mov ebx, 7
add edx, 0x24
add edx, ecx
cmp edx, 0x78000
ja 0x19f47a8
cmp edx, 0x80
jb 0x19f40b4
nop
inc ebx
mov eax, edx
mov ecx, ebx
shr eax, cl
test eax, eax
jne 0x19f40a0
cmp ebx, 0x12
ja 0x19f474b
test byte [edi + 3], 6
jne 0x19f45e1
cmp bl, 0x12
je 0x19f45e6
cmp dword [ebp - 0x18], 0x400
jae 0x19f45e6
mov byte [ebp - 0x2c], 0
movzx eax, byte [edi + 2]
mov dl, bl
push dword [ebp - 0x2c]
mov ecx, esi
movzx eax, word [eax*2 + 0x19bb330]
add eax, 8
push eax
call fcn.019f74d0
mov dword [ebp - 0x38], eax
test eax, eax
je 0x19f48d6
mov cl, byte [eax + 8]
mov edx, 1
shl edx, cl
cmp edx, 0x78000
ja 0x1a46efe
movzx eax, word [eax + 0xa]
add eax, edx
mov dword [ebp - 0x30], eax
lock inc dword [esi + 0x1c]
mov eax, dword [ebp - 0x3c]
shr eax, 2
and eax, 0x1f
lea eax, [eax*4 + 0x1ac6dc0]
push eax
mov dword [ebp - 0x28], eax
call fcn.019f6460
mov ecx, dword [ebp - 0x3c]
mov ebx, dword [ecx]
test ebx, ebx
je 0x19f4151
mov eax, dword [ebx]
mov dword [ecx], eax
mov eax, 0xffff
add word [ecx + 4], ax
mov edx, dword [ebp - 0x28]
xor ecx, ecx
mov eax, 1
lock cmpxchg dword [edx], ecx
mov ecx, eax
cmp ecx, 1
jne 0x1a46f08
test ebx, ebx
je 0x19f456c
add ebx, 0xffffffe0
test ebx, ebx
je 0x19f48cb
mov eax, dword [ebp - 8]
mov edx, ebx
mov byte [ebx + 0x1b], al
mov ecx, esi
movzx eax, byte [edi + 2]
push edi
push dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
movzx eax, word [eax*2 + 0x19bb330]
push eax
push edi
call fcn.019f6fc0
xor ecx, ecx
lea eax, [ebp - 0x44]
lock or dword [eax], ecx
mov dword [edi + 0xc], 0xf0e0d0c0
lea esi, [ebx + 0x1c]
mov edx, dword [esi]
test edx, edx
je 0x1a470b0
test dl, 6
jne 0x1a470b0
mov ecx, edx
mov eax, edx
or ecx, 6
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x19f41b3
mov eax, dword [ebx]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
cmp eax, edi
jne 0x1a46f50
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
test eax, eax
jne 0x1a4706c
mov eax, 0x7ffe0380
cmp byte [eax], 0
jne 0x1a47088
lea eax, [edi + 4]
xchg dword [eax], ebx
test ebx, ebx
je 0x19f3c31
lea esi, [ebx + 0x1c]
mov edx, 0xfffffff9
mov eax, dword [esi]
mov ecx, eax
and ecx, edx
lock cmpxchg dword [esi], ecx
jne 0x19f421b
cmp eax, 6
je 0x19f48b4
mov ax, word [ebx + 0x10]
movzx eax, ax
test ax, ax
lea eax, [edi + 4]
je 0x19f3c31
mov edx, ebx
mov ecx, edi
call fcn.01a19b1a
test al, al
lea eax, [edi + 4]
jne 0x19f3c31
mov edx, dword [esi]
lea eax, [edi + 4]
test edx, edx
je 0x19f3c31
lea eax, [edi + 4]
test dl, 2
jne 0x19f3c31
mov ecx, edx
mov eax, edx
or ecx, 2
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x19f4255
mov edx, dword [ebx]
xor eax, eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
movzx ecx, word [edx + 0x5e]
add ecx, eax
and ecx, 0xf
lea eax, [ecx + 2]
mov esi, dword [edx + eax*4]
lea eax, [edx + eax*4]
mov dword [ebp - 0x30], eax
test esi, esi
jne 0x19f4755
mov esi, dword [ebp - 0x30]
mov ecx, ebx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
lea eax, [edi + 4]
je 0x19f3c31
jmp 0x19f47c5
mov ax, word [edx + 0x10]
movzx eax, ax
mov dword [ebp - 0x30], eax
cmp eax, ebx
ja 0x19f42d5
mov eax, dword [ebp - 0x18]
jmp 0x19f3eee
test byte [0x1ac84b0], 4
je 0x19f452d
mov byte [ebp - 1], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
test eax, eax
jne 0x1a46c04
mov eax, 0x7ffe038a
cmp byte [eax], 0
jne 0x1a46c4f
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
test eax, eax
jne 0x1a46c20
mov eax, 0x7ffe0380
cmp byte [eax], 0
jne 0x1a46c3c
cmp byte [ebp - 1], 0
jne 0x19f42cd
mov ebx, dword [ebp - 0x30]
mov eax, esi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], eax
jmp 0x19f3eee
xor esi, esi
jmp 0x19f3dd6
mov eax, dword [ebp - 0x34]
movzx ecx, word [edi + 0x5c]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ecx*4 + 0x3c0]
add eax, 0x48
mov dword [ebp - 0x28], eax
shr eax, 2
and eax, 0x1f
lea eax, [eax*4 + 0x1ac6dc0]
mov dword [ebp - 0x14], eax
push eax
call fcn.019f6460
mov ecx, dword [ebp - 0x28]
mov esi, dword [ecx]
mov dword [ebp - 0x38], esi
test esi, esi
jne 0x19f463d
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov eax, 1
lock cmpxchg dword [edx], ecx
mov ecx, eax
cmp ecx, 1
jne 0x1a46c79
mov ecx, esi
test esi, esi
jne 0x19f464f
mov esi, dword [ebp - 0x10]
mov edx, ecx
mov ebx, dword [ebp - 0x18]
mov eax, esi
lock cmpxchg dword [ebx], edx
cmp eax, esi
jne 0x19f47b2
test ecx, ecx
jne 0x19f43cc
mov eax, ebx
sub eax, edi
sub eax, 8
sar eax, 2
movzx eax, al
mov word [edi + 0x5e], ax
test esi, esi
je 0x19f3f04
lea edx, [esi + 0x1c]
mov ebx, 0xfffffffd
mov eax, dword [edx]
mov ecx, eax
and ecx, ebx
lock cmpxchg dword [edx], ecx
jne 0x19f43de
mov ebx, dword [ebp - 8]
cmp eax, 2
jne 0x19f3f7f
mov eax, dword [esi]
lea edx, [esi + 0x20]
mov ecx, dword [eax]
mov dword [esi], 0
call fcn.019f7900
jmp 0x19f3ebd
mov byte [esi + 0x1b], bl
mov edi, edi
mov edx, dword [esi + 0x1c]
lea eax, [esi + 0x1c]
lea eax, [edi + 4]
test edx, edx
je 0x19f3c31
lea eax, [edi + 4]
test dl, 6
jne 0x19f3c31
mov ecx, edx
lea ebx, [esi + 0x1c]
or ecx, 6
mov eax, edx
lock cmpxchg dword [ebx], ecx
cmp eax, edx
jne 0x19f4410
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
cmp eax, edi
jne 0x1a46d52
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
test eax, eax
jne 0x1a46e32
mov eax, 0x7ffe0380
cmp byte [eax], 0
jne 0x1a46e4e
lea eax, [edi + 4]
xchg dword [eax], esi
test esi, esi
je 0x19f3c31
lea edx, [esi + 0x1c]
mov ebx, 0xfffffff9
mov eax, dword [edx]
mov ecx, eax
and ecx, ebx
lock cmpxchg dword [edx], ecx
jne 0x19f4482
cmp eax, 6
je 0x19f4840
mov ax, word [esi + 0x10]
movzx eax, ax
test ax, ax
lea eax, [edi + 4]
je 0x19f3c31
mov edx, esi
mov ecx, edi
call fcn.01a19b1a
test al, al
lea eax, [edi + 4]
jne 0x19f3c31
lea edx, [esi + 0x1c]
nop
mov ecx, dword [edx]
lea eax, [edi + 4]
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x19f3c31
lea eax, [edi + 4]
test cl, 2
jne 0x19f3c31
mov eax, dword [ebp - 0x38]
or ecx, 2
lock cmpxchg dword [edx], ecx
cmp eax, dword [ebp - 0x38]
jne 0x19f44c0
mov edx, dword [esi]
xor eax, eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
movzx ecx, word [edx + 0x5e]
add ecx, eax
and ecx, 0xf
lea eax, [ecx + 2]
lea eax, [edx + eax*4]
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x19f4894
mov ebx, dword [ebp - 0x30]
mov ecx, esi
lock cmpxchg dword [ebx], ecx
test eax, eax
lea eax, [edi + 4]
je 0x19f3c31
jmp 0x19f489f
movzx eax, word [edi + 0x5c]
cmp eax, 0x70
ja 0x19f42e2
movzx ecx, word [eax*2 + 0x19bbe18]
mov eax, dword [edi + 0x50]
shl ecx, 4
cmp eax, ecx
jae 0x1a46be4
mov ecx, dword [ebp - 0x14]
jmp 0x19f42e2
mov dword [esi + eax*8 - 4], ebx
mov byte [esi + 7], 0xbf
jmp 0x19f3e09
mov esi, eax
jmp 0x19f3eaa
mov edx, dword [ebp - 8]
mov ecx, esi
call fcn.01a109e5
mov ebx, eax
test ebx, ebx
je 0x19f48cb
mov dword [ebx + 4], 0
jmp 0x19f4175
lea edx, [ecx + 1]
mov dword [ebp - 0x28], edx
cmp ecx, 7
jbe 0x19f3fd1
jmp 0x1a46eca
call fcn.01a23800
mov ecx, dword [0x1ac6104]
mov edx, dword [ebp - 0x40]
and ecx, eax
mov dword [ebp - 8], ecx
lea eax, [ecx + 1]
mov word [edx + 0xfa8], ax
mov dword [ecx*4 + 0x1ac6108], ebx
jmp 0x19f3c03
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebp - 0x14]
ja 0x19f433a
lea edx, [esi + 0x10]
jmp 0x19f3c80
mov ebx, 0x12
mov byte [ebp - 0x2c], 1
cmp bl, 0x11
jae 0x19f40d8
cmp bl, 0xf
jb 0x19f40d8
mov ecx, dword fs:[0x18]
mov edx, 4
movzx esi, word [ecx + 0xfaa]
lea eax, [esi + 1]
movzx eax, al
mov word [ecx + 0xfaa], ax
movzx eax, byte [esi + 0x1ac64c0]
mov esi, dword [ebp - 0x1c]
movzx ecx, bl
sub ecx, 0xf
sar edx, cl
dec edx
and edx, eax
cmp edx, 1
setb byte [ebp - 0x2c]
jmp 0x19f40d8
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, 0xffff
add word [ecx + 4], ax
jmp 0x19f437e
mov eax, dword [esi - 4]
lea edx, [esi - 0x20]
mov dword [ebp - 0x38], edx
test al, 1
je 0x19f4676
mov ecx, dword [ebp - 0x38]
mov edx, edi
call fcn.019d4ae0
test eax, eax
je 0x1a46cbe
mov ecx, dword [ebp - 0x38]
jmp 0x19f43a1
lea edi, [edx + 0x1c]
mov ebx, 0xfffffffd
mov eax, dword [edi]
mov ecx, eax
and ecx, ebx
lock cmpxchg dword [edi], ecx
jne 0x19f4680
mov edi, dword [ebp - 0xc]
cmp eax, 2
mov eax, dword [ebp - 0x14]
jne 0x19f4368
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [edx], 0
mov edx, esi
call fcn.019f7900
mov eax, dword [ebp - 0x14]
jmp 0x19f4368
mov ebx, 0x400
jmp 0x19f406c
movzx eax, word [edi + 0x5c]
mov dword [ebp - 0x38], 1
lea ecx, [ecx + eax*4]
mov al, byte [ecx + 0x1bf]
add ecx, 0x1bc
mov dword [ebp - 0x18], ecx
test al, 1
jne 0x19f3c61
movzx edx, byte [ecx + 2]
mov ecx, dword [ebp - 0x28]
call fcn.019dc76c
test eax, eax
js 0x19f471a
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx + 3]
movzx eax, al
or al, 1
mov byte [ecx + 3], al
call fcn.019f1a00
test eax, eax
jne 0x1a46b73
mov eax, 0x7ffe0380
cmp byte [eax], 0
jne 0x1a46b86
lea edx, [esi + 0x10]
jmp 0x19f3c61
mov eax, dword [0x1ac6104]
lea ecx, [eax + 1]
cmp ecx, dword [0x1ac6100]
jae 0x19f3de0
lea ecx, [ecx*2 - 1]
mov edx, 0x1ac6104
lock cmpxchg dword [edx], ecx
jmp 0x19f3de0
mov ebx, 0x12
jmp 0x19f40b4
mov eax, dword [esi + 0x1c]
test al, 1
jne 0x19f47c5
mov eax, dword [ebp - 0x38]
mov edx, ebx
add eax, 8
lea ecx, [eax + ecx*4]
mov eax, esi
lock cmpxchg dword [ecx], edx
cmp eax, esi
jne 0x19f47c2
mov ebx, 0xfffffffd
lea edx, [esi + 0x1c]
mov eax, dword [edx]
mov ecx, eax
and ecx, ebx
lock cmpxchg dword [edx], ecx
jne 0x19f477b
cmp eax, 2
lea eax, [edi + 4]
jne 0x19f3c31
mov eax, dword [esi]
lea edx, [esi + 0x20]
mov ecx, dword [eax]
mov dword [esi], 0
call fcn.019f7900
jmp 0x19f3c2e
mov edx, 0x78000
jmp 0x19f40a0
lea edx, [edi + 8]
test ecx, ecx
je 0x19f3ed0
jmp 0x1a46ccf
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 0x10
jb 0x19f4287
jmp 0x1a47145
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, 0xffff
add word [ecx + 4], ax
jmp 0x19f3f4d
lea edx, [eax - 0x20]
lea eax, [edx + 0x1c]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
test al, 1
je 0x19f4857
mov ecx, dword [ebp - 0x10]
mov edx, edi
call fcn.019d4ae0
test eax, eax
je 0x1a46d20
mov edx, dword [ebp - 0x30]
mov edi, 0xfffffffd
mov eax, dword [edx]
mov ecx, eax
and ecx, edi
lock cmpxchg dword [edx], ecx
jne 0x19f481a
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
cmp eax, 2
je 0x19f4876
mov ecx, edi
call fcn.019f2c60
test al, al
jne 0x19f3f6e
jmp 0x19f4888
mov eax, dword [esi]
lea edx, [esi + 0x20]
mov ecx, dword [eax]
mov dword [esi], 0
call fcn.019f7900
jmp 0x19f3c2e
lea edi, [edx + 0x1c]
mov ebx, 0xfffffffd
mov eax, dword [edi]
mov ecx, eax
and ecx, ebx
lock cmpxchg dword [edi], ecx
jne 0x19f4861
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
cmp eax, 2
jne 0x19f4888
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [edx], 0
mov edx, dword [ebp - 0x18]
call fcn.019f7900
mov dword [ebp - 0x10], 0
jmp 0x19f3f37
mov eax, dword [eax + 0x1c]
test al, 1
je 0x1a46e76
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 0x10
jb 0x19f44f5
jmp 0x1a46e28
mov eax, dword [ebx]
lea edx, [ebx + 0x20]
mov ecx, dword [eax]
mov dword [ebx], 0
call fcn.019f7900
jmp 0x19f3c2e
mov edx, dword [ebp - 0x38]
push ecx
mov ecx, esi
call fcn.019eff00
xor eax, eax
jmp 0x19f3e0c
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x226
jmp 0x19f4711
mov eax, dword fs:[0x30]
test byte [eax + 0x240], 1
je 0x19f471a
mov eax, dword [ebp - 0x18]
movzx edx, byte [eax + 2]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
call fcn.01a92c08
jmp 0x19f471a
mov dword [ebp - 0x14], 0
jmp 0x19f3c76
mov eax, dword [edi]
mov ecx, 0xe
push 0
push 0
push 0
mov edx, dword [eax + 0xc]
push esi
mov edx, dword [edx + 0xc]
call fcn.01a36033
jmp 0x19f433a
mov eax, dword [ebp - 0x34]
mov dword [eax], edx
jmp 0x19f433a
movzx ecx, word [edx + 0x10]
movzx eax, word [edx + 0x18]
shr ax, 2
cmp cx, ax
mov byte [ebp - 1], 1
mov ecx, dword [ebp - 0x14]
sbb al, al
and byte [ebp - 1], al
jmp 0x19f42e6
cmp dword [eax], 0
je 0x19f42f7
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x230
jmp 0x19f42fc
cmp dword [eax], 0
je 0x19f4316
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x226
jmp 0x19f431b
mov eax, dword fs:[0x30]
test byte [eax + 0x240], 1
je 0x19f4324
cmp byte [ebp - 1], 0
je 0x19f432a
movzx eax, word [edi + 0x5c]
mov edx, dword [edx + 4]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + 0xc]
call fcn.01a93050
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
jmp 0x19f4324
mov ebx, dword [ebp - 0x14]
mov eax, ecx
xor edx, edx
and eax, 6
cmp eax, 2
mov dword [ebp - 0x30], eax
mov eax, ecx
sete dl
lea edx, [edx*4 - 1]
add edx, ecx
mov esi, edx
lock cmpxchg dword [ebx], esi
cmp eax, ecx
je 0x1a46ca5
mov ecx, eax
jmp 0x1a46c7c
cmp dword [ebp - 0x30], 2
jne 0x1a46cb6
mov ecx, dword [ebp - 0x14]
push edx
xor dl, dl
call fcn.01a0a967
mov esi, dword [ebp - 0x38]
jmp 0x19f4397
mov ecx, dword [ebp - 0x28]
mov edx, esi
call fcn.019f7900
xor ecx, ecx
jmp 0x19f43a1
lea edx, [ecx + 0x20]
mov ecx, dword [ebp - 0x28]
call fcn.019f7900
jmp 0x19f3ec7
mov eax, ecx
xor edx, edx
and eax, 6
cmp eax, 2
mov dword [ebp - 0x30], eax
mov eax, ecx
sete dl
lea edx, [edx*4 - 1]
add edx, ecx
mov edi, edx
lock cmpxchg dword [ebx], edi
cmp eax, ecx
je 0x1a46d08
mov ecx, eax
jmp 0x1a46cdf
cmp dword [ebp - 0x30], 2
jne 0x1a46d18
push edx
xor dl, dl
mov ecx, ebx
call fcn.01a0a967
mov edi, dword [ebp - 0xc]
jmp 0x19f3f63
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x1a46d2d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x28], ecx
mov dword [eax + 0x20], esi
lea esi, [eax + 0x20]
jmp 0x19f4888
mov ecx, dword [ebp - 0x34]
mov edx, esi
push eax
push dword [ebp - 0x38]
call fcn.01a17280
jmp 0x19f3f7c
lea edx, [esi + 0x1c]
mov ebx, 0xfffffff9
mov eax, dword [edx]
mov ecx, eax
and ecx, ebx
lock cmpxchg dword [edx], ecx
jne 0x1a46d5c
cmp eax, 6
jne 0x1a46d7d
mov eax, dword [esi]
lea edx, [esi + 0x20]
mov ecx, dword [eax]
mov dword [esi], 0
jmp 0x19f484d
mov ecx, dword [ebp - 0x38]
mov edx, esi
call fcn.019f2c60
test al, al
lea eax, [edi + 4]
je 0x19f3c31
lea edx, [esi + 0x1c]
mov ecx, dword [edx]
lea eax, [edi + 4]
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x19f3c31
lea eax, [edi + 4]
test cl, 2
jne 0x19f3c31
mov eax, dword [ebp - 0x38]
or ecx, 2
lock cmpxchg dword [edx], ecx
cmp eax, dword [ebp - 0x38]
jne 0x1a46d95
mov edx, dword [esi]
xor eax, eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
movzx ecx, word [edx + 0x5e]
add ecx, eax
and ecx, 0xf
lea eax, [ecx + 2]
lea eax, [edx + eax*4]
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1a46dfb
mov ebx, dword [ebp - 0x30]
mov ecx, esi
lock cmpxchg dword [ebx], ecx
test eax, eax
lea eax, [edi + 4]
je 0x19f3c31
jmp 0x1a46e1c
mov eax, dword [eax + 0x1c]
test al, 1
jne 0x1a46e1c
mov eax, dword [ebp - 0x38]
mov edx, esi
add eax, 8
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x28]
lock cmpxchg dword [ecx], edx
cmp eax, dword [ebp - 0x28]
je 0x1a46e95
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 0x10
jb 0x1a46dca
mov eax, dword [esi]
lea edx, [esi + 0x20]
jmp 0x1a4714a
cmp dword [eax], 0
je 0x19f445d
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x226
jmp 0x19f4462
mov eax, dword fs:[0x30]
test byte [eax + 0x240], 1
je 0x19f446b
mov eax, dword [edi]
mov edx, dword [esi + 4]
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + 0xc]
call fcn.01a930d1
jmp 0x19f446b
mov eax, dword [ebp - 0x38]
mov edx, esi
add eax, 8
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x28]
lock cmpxchg dword [ecx], edx
cmp eax, dword [ebp - 0x28]
je 0x1a46e95
mov edx, dword [ebp - 0x38]
jmp 0x19f489f
mov esi, dword [ebp - 0x28]
mov ebx, 0xfffffffd
lea edx, [esi + 0x1c]
mov eax, dword [edx]
mov ecx, eax
and ecx, ebx
lock cmpxchg dword [edx], ecx
jne 0x1a46ea2
cmp eax, 2
lea eax, [edi + 4]
jne 0x19f3c31
mov eax, dword [esi]
lea edx, [esi + 0x20]
mov ecx, dword [eax]
mov dword [esi], 0
jmp 0x19f484d
mov byte [ebp - 1], 1
mov dword [ebp - 0x28], 0
jmp 0x19f3fd1
test eax, eax
jne 0x19f3ffa
mov edx, dword [ebp - 0x18]
jmp 0x19f400f
mov ecx, 4
jmp 0x19f4007
mov ebx, 4
jmp 0x19f406c
mov edx, 0x78000
jmp 0x19f4115
mov edi, dword [ebp - 0x28]
mov eax, ecx
xor edx, edx
and eax, 6
cmp eax, 2
mov dword [ebp - 0x34], eax
mov eax, ecx
sete dl
lea edx, [edx*4 - 1]
add edx, ecx
mov esi, edx
lock cmpxchg dword [edi], esi
cmp eax, ecx
je 0x1a46f34
mov ecx, eax
jmp 0x1a46f0b
cmp dword [ebp - 0x34], 2
mov edi, dword [ebp - 0x24]
jne 0x1a46f48
mov ecx, dword [ebp - 0x28]
push edx
xor dl, dl
call fcn.01a0a967
mov esi, dword [ebp - 0x1c]
jmp 0x19f416a
mov edx, 0xfffffff9
mov eax, dword [esi]
mov ecx, eax
and ecx, edx
lock cmpxchg dword [esi], ecx
jne 0x1a46f57
cmp eax, 6
jne 0x1a46f7d
mov eax, dword [ebx]
lea edx, [ebx + 0x20]
mov ecx, dword [eax]
mov dword [ebx], 0
call fcn.019f7900
jmp 0x1a470b3
mov ecx, dword [ebp - 0x38]
mov edx, ebx
call fcn.019f2c60
test al, al
je 0x1a470b3
mov edx, dword [esi]
test edx, edx
je 0x1a470b3
test dl, 2
jne 0x1a470b3
mov ecx, edx
mov eax, edx
or ecx, 2
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x1a46f8f
mov edx, dword [ebx]
xor eax, eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
movzx ecx, word [edx + 0x5e]
add ecx, eax
and ecx, 0xf
lea eax, [ecx + 2]
lea eax, [edx + eax*4]
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1a46feb
mov edi, dword [ebp - 0x30]
mov ecx, ebx
lock cmpxchg dword [edi], ecx
mov edi, dword [ebp - 0xc]
test eax, eax
jne 0x1a4700e
jmp 0x1a470b3
mov eax, dword [eax + 0x1c]
test al, 1
jne 0x1a4700e
mov eax, dword [ebp - 0x38]
mov edx, ebx
add eax, 8
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x28]
lock cmpxchg dword [ecx], edx
mov ecx, dword [ebp - 0x28]
cmp eax, ecx
je 0x1a47039
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 0x10
jb 0x1a46fbb
mov eax, dword [ebx]
lea edx, [ebx + 0x20]
movzx ecx, word [eax + 0x5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ecx*4 + 0x3c0]
add ecx, 0x48
call fcn.019f7900
jmp 0x1a470b3
lea edx, [ecx + 0x1c]
mov edi, 0xfffffffd
mov eax, dword [edx]
mov ecx, eax
and ecx, edi
lock cmpxchg dword [edx], ecx
jne 0x1a47043
mov edi, dword [ebp - 0xc]
cmp eax, 2
jne 0x1a470b3
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [edx], 0
add edx, 0x20
call fcn.019f7900
jmp 0x1a470b3
cmp dword [eax], 0
je 0x19f41f6
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x226
jmp 0x19f41fb
mov eax, dword fs:[0x30]
test byte [eax + 0x240], 1
je 0x19f4204
mov eax, dword [edi]
mov edx, dword [ebx + 4]
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + 0xc]
call fcn.01a930d1
jmp 0x19f4204
mov edi, dword [ebp - 0xc]
mov edx, dword [esi]
lea eax, [edi + 4]
test edx, edx
je 0x19f3c31
lea eax, [edi + 4]
test dl, 2
jne 0x19f3c31
mov ecx, edx
mov eax, edx
or ecx, 2
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x1a470b3
mov edx, dword [ebx]
xor eax, eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
movzx ecx, word [edx + 0x5e]
add ecx, eax
and ecx, 0xf
lea eax, [ecx + 2]
mov esi, dword [edx + eax*4]
lea eax, [edx + eax*4]
mov dword [ebp - 0x30], eax
test esi, esi
jne 0x1a47116
mov esi, dword [ebp - 0x30]
mov ecx, ebx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
lea eax, [edi + 4]
je 0x19f3c31
jmp 0x1a47139
mov eax, dword [esi + 0x1c]
test al, 1
jne 0x1a47139
mov eax, dword [ebp - 0x38]
mov edx, ebx
add eax, 8
lea ecx, [eax + ecx*4]
mov eax, esi
lock cmpxchg dword [ecx], edx
cmp eax, esi
je 0x19f4771
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 0x10
jb 0x1a470e5
mov eax, dword [ebx]
lea edx, [ebx + 0x20]
movzx ecx, word [eax + 0x5c]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ecx*4 + 0x3c0]
add ecx, 0x48
jmp 0x19f484d