Function at 0x4110a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4738fc
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49b7f0]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1b4]
xor edi, edi
mov dword [esp + 0x1a8], edi
mov esi, edx
mov dword [esp + 0x14], edi
push edi
mov ebx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0x47f880
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], esi
mov word [esi + 4], di
call fcn.00401720
mov dword [esp + 0x1a8], edi
lea edi, [esp + 0x18]
mov dword [esp + 0x14], 1
call fcn.00412b20
push 0x47f880
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1ac], 1
call fcn.004028f0
push 0x47f880
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ac], 2
call fcn.004028f0
push 0x47f880
lea ecx, [esp + 0x40]
mov byte [esp + 0x1ac], 3
call fcn.004028f0
xor eax, eax
mov byte [esp + 0x1a8], 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [ebp*8]
sub eax, ebp
cmp dword [eax*8 + 0x4a0330], 8
lea eax, [eax*8 + 0x4a0318]
mov dword [esp + 0x5c], eax
jb 0x4111a2
mov esi, eax
mov eax, dword [esi + 4]
jmp 0x4111a9
mov esi, dword [esp + 0x5c]
add eax, 4
mov edi, dword [esp + 0x1b0]
push eax
push edi
lea eax, [esp + 0x40]
push str._d._sA
push eax
call fcn.0040a810
mov ebp, 8
add esp, 0x10
cmp dword [esi + 0x18], ebp
jb 0x4111d3
mov eax, dword [esi + 4]
jmp 0x4111d6
lea eax, [esi + 4]
push eax
push edi
lea ecx, [esp + 0x34]
push str._d._sB
push ecx
call fcn.0040a810
add esp, 0x10
cmp dword [esi + 0x18], ebp
jb 0x4111f4
mov eax, dword [esi + 4]
jmp 0x4111f7
lea eax, [esi + 4]
push eax
push edi
lea edx, [esp + 0x44]
push str._d._sC
push edx
call fcn.0040a810
mov edx, dword [esp + 0x48]
add esp, 0x10
xor ebp, ebp
mov eax, edx
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], ebp
mov word [esp + 0xf4], bp
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x411230
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0xf8]
call fcn.00401720
lea eax, [esp + 0x188]
push eax
lea edi, [ebx + 4]
mov byte [esp + 0x1ac], 5
push edi
mov eax, esi
mov dword [esp + 0x1c], 3
call fcn.00412920
mov ecx, dword [eax]
cmp ecx, ebp
mov edx, dword [eax + 4]
mov esi, dword [edi + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
je 0x411288
cmp ecx, edi
je 0x41128d
call fcn.00452bca
cmp dword [esp + 0x44], esi
je 0x411399
mov edx, dword [esp + 0x2c]
mov ebx, 7
mov eax, edx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xcc], ebp
mov word [esp + 0xbc], bp
lea esi, [eax + 2]
jmp 0x4112c0
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4112c0
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0xc0]
call fcn.00401720
lea eax, [esp + 0x178]
push eax
mov dword [esp + 0x1ac], 6
push edi
mov eax, esi
mov dword [esp + 0x1c], ebx
call fcn.00412920
mov ecx, dword [eax]
cmp ecx, ebp
mov ebx, dword [eax + 4]
mov esi, dword [edi + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
je 0x411314
cmp ecx, edi
je 0x411319
call fcn.00452bca
cmp ebx, esi
je 0x411399
mov edx, dword [esp + 0x3c]
mov eax, edx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebp
mov word [esp + 0x68], bp
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x411337
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x6c]
call fcn.00401720
lea ecx, [esp + 0x160]
push ecx
mov dword [esp + 0x1ac], 7
push edi
mov eax, esi
mov dword [esp + 0x1c], 0xf
call fcn.00412920
mov ecx, dword [eax]
cmp ecx, ebp
mov ebx, dword [eax + 4]
mov esi, dword [edi + 4]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebx
je 0x41138c
cmp ecx, edi
je 0x411391
call fcn.00452bca
cmp ebx, esi
je 0x411399
mov bl, 1
jmp 0x41139b
xor bl, bl
test byte [esp + 0x14], 8
je 0x4113cc
and dword [esp + 0x14], 0xfffffff7
cmp dword [esp + 0x7c], 8
jb 0x4113bb
mov edx, dword [esp + 0x68]
push edx
call fcn.00434636
add esp, 4
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebp
mov word [esp + 0x68], bp
test byte [esp + 0x14], 4
je 0x41140c
and dword [esp + 0x14], 0xfffffffb
cmp dword [esp + 0xd0], 8
jb 0x4113f2
mov eax, dword [esp + 0xbc]
push eax
call fcn.00434636
add esp, 4
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebp
mov word [esp + 0xbc], bp
mov dword [esp + 0x1a8], 4
test byte [esp + 0x14], 2
je 0x411457
and dword [esp + 0x14], 0xfffffffd
cmp dword [esp + 0x108], 8
jb 0x41143d
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.00434636
add esp, 4
mov dword [esp + 0x108], 7
mov dword [esp + 0x104], ebp
mov word [esp + 0xf4], bp
test bl, bl
je 0x411ebf
cmp dword [esp + 0x40], ebp
jne 0x41146a
call fcn.00452bca
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
cmp esi, dword [edx + 4]
jne 0x41147c
call fcn.00452bca
cmp dword [esi + 0x40], 8
jb 0x411487
mov esi, dword [esi + 0x2c]
jmp 0x41148a
add esi, 0x2c
mov ecx, dword [esp + 0x1c]
cmp ecx, ebp
je 0x4114aa
mov edx, dword [esp + 0x20]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4114b3
call fcn.00452bca
mov ecx, dword [esp + 0x1c]
cmp esi, ebp
jne 0x4114bb
xor eax, eax
jmp 0x4114d1
mov eax, esi
lea ebp, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4114c0
sub eax, ebp
sar eax, 1
xor ebp, ebp
push eax
push esi
call fcn.00402ce0
mov esi, dword [esp + 0x30]
cmp esi, ebp
jne 0x4114e5
call fcn.00452bca
mov ebp, dword [esp + 0x34]
cmp ebp, dword [esi + 4]
jne 0x4114f3
call fcn.00452bca
cmp dword [ebp + 0x40], 8
jb 0x411502
mov ecx, dword [esp + 0x34]
mov ebp, dword [ecx + 0x2c]
jmp 0x411509
mov ebp, dword [esp + 0x34]
add ebp, 0x2c
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x41152c
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x411535
call fcn.00452bca
mov esi, dword [esp + 0x1c]
add esi, 0xc
test ebp, ebp
jne 0x411540
xor eax, eax
jmp 0x411554
mov eax, ebp
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x411545
sub eax, ecx
sar eax, 1
push eax
push ebp
mov ecx, esi
call fcn.00402ce0
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x41156a
call fcn.00452bca
mov ebp, dword [esp + 0x4c]
cmp ebp, dword [esi + 4]
jne 0x411578
call fcn.00452bca
mov ebx, 8
cmp dword [ebp + 0x40], ebx
jb 0x411587
mov ebp, dword [ebp + 0x2c]
jmp 0x41158a
add ebp, 0x2c
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4115ad
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
ja 0x4115b6
call fcn.00452bca
mov esi, dword [esp + 0x1c]
add esi, 0x18
test ebp, ebp
jne 0x4115c1
xor eax, eax
jmp 0x4115d5
mov eax, ebp
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4115c6
sub eax, ecx
sar eax, 1
push eax
push ebp
mov ecx, esi
call fcn.00402ce0
mov esi, dword [esp + 0x5c]
cmp dword [esi + 0x18], ebx
jb 0x4115ec
mov eax, dword [esi + 4]
jmp 0x4115ef
lea eax, [esi + 4]
mov ebp, dword [esp + 0x1b0]
push eax
push ebp
lea edx, [esp + 0x40]
push str._d._sA.Percentage
push edx
call fcn.0040a810
add esp, 0x10
cmp dword [esi + 0x18], ebx
jb 0x411614
mov eax, dword [esi + 4]
jmp 0x411617
lea eax, [esi + 4]
push eax
push ebp
lea eax, [esp + 0x34]
push str._d._sB.Percentage
push eax
call fcn.0040a810
add esp, 0x10
cmp dword [esi + 0x18], ebx
jb 0x411635
mov eax, dword [esi + 4]
jmp 0x411638
lea eax, [esi + 4]
push eax
push ebp
lea ecx, [esp + 0x44]
push str._d._sC.Percentage
push ecx
call fcn.0040a810
mov edx, dword [esp + 0x48]
add esp, 0x10
xor ebx, ebx
mov eax, edx
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411671
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0xa4]
call fcn.00401720
lea edx, [esp + 0x198]
push edx
mov byte [esp + 0x1ac], 8
or dword [esp + 0x18], 0x10
push edi
mov eax, esi
call fcn.00412920
mov ebp, dword [eax]
test ebp, ebp
mov ebx, dword [eax + 4]
mov esi, dword [edi + 4]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
je 0x4116c3
cmp ebp, edi
je 0x4116c8
call fcn.00452bca
cmp ebx, esi
je 0x4117b4
mov edx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x94], eax
mov word [esp + 0x84], ax
mov eax, edx
mov dword [esp + 0x98], 7
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4116f5
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x88]
call fcn.00401720
lea eax, [esp + 0x170]
push eax
mov dword [esp + 0x1ac], 9
or dword [esp + 0x18], 0x20
push edi
mov eax, esi
call fcn.00412920
mov ebx, dword [eax]
test ebx, ebx
mov ebp, dword [eax + 4]
mov esi, dword [edi + 4]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebp
je 0x41174a
cmp ebx, edi
je 0x41174f
call fcn.00452bca
cmp ebp, esi
je 0x4117ba
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x128]
call fcn.00401360
lea ecx, [esp + 0x190]
push ecx
mov dword [esp + 0x1ac], 0xa
or dword [esp + 0x18], 0x40
push edi
lea eax, [esp + 0x130]
call fcn.00412920
mov ecx, dword [eax]
test ecx, ecx
mov ebp, dword [eax + 4]
mov esi, dword [edi + 4]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebp
je 0x4117a0
cmp ecx, edi
je 0x4117a5
call fcn.00452bca
cmp ebp, esi
je 0x4117ba
mov ebp, dword [esp + 0x40]
mov byte [esp + 0x2b], 1
jmp 0x4117c3
mov ebx, dword [esp + 0x30]
jmp 0x4117be
mov ebp, dword [esp + 0x40]
mov byte [esp + 0x2b], 0
test byte [esp + 0x14], 0x40
je 0x411807
and dword [esp + 0x14], 0xffffffbf
cmp dword [esp + 0x140], 8
jb 0x4117e9
mov edx, dword [esp + 0x12c]
push edx
call fcn.00434636
add esp, 4
xor esi, esi
mov dword [esp + 0x140], 7
mov dword [esp + 0x13c], esi
mov word [esp + 0x12c], si
jmp 0x411809
xor esi, esi
test byte [esp + 0x14], 0x20
je 0x411849
and dword [esp + 0x14], 0xffffffdf
cmp dword [esp + 0x98], 8
jb 0x41182f
mov eax, dword [esp + 0x84]
push eax
call fcn.00434636
add esp, 4
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], esi
mov word [esp + 0x84], si
mov dword [esp + 0x1a8], 4
test byte [esp + 0x14], 0x10
je 0x411894
and dword [esp + 0x14], 0xffffffef
cmp dword [esp + 0xb4], 8
jb 0x41187a
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.00434636
add esp, 4
mov dword [esp + 0xb4], 7
mov dword [esp + 0xb0], esi
mov word [esp + 0xa0], si
cmp byte [esp + 0x2b], 0
je 0x411ebf
cmp ebp, esi
jne 0x4118a8
call fcn.00452bca
mov esi, dword [esp + 0x44]
cmp esi, dword [ebp + 4]
jne 0x4118b6
call fcn.00452bca
cmp dword [esi + 0x40], 8
jb 0x4118c1
mov ebp, dword [esi + 0x2c]
jmp 0x4118c4
lea ebp, [esi + 0x2c]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4118e4
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4118ed
call fcn.00452bca
mov esi, dword [esp + 0x1c]
push ebp
call fcn.00452771
add esp, 4
test ebx, ebx
mov dword [esi + 4], eax
jne 0x411902
call fcn.00452bca
mov ebp, dword [esp + 0x34]
cmp ebp, dword [ebx + 4]
jne 0x411910
call fcn.00452bca
cmp dword [ebp + 0x40], 8
jb 0x41191b
mov ebp, dword [ebp + 0x2c]
jmp 0x41191e
add ebp, 0x2c
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x411941
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x41194a
call fcn.00452bca
mov esi, dword [esp + 0x1c]
push ebp
add esi, 0xc
call fcn.00452771
mov dword [esi + 4], eax
mov esi, dword [esp + 0x4c]
add esp, 4
test esi, esi
jne 0x411966
call fcn.00452bca
mov ebp, dword [esp + 0x4c]
cmp ebp, dword [esi + 4]
jne 0x411974
call fcn.00452bca
mov ebx, 8
cmp dword [ebp + 0x40], ebx
jb 0x411983
mov ebp, dword [ebp + 0x2c]
jmp 0x411986
add ebp, 0x2c
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4119a9
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
ja 0x4119b2
call fcn.00452bca
mov esi, dword [esp + 0x1c]
push ebp
add esi, 0x18
call fcn.00452771
mov dword [esi + 4], eax
mov esi, dword [esp + 0x60]
add esp, 4
cmp dword [esi + 0x18], ebx
jb 0x4119cf
mov eax, dword [esi + 4]
jmp 0x4119d2
lea eax, [esi + 4]
mov ebp, dword [esp + 0x1b0]
push eax
push ebp
lea ecx, [esp + 0x40]
push str._d._sA.TestVer
push ecx
call fcn.0040a810
add esp, 0x10
cmp dword [esi + 0x18], ebx
jb 0x4119f7
mov eax, dword [esi + 4]
jmp 0x4119fa
lea eax, [esi + 4]
push eax
push ebp
lea edx, [esp + 0x34]
push str._d._sB.TestVer
push edx
call fcn.0040a810
add esp, 0x10
cmp dword [esi + 0x18], ebx
jb 0x411a18
mov eax, dword [esi + 4]
jmp 0x411a1b
lea eax, [esi + 4]
push eax
push ebp
lea eax, [esp + 0x44]
push str._d._sC.TestVer
push eax
call fcn.0040a810
mov edx, dword [esp + 0x48]
add esp, 0x10
xor ebx, ebx
mov eax, edx
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411a54
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0xdc]
call fcn.00401720
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x1ac], 0xb
or dword [esp + 0x18], 0x80
push edi
mov eax, esi
call fcn.00412920
mov ebp, dword [eax]
test ebp, ebp
mov ebx, dword [eax + 4]
mov esi, dword [edi + 4]
mov dword [esp + 0x44], ebx
je 0x411aa2
cmp ebp, edi
je 0x411aa7
call fcn.00452bca
cmp ebx, esi
je 0x411b65
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x10c]
call fcn.00401360
lea edx, [esp + 0x180]
push edx
mov dword [esp + 0x1ac], 0xc
or dword [esp + 0x18], 0x100
push edi
lea eax, [esp + 0x114]
call fcn.00412920
mov ecx, dword [eax]
test ecx, ecx
mov ebx, dword [eax + 4]
mov esi, dword [edi + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
je 0x411aff
cmp ecx, edi
je 0x411b04
call fcn.00452bca
cmp ebx, esi
je 0x411b65
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x144]
call fcn.00401360
lea eax, [esp + 0x168]
push eax
mov dword [esp + 0x1ac], 0xd
or dword [esp + 0x18], 0x200
push edi
lea eax, [esp + 0x14c]
call fcn.00412920
mov ecx, dword [eax]
test ecx, ecx
mov ebx, dword [eax + 4]
mov esi, dword [edi + 4]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebx
je 0x411b58
cmp ecx, edi
je 0x411b5d
call fcn.00452bca
cmp ebx, esi
je 0x411b65
mov bl, 1
jmp 0x411b67
xor bl, bl
test dword [esp + 0x14], 0x200
je 0x411bb2
and dword [esp + 0x14], 0xfffffdff
cmp dword [esp + 0x15c], 8
jb 0x411b93
mov ecx, dword [esp + 0x148]
push ecx
call fcn.00434636
add esp, 4
xor edi, edi
mov esi, 7
mov dword [esp + 0x15c], esi
mov dword [esp + 0x158], edi
mov word [esp + 0x148], di
jmp 0x411bb9
mov esi, 7
xor edi, edi
test dword [esp + 0x14], 0x100
je 0x411bfb
and dword [esp + 0x14], 0xfffffeff
cmp dword [esp + 0x124], 8
jb 0x411be5
mov edx, dword [esp + 0x110]
push edx
call fcn.00434636
add esp, 4
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], edi
mov word [esp + 0x110], di
mov dword [esp + 0x1a8], 4
test byte [esp + 0x14], 0x80
je 0x411c45
and dword [esp + 0x14], 0xffffff7f
cmp dword [esp + 0xec], 8
jb 0x411c2f
mov eax, dword [esp + 0xd8]
push eax
call fcn.00434636
add esp, 4
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], edi
mov word [esp + 0xd8], di
test bl, bl
je 0x411ebf
cmp ebp, edi
jne 0x411c56
call fcn.00452bca
mov edi, dword [esp + 0x44]
cmp edi, dword [ebp + 4]
jne 0x411c64
call fcn.00452bca
cmp dword [edi + 0x40], 8
jb 0x411c6f
mov edi, dword [edi + 0x2c]
jmp 0x411c72
add edi, 0x2c
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x411c92
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x411c9b
call fcn.00452bca
mov esi, dword [esp + 0x1c]
push edi
call fcn.00452771
mov dword [esi + 8], eax
mov esi, dword [esp + 0x34]
add esp, 4
test esi, esi
jne 0x411cb4
call fcn.00452bca
mov edi, dword [esp + 0x34]
cmp edi, dword [esi + 4]
jne 0x411cc2
call fcn.00452bca
mov ebx, 8
cmp dword [edi + 0x40], ebx
jb 0x411cd1
mov edi, dword [edi + 0x2c]
jmp 0x411cd4
add edi, 0x2c
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x411cf7
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x411d00
call fcn.00452bca
mov esi, dword [esp + 0x1c]
push edi
add esi, 0xc
call fcn.00452771
mov dword [esi + 8], eax
mov esi, dword [esp + 0x4c]
add esp, 4
test esi, esi
jne 0x411d1c
call fcn.00452bca
mov edi, dword [esp + 0x4c]
cmp edi, dword [esi + 4]
jne 0x411d2a
call fcn.00452bca
cmp dword [edi + 0x40], ebx
jb 0x411d34
mov edi, dword [edi + 0x2c]
jmp 0x411d37
add edi, 0x2c
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x411d5a
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
ja 0x411d63
call fcn.00452bca
mov esi, dword [esp + 0x1c]
push edi
add esi, 0x18
call fcn.00452771
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esp, 4
cmp ecx, eax
mov ebp, eax
jbe 0x411d8d
call fcn.00452bca
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
lea esi, [esp + 0x18]
mov edi, ecx
jbe 0x411d9c
call fcn.00452bca
push ebp
push esi
lea eax, [esp + 0x20]
push edi
push eax
call fcn.00414270
push 0
call fcn.004521fd
add esp, 0x14
push eax
call fcn.00452fa8
add esp, 4
call fcn.00452fb5
cdq
mov ecx, 0x64
idiv ecx
mov esi, dword [esp + 0x1c]
test esi, esi
mov ebp, edx
je 0x411deb
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x411df4
call fcn.00452bca
mov esi, dword [esp + 0x1c]
cmp ebp, dword [esi + 4]
jl 0x411e79
xor edi, edi
lea esi, [esp + 0x18]
call fcn.00412bd0
cmp ebp, dword [eax + 4]
je 0x411e79
mov edi, 1
call fcn.00412bd0
xor edi, edi
lea ebx, [eax + 4]
call fcn.00412bd0
mov ecx, dword [eax + 4]
add ecx, dword [ebx]
cmp ebp, ecx
jl 0x411e4c
mov edi, 1
call fcn.00412bd0
xor edi, edi
lea ebx, [eax + 4]
call fcn.00412bd0
mov edx, dword [eax + 4]
add edx, dword [ebx]
mov edi, 2
cmp ebp, edx
jne 0x411e51
mov edi, 1
lea esi, [esp + 0x18]
call fcn.00412bd0
mov eax, dword [eax]
mov ecx, dword [esp + 0x50]
push ecx
mov edx, eax
call fcn.00408cf0
call fcn.00412bd0
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x58]
mov dword [eax + 0x34], edx
jmp 0x411ebf
xor edi, edi
lea esi, [esp + 0x18]
call fcn.00412bd0
mov edx, dword [eax]
mov eax, edx
lea esi, [eax + 2]
jmp 0x411e90
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411e90
sub eax, esi
mov esi, dword [esp + 0x50]
sar eax, 1
push eax
push edx
call fcn.00401720
xor edi, edi
lea esi, [esp + 0x18]
call fcn.00412bd0
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x58]
mov dword [edx + 0x34], ecx
mov byte [esp + 0x1a8], 3
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411ee7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1a8], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1a8], 1
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411f37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x18]
call fcn.004132b0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x198
ret 8