Function at 0x77463ba0
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 0x77463c03
mov al, byte [edi + 3]
test al, 1
je 0x77463c03
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 0x774645a0
cmp dword [ecx*4 + 0x77536108], ebx
jne 0x774645a0
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 0x77463e3a
mov edi, dword [esi + eax*4 + 0x3c0]
mov dword [ebp - 0xc], edi
lea eax, [edi + 4]
mov esi, dword [eax]
test esi, esi
je 0x77463eb8
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 0x774646bc
cmp word [0x7ffe036a], 1
mov dword [ebp - 0x14], 0x64
jbe 0x774b6bb0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
jmp 0x77463c80
mov edx, dword [edx]
mov eax, edx
shr eax, 0x10
test eax, 0x8000
jne 0x774645cc
test dx, dx
je 0x7746433a
mov ecx, edx
lea ebx, [esi + 0x10]
or ecx, 0x80000000
mov eax, edx
lock cmpxchg dword [ebx], ecx
cmp eax, edx
jne 0x774645c9
cmp edx, 0xffffffff
je 0x7746433a
mov eax, dword [esi + 4]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x774b6bda
cmp dword [esi], edi
jne 0x774b6bda
test dx, dx
je 0x774b6bda
mov esi, dword fs:[0x18]
movzx eax, word [edi + 0x5c]
movzx ecx, word [esi + 0xfaa]
movzx eax, byte [eax + 0x7742bc40]
mov dword [ebp - 0x18], eax
movzx edi, byte [ecx + 0x775364c0]
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 0x77463e4e
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 0x77463e9e
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x20]
je 0x77463e7d
mov ecx, dword [ebp - 0x18]
imul edi, ecx
shr edi, 7
cmp ecx, 0x20
jb 0x77463e15
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 [0x77538774]
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 0x774b6bbc
cmp dword [ebp - 0x38], 0
jne 0x77464722
test esi, esi
je 0x77463eb8
test byte [ebp + 0xc], 8
mov ebx, dword [ebp - 0x40]
jne 0x77463e66
mov eax, dword [ebp - 0x24]
sub ebx, dword [ebp + 8]
movzx eax, word [eax]
cmp ebx, 0x3f
jae 0x77464558
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 0x77463d6a
mov eax, dword [esi + eax*4 + 0x5c4]
imul edi, ecx, 0x68
add eax, 0xffffff98
add edi, eax
jmp 0x77463c2b
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], esi
cmp eax, ecx
jae 0x77463d58
mov ecx, eax
jmp 0x77463d58
lea eax, [ebx - 8]
push eax
lea eax, [esi + 8]
push 0
push eax
call fcn.77498e60
add esp, 0xc
jmp 0x77463df1
and ecx, 0x1f
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x18]
je 0x77463d58
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jae 0x77463d58
mov ecx, eax
jmp 0x77463d58
cmp esi, dword [ebp - 0x20]
je 0x77464565
add esi, 4
cmp esi, dword [ebp - 0x14]
jne 0x77463d40
jmp 0x77463d49
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 0x774642bf
add esi, 4
sub ecx, 1
mov dword [ebp - 0x14], ecx
jne 0x77463ee1
test eax, eax
jne 0x77464341
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 + 0x77536dc0]
mov dword [ebp - 0x14], ebx
push ebx
call fcn.77466460
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x774647da
xor ecx, ecx
mov eax, 1
lock cmpxchg dword [ebx], ecx
mov ecx, eax
cmp ecx, 1
jne 0x774b6cdf
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x774647ec
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 8]
test eax, eax
jne 0x774b6d3f
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x7746440b
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 0x7746458c
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 0x77463fb0
cmp edx, dword [ebp - 0x30]
jne 0x77463fb0
cmp byte [ebp - 1], 0
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
jne 0x774b6eda
mov ecx, 3
test eax, eax
jne 0x774b6eea
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 + 0x7742b330]
mov dword [ebp - 0x34], eax
cmp eax, 0x100
jae 0x77464038
dec cl
cmp dword [ebp - 0x38], 0
jbe 0x77464040
dec cl
movsx eax, cl
mov ecx, 3
sub ecx, eax
mov eax, 1
shl eax, cl
cmp edx, eax
jae 0x77464057
mov ebx, eax
cmp ebx, 4
jb 0x774b6ef4
cmp ebx, 0x400
ja 0x774646b2
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 0x774647a8
cmp edx, 0x80
jb 0x774640b4
nop
inc ebx
mov eax, edx
mov ecx, ebx
shr eax, cl
test eax, eax
jne 0x774640a0
cmp ebx, 0x12
ja 0x7746474b
test byte [edi + 3], 6
jne 0x774645e1
cmp bl, 0x12
je 0x774645e6
cmp dword [ebp - 0x18], 0x400
jae 0x774645e6
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 + 0x7742b330]
add eax, 8
push eax
call fcn.774674d0
mov dword [ebp - 0x38], eax
test eax, eax
je 0x774648d6
mov cl, byte [eax + 8]
mov edx, 1
shl edx, cl
cmp edx, 0x78000
ja 0x774b6efe
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 + 0x77536dc0]
push eax
mov dword [ebp - 0x28], eax
call fcn.77466460
mov ecx, dword [ebp - 0x3c]
mov ebx, dword [ecx]
test ebx, ebx
je 0x77464151
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 0x774b6f08
test ebx, ebx
je 0x7746456c
add ebx, 0xffffffe0
test ebx, ebx
je 0x774648cb
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 + 0x7742b330]
push eax
push edi
call fcn.77466fc0
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 0x774b70b0
test dl, 6
jne 0x774b70b0
mov ecx, edx
mov eax, edx
or ecx, 6
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x774641b3
mov eax, dword [ebx]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
cmp eax, edi
jne 0x774b6f50
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
test eax, eax
jne 0x774b706c
mov eax, 0x7ffe0380
cmp byte [eax], 0
jne 0x774b7088
lea eax, [edi + 4]
xchg dword [eax], ebx
test ebx, ebx
je 0x77463c31
lea esi, [ebx + 0x1c]
mov edx, 0xfffffff9
mov eax, dword [esi]
mov ecx, eax
and ecx, edx
lock cmpxchg dword [esi], ecx
jne 0x7746421b
cmp eax, 6
je 0x774648b4
mov ax, word [ebx + 0x10]
movzx eax, ax
test ax, ax
lea eax, [edi + 4]
je 0x77463c31
mov edx, ebx
mov ecx, edi
call fcn.77489b1a
test al, al
lea eax, [edi + 4]
jne 0x77463c31
mov edx, dword [esi]
lea eax, [edi + 4]
test edx, edx
je 0x77463c31
lea eax, [edi + 4]
test dl, 2
jne 0x77463c31
mov ecx, edx
mov eax, edx
or ecx, 2
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x77464255
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 0x77464755
mov esi, dword [ebp - 0x30]
mov ecx, ebx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
lea eax, [edi + 4]
je 0x77463c31
jmp 0x774647c5
mov ax, word [edx + 0x10]
movzx eax, ax
mov dword [ebp - 0x30], eax
cmp eax, ebx
ja 0x774642d5
mov eax, dword [ebp - 0x18]
jmp 0x77463eee
test byte [0x775384b0], 4
je 0x7746452d
mov byte [ebp - 1], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
test eax, eax
jne 0x774b6c04
mov eax, 0x7ffe038a
cmp byte [eax], 0
jne 0x774b6c4f
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
test eax, eax
jne 0x774b6c20
mov eax, 0x7ffe0380
cmp byte [eax], 0
jne 0x774b6c3c
cmp byte [ebp - 1], 0
jne 0x774642cd
mov ebx, dword [ebp - 0x30]
mov eax, esi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], eax
jmp 0x77463eee
xor esi, esi
jmp 0x77463dd6
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 + 0x77536dc0]
mov dword [ebp - 0x14], eax
push eax
call fcn.77466460
mov ecx, dword [ebp - 0x28]
mov esi, dword [ecx]
mov dword [ebp - 0x38], esi
test esi, esi
jne 0x7746463d
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov eax, 1
lock cmpxchg dword [edx], ecx
mov ecx, eax
cmp ecx, 1
jne 0x774b6c79
mov ecx, esi
test esi, esi
jne 0x7746464f
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 0x774647b2
test ecx, ecx
jne 0x774643cc
mov eax, ebx
sub eax, edi
sub eax, 8
sar eax, 2
movzx eax, al
mov word [edi + 0x5e], ax
test esi, esi
je 0x77463f04
lea edx, [esi + 0x1c]
mov ebx, 0xfffffffd
mov eax, dword [edx]
mov ecx, eax
and ecx, ebx
lock cmpxchg dword [edx], ecx
jne 0x774643de
mov ebx, dword [ebp - 8]
cmp eax, 2
jne 0x77463f7f
mov eax, dword [esi]
lea edx, [esi + 0x20]
mov ecx, dword [eax]
mov dword [esi], 0
call fcn.77467900
jmp 0x77463ebd
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 0x77463c31
lea eax, [edi + 4]
test dl, 6
jne 0x77463c31
mov ecx, edx
lea ebx, [esi + 0x1c]
or ecx, 6
mov eax, edx
lock cmpxchg dword [ebx], ecx
cmp eax, edx
jne 0x77464410
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
cmp eax, edi
jne 0x774b6d52
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
test eax, eax
jne 0x774b6e32
mov eax, 0x7ffe0380
cmp byte [eax], 0
jne 0x774b6e4e
lea eax, [edi + 4]
xchg dword [eax], esi
test esi, esi
je 0x77463c31
lea edx, [esi + 0x1c]
mov ebx, 0xfffffff9
mov eax, dword [edx]
mov ecx, eax
and ecx, ebx
lock cmpxchg dword [edx], ecx
jne 0x77464482
cmp eax, 6
je 0x77464840
mov ax, word [esi + 0x10]
movzx eax, ax
test ax, ax
lea eax, [edi + 4]
je 0x77463c31
mov edx, esi
mov ecx, edi
call fcn.77489b1a
test al, al
lea eax, [edi + 4]
jne 0x77463c31
lea edx, [esi + 0x1c]
nop
mov ecx, dword [edx]
lea eax, [edi + 4]
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x77463c31
lea eax, [edi + 4]
test cl, 2
jne 0x77463c31
mov eax, dword [ebp - 0x38]
or ecx, 2
lock cmpxchg dword [edx], ecx
cmp eax, dword [ebp - 0x38]
jne 0x774644c0
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 0x77464894
mov ebx, dword [ebp - 0x30]
mov ecx, esi
lock cmpxchg dword [ebx], ecx
test eax, eax
lea eax, [edi + 4]
je 0x77463c31
jmp 0x7746489f
movzx eax, word [edi + 0x5c]
cmp eax, 0x70
ja 0x774642e2
movzx ecx, word [eax*2 + 0x7742be18]
mov eax, dword [edi + 0x50]
shl ecx, 4
cmp eax, ecx
jae 0x774b6be4
mov ecx, dword [ebp - 0x14]
jmp 0x774642e2
mov dword [esi + eax*8 - 4], ebx
mov byte [esi + 7], 0xbf
jmp 0x77463e09
mov esi, eax
jmp 0x77463eaa
mov edx, dword [ebp - 8]
mov ecx, esi
call fcn.774809e5
mov ebx, eax
test ebx, ebx
je 0x774648cb
mov dword [ebx + 4], 0
jmp 0x77464175
lea edx, [ecx + 1]
mov dword [ebp - 0x28], edx
cmp ecx, 7
jbe 0x77463fd1
jmp 0x774b6eca
call fcn.77493800
mov ecx, dword [0x77536104]
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 + 0x77536108], ebx
jmp 0x77463c03
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebp - 0x14]
ja 0x7746433a
lea edx, [esi + 0x10]
jmp 0x77463c80
mov ebx, 0x12
mov byte [ebp - 0x2c], 1
cmp bl, 0x11
jae 0x774640d8
cmp bl, 0xf
jb 0x774640d8
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 + 0x775364c0]
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 0x774640d8
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, 0xffff
add word [ecx + 4], ax
jmp 0x7746437e
mov eax, dword [esi - 4]
lea edx, [esi - 0x20]
mov dword [ebp - 0x38], edx
test al, 1
je 0x77464676
mov ecx, dword [ebp - 0x38]
mov edx, edi
call fcn.77444ae0
test eax, eax
je 0x774b6cbe
mov ecx, dword [ebp - 0x38]
jmp 0x774643a1
lea edi, [edx + 0x1c]
mov ebx, 0xfffffffd
mov eax, dword [edi]
mov ecx, eax
and ecx, ebx
lock cmpxchg dword [edi], ecx
jne 0x77464680
mov edi, dword [ebp - 0xc]
cmp eax, 2
mov eax, dword [ebp - 0x14]
jne 0x77464368
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [edx], 0
mov edx, esi
call fcn.77467900
mov eax, dword [ebp - 0x14]
jmp 0x77464368
mov ebx, 0x400
jmp 0x7746406c
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 0x77463c61
movzx edx, byte [ecx + 2]
mov ecx, dword [ebp - 0x28]
call fcn.7744c76c
test eax, eax
js 0x7746471a
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx + 3]
movzx eax, al
or al, 1
mov byte [ecx + 3], al
call fcn.77461a00
test eax, eax
jne 0x774b6b73
mov eax, 0x7ffe0380
cmp byte [eax], 0
jne 0x774b6b86
lea edx, [esi + 0x10]
jmp 0x77463c61
mov eax, dword [0x77536104]
lea ecx, [eax + 1]
cmp ecx, dword [0x77536100]
jae 0x77463de0
lea ecx, [ecx*2 - 1]
mov edx, 0x77536104
lock cmpxchg dword [edx], ecx
jmp 0x77463de0
mov ebx, 0x12
jmp 0x774640b4
mov eax, dword [esi + 0x1c]
test al, 1
jne 0x774647c5
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 0x774647c2
mov ebx, 0xfffffffd
lea edx, [esi + 0x1c]
mov eax, dword [edx]
mov ecx, eax
and ecx, ebx
lock cmpxchg dword [edx], ecx
jne 0x7746477b
cmp eax, 2
lea eax, [edi + 4]
jne 0x77463c31
mov eax, dword [esi]
lea edx, [esi + 0x20]
mov ecx, dword [eax]
mov dword [esi], 0
call fcn.77467900
jmp 0x77463c2e
mov edx, 0x78000
jmp 0x774640a0
lea edx, [edi + 8]
test ecx, ecx
je 0x77463ed0
jmp 0x774b6ccf
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 0x10
jb 0x77464287
jmp 0x774b7145
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, 0xffff
add word [ecx + 4], ax
jmp 0x77463f4d
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 0x77464857
mov ecx, dword [ebp - 0x10]
mov edx, edi
call fcn.77444ae0
test eax, eax
je 0x774b6d20
mov edx, dword [ebp - 0x30]
mov edi, 0xfffffffd
mov eax, dword [edx]
mov ecx, eax
and ecx, edi
lock cmpxchg dword [edx], ecx
jne 0x7746481a
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
cmp eax, 2
je 0x77464876
mov ecx, edi
call fcn.77462c60
test al, al
jne 0x77463f6e
jmp 0x77464888
mov eax, dword [esi]
lea edx, [esi + 0x20]
mov ecx, dword [eax]
mov dword [esi], 0
call fcn.77467900
jmp 0x77463c2e
lea edi, [edx + 0x1c]
mov ebx, 0xfffffffd
mov eax, dword [edi]
mov ecx, eax
and ecx, ebx
lock cmpxchg dword [edi], ecx
jne 0x77464861
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
cmp eax, 2
jne 0x77464888
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [edx], 0
mov edx, dword [ebp - 0x18]
call fcn.77467900
mov dword [ebp - 0x10], 0
jmp 0x77463f37
mov eax, dword [eax + 0x1c]
test al, 1
je 0x774b6e76
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 0x10
jb 0x774644f5
jmp 0x774b6e28
mov eax, dword [ebx]
lea edx, [ebx + 0x20]
mov ecx, dword [eax]
mov dword [ebx], 0
call fcn.77467900
jmp 0x77463c2e
mov edx, dword [ebp - 0x38]
push ecx
mov ecx, esi
call fcn.7745ff00
xor eax, eax
jmp 0x77463e0c
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x226
jmp 0x77464711
mov eax, dword fs:[0x30]
test byte [eax + 0x240], 1
je 0x7746471a
mov eax, dword [ebp - 0x18]
movzx edx, byte [eax + 2]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
call fcn.77502c08
jmp 0x7746471a
mov dword [ebp - 0x14], 0
jmp 0x77463c76
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.774a6033
jmp 0x7746433a
mov eax, dword [ebp - 0x34]
mov dword [eax], edx
jmp 0x7746433a
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 0x774642e6
cmp dword [eax], 0
je 0x774642f7
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x230
jmp 0x774642fc
cmp dword [eax], 0
je 0x77464316
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x226
jmp 0x7746431b
mov eax, dword fs:[0x30]
test byte [eax + 0x240], 1
je 0x77464324
cmp byte [ebp - 1], 0
je 0x7746432a
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.77503050
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
jmp 0x77464324
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 0x774b6ca5
mov ecx, eax
jmp 0x774b6c7c
cmp dword [ebp - 0x30], 2
jne 0x774b6cb6
mov ecx, dword [ebp - 0x14]
push edx
xor dl, dl
call fcn.7747a967
mov esi, dword [ebp - 0x38]
jmp 0x77464397
mov ecx, dword [ebp - 0x28]
mov edx, esi
call fcn.77467900
xor ecx, ecx
jmp 0x774643a1
lea edx, [ecx + 0x20]
mov ecx, dword [ebp - 0x28]
call fcn.77467900
jmp 0x77463ec7
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 0x774b6d08
mov ecx, eax
jmp 0x774b6cdf
cmp dword [ebp - 0x30], 2
jne 0x774b6d18
push edx
xor dl, dl
mov ecx, ebx
call fcn.7747a967
mov edi, dword [ebp - 0xc]
jmp 0x77463f63
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x774b6d2d
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 0x77464888
mov ecx, dword [ebp - 0x34]
mov edx, esi
push eax
push dword [ebp - 0x38]
call fcn.77487280
jmp 0x77463f7c
lea edx, [esi + 0x1c]
mov ebx, 0xfffffff9
mov eax, dword [edx]
mov ecx, eax
and ecx, ebx
lock cmpxchg dword [edx], ecx
jne 0x774b6d5c
cmp eax, 6
jne 0x774b6d7d
mov eax, dword [esi]
lea edx, [esi + 0x20]
mov ecx, dword [eax]
mov dword [esi], 0
jmp 0x7746484d
mov ecx, dword [ebp - 0x38]
mov edx, esi
call fcn.77462c60
test al, al
lea eax, [edi + 4]
je 0x77463c31
lea edx, [esi + 0x1c]
mov ecx, dword [edx]
lea eax, [edi + 4]
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x77463c31
lea eax, [edi + 4]
test cl, 2
jne 0x77463c31
mov eax, dword [ebp - 0x38]
or ecx, 2
lock cmpxchg dword [edx], ecx
cmp eax, dword [ebp - 0x38]
jne 0x774b6d95
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 0x774b6dfb
mov ebx, dword [ebp - 0x30]
mov ecx, esi
lock cmpxchg dword [ebx], ecx
test eax, eax
lea eax, [edi + 4]
je 0x77463c31
jmp 0x774b6e1c
mov eax, dword [eax + 0x1c]
test al, 1
jne 0x774b6e1c
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 0x774b6e95
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 0x10
jb 0x774b6dca
mov eax, dword [esi]
lea edx, [esi + 0x20]
jmp 0x774b714a
cmp dword [eax], 0
je 0x7746445d
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x226
jmp 0x77464462
mov eax, dword fs:[0x30]
test byte [eax + 0x240], 1
je 0x7746446b
mov eax, dword [edi]
mov edx, dword [esi + 4]
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + 0xc]
call fcn.775030d1
jmp 0x7746446b
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 0x774b6e95
mov edx, dword [ebp - 0x38]
jmp 0x7746489f
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 0x774b6ea2
cmp eax, 2
lea eax, [edi + 4]
jne 0x77463c31
mov eax, dword [esi]
lea edx, [esi + 0x20]
mov ecx, dword [eax]
mov dword [esi], 0
jmp 0x7746484d
mov byte [ebp - 1], 1
mov dword [ebp - 0x28], 0
jmp 0x77463fd1
test eax, eax
jne 0x77463ffa
mov edx, dword [ebp - 0x18]
jmp 0x7746400f
mov ecx, 4
jmp 0x77464007
mov ebx, 4
jmp 0x7746406c
mov edx, 0x78000
jmp 0x77464115
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 0x774b6f34
mov ecx, eax
jmp 0x774b6f0b
cmp dword [ebp - 0x34], 2
mov edi, dword [ebp - 0x24]
jne 0x774b6f48
mov ecx, dword [ebp - 0x28]
push edx
xor dl, dl
call fcn.7747a967
mov esi, dword [ebp - 0x1c]
jmp 0x7746416a
mov edx, 0xfffffff9
mov eax, dword [esi]
mov ecx, eax
and ecx, edx
lock cmpxchg dword [esi], ecx
jne 0x774b6f57
cmp eax, 6
jne 0x774b6f7d
mov eax, dword [ebx]
lea edx, [ebx + 0x20]
mov ecx, dword [eax]
mov dword [ebx], 0
call fcn.77467900
jmp 0x774b70b3
mov ecx, dword [ebp - 0x38]
mov edx, ebx
call fcn.77462c60
test al, al
je 0x774b70b3
mov edx, dword [esi]
test edx, edx
je 0x774b70b3
test dl, 2
jne 0x774b70b3
mov ecx, edx
mov eax, edx
or ecx, 2
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x774b6f8f
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 0x774b6feb
mov edi, dword [ebp - 0x30]
mov ecx, ebx
lock cmpxchg dword [edi], ecx
mov edi, dword [ebp - 0xc]
test eax, eax
jne 0x774b700e
jmp 0x774b70b3
mov eax, dword [eax + 0x1c]
test al, 1
jne 0x774b700e
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 0x774b7039
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 0x10
jb 0x774b6fbb
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.77467900
jmp 0x774b70b3
lea edx, [ecx + 0x1c]
mov edi, 0xfffffffd
mov eax, dword [edx]
mov ecx, eax
and ecx, edi
lock cmpxchg dword [edx], ecx
jne 0x774b7043
mov edi, dword [ebp - 0xc]
cmp eax, 2
jne 0x774b70b3
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [edx], 0
add edx, 0x20
call fcn.77467900
jmp 0x774b70b3
cmp dword [eax], 0
je 0x774641f6
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x226
jmp 0x774641fb
mov eax, dword fs:[0x30]
test byte [eax + 0x240], 1
je 0x77464204
mov eax, dword [edi]
mov edx, dword [ebx + 4]
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + 0xc]
call fcn.775030d1
jmp 0x77464204
mov edi, dword [ebp - 0xc]
mov edx, dword [esi]
lea eax, [edi + 4]
test edx, edx
je 0x77463c31
lea eax, [edi + 4]
test dl, 2
jne 0x77463c31
mov ecx, edx
mov eax, edx
or ecx, 2
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x774b70b3
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 0x774b7116
mov esi, dword [ebp - 0x30]
mov ecx, ebx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
lea eax, [edi + 4]
je 0x77463c31
jmp 0x774b7139
mov eax, dword [esi + 0x1c]
test al, 1
jne 0x774b7139
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 0x77464771
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 0x10
jb 0x774b70e5
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 0x7746484d