Function at 0x472230
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4d13
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4f5108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 2
call fcn.00405f90
push 0x134
call fcn.00479672
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x472289
mov ecx, eax
call fcn.00409bd0
mov esi, eax
jmp 0x47228b
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push edi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x14]
push 1
sub esp, 0x10
mov ecx, esi
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xf0
mov eax, dword [esi]
call dword [eax + 0x5c]
push 1
mov ecx, esi
call fcn.00405f70
push 0x48
call fcn.00479672
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4722f4
push 0xf9faf5
mov ecx, eax
call fcn.00413e20
mov ecx, eax
jmp 0x4722f6
xor ecx, ecx
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0xa8]
push 2
mov ecx, esi
call fcn.00405f90
push 0x120
call fcn.00479672
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x47233a
mov ecx, eax
call fcn.00404880
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x47233f
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x144], ecx
je 0x472371
test ecx, ecx
je 0x47235b
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x144]
mov dword [edi + 0x144], ecx
test eax, eax
je 0x472371
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x144]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x144]
push 1
call fcn.00405f70
mov ecx, dword [edi + 0x144]
movaps xmm0, xmmword [0x4c8110]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
push 0xc0
call fcn.00479672
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4723cc
mov ecx, eax
call fcn.0040f5a0
mov esi, eax
jmp 0x4723ce
xor esi, esi
push 3
push 0xa0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f270
mov ecx, dword [edi + 0x144]
push esi
mov eax, dword [ecx]
call dword [eax + 0xa8]
mov ecx, dword [edi + 0x144]
push 1
call fcn.00406f20
mov ecx, dword [edi + 0x144]
movaps xmm0, xmmword [0x4c8040]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
mov ecx, dword [edi + 0x144]
push 2
call fcn.00405f90
push 0x134
call fcn.00479672
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x472451
mov ecx, eax
call fcn.00409bd0
mov esi, eax
jmp 0x472453
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push edi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x14]
push 1
mov ecx, esi
call fcn.00405f70
push 1
sub esp, 0x10
mov ecx, esi
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x14
mov eax, dword [esi]
call dword [eax + 0x5c]
push 1
sub esp, 0x10
mov ecx, esi
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0x13
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov eax, dword [esi]
call dword [eax + 0x80]
push 2
mov ecx, esi
call fcn.00405f90
push 0x190
call fcn.00479672
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x4724f2
mov ecx, eax
call fcn.0041e930
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x4724f7
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x164], ecx
je 0x472529
test ecx, ecx
je 0x472513
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x164]
mov dword [edi + 0x164], ecx
test eax, eax
je 0x472529
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x164]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x164]
push 0
call fcn.00405f70
movaps xmm0, xmmword [0x4c80a0]
sub esp, 0x10
mov ecx, dword [edi + 0x164]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00420730
sub esp, 0x10
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 5
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov ecx, dword [edi + 0x164]
call fcn.004207b0
mov ecx, dword [edi + 0x164]
movaps xmm0, xmmword [0x4c80f0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x164]
movaps xmm0, xmmword [0x4c8000]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0xc0
call fcn.00479672
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x4725e6
mov ecx, eax
call fcn.0040f5a0
jmp 0x4725e8
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f270
mov ecx, dword [ebp - 0x10]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], 0x18
mov dword [eax + 4], 0
mov dword [eax + 8], 0x24
mov dword [eax + 0xc], 0xc
call fcn.00410080
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x164]
push eax
push eax
push eax
call fcn.0041f0f0
push 0xc0
call fcn.00479672
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x47265f
mov ecx, eax
call fcn.0040f5a0
jmp 0x472661
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f270
mov ecx, dword [ebp - 0x14]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0xc
mov dword [eax + 0xc], 0xc
call fcn.00410080
push 0xc0
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 8
test eax, eax
je 0x4726c7
mov ecx, eax
call fcn.0040f5a0
jmp 0x4726c9
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f270
mov ecx, dword [ebp - 0x10]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], 0x18
mov dword [eax + 0xc], 0xc
call fcn.00410080
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x164]
push eax
push eax
push dword [ebp - 0x14]
call fcn.0041f230
push ecx
mov ecx, esp
push 0x4c7f34
call fcn.00404260
mov ecx, dword [edi + 0x164]
call fcn.0041ee20
mov ecx, dword [edi + 0x164]
push 0x6d615a
call fcn.0041eec0
movaps xmm0, xmmword [0x4c7fe0]
sub esp, 0x10
mov ecx, dword [edi + 0x164]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00420770
mov ecx, dword [edi + 0x164]
push 0xfffffffffffffff1
call fcn.0041eee0
mov ecx, dword [edi + 0x164]
push 2
call fcn.00406f20
mov ecx, dword [edi + 0x164]
push 1
call fcn.0041ed70
mov ecx, dword [edi + 0x164]
test ecx, ecx
je 0x4727a6
lea eax, [edi + 0x134]
test eax, eax
je 0x4727a6
push eax
push 0x190
call fcn.00401980
push 0x180
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 9
test eax, eax
je 0x4727cf
mov ecx, eax
call fcn.00414b60
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x4727d4
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x168], ecx
je 0x472806
test ecx, ecx
je 0x4727f0
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x168]
mov dword [edi + 0x168], ecx
test eax, eax
je 0x472806
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x168]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x168]
push 0
call fcn.00405f70
mov ecx, dword [edi + 0x168]
push 1
call fcn.00405f50
mov ecx, dword [edi + 0x168]
push 1
call fcn.00405f30
push ecx
mov ecx, esp
push 0x4c7f50
call fcn.00404260
mov ecx, dword [edi + 0x168]
call fcn.004153e0
mov ecx, dword [edi + 0x168]
push 2
call fcn.00406f20
mov ecx, dword [edi + 0x168]
push 0x666666
mov eax, dword [ecx]
call dword [eax + 0x130]
mov ecx, dword [edi + 0x168]
push 1
call fcn.00416f50
mov ecx, dword [edi + 0x168]
push 0xfffffffffffffff1
call fcn.00416270
mov ecx, dword [edi + 0x168]
push 1
call fcn.00406110
mov ecx, dword [edi + 0x168]
test ecx, ecx
je 0x4728b7
lea eax, [edi + 0x134]
test eax, eax
je 0x4728b7
push eax
push 0x384
call fcn.00401980
push 0x2e8
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x4728dd
mov ecx, eax
call fcn.0040a790
mov esi, eax
jmp 0x4728df
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x160], esi
je 0x47290e
test esi, esi
je 0x4728f8
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x160]
mov dword [edi + 0x160], esi
test eax, eax
je 0x47290e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x160]
push edi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x160]
push 1
call fcn.00405f70
mov ecx, dword [edi + 0x160]
push 1
call fcn.00406f20
mov ecx, dword [edi + 0x160]
movaps xmm0, xmmword [0x4c7980]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x160]
movaps xmm0, xmmword [0x4c8030]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0x4c7f5c
lea ecx, [ebp - 0x14]
call fcn.00404260
mov ecx, dword [edi + 0x160]
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 4], 0xb
mov eax, dword [ecx]
call dword [eax + 0x14c]
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4729b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x160]
push 0xffffff
call fcn.0040c4c0
mov ecx, dword [edi + 0x160]
push 1
call fcn.0040ca20
mov ecx, dword [edi + 0x160]
push 0xffffffffffffffec
call fcn.0040eb90
movaps xmm0, xmmword [0x4c80c0]
sub esp, 0x10
mov ecx, dword [edi + 0x160]
mov eax, esp
push 3
push 0xa2
movups xmmword [eax], xmm0
call fcn.0040e800
mov ecx, dword [edi + 0x160]
test ecx, ecx
je 0x472a1e
lea eax, [edi + 0x134]
test eax, eax
je 0x472a1e
push eax
push 0
call fcn.00401980
push 0x134
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xc
test eax, eax
je 0x472a44
mov ecx, eax
call fcn.00409bd0
mov esi, eax
jmp 0x472a46
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push edi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x14]
push 1
mov ecx, esi
call fcn.00405f70
push 1
sub esp, 0x10
mov ecx, esi
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xe
mov eax, dword [esi]
call dword [eax + 0x5c]
push 1
sub esp, 0x10
mov ecx, esi
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0xf
mov dword [eax + 8], 0x14
mov dword [eax + 0xc], 5
mov eax, dword [esi]
call dword [eax + 0x80]
push 2
mov ecx, esi
call fcn.00405f90
push 0x2e8
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xd
test eax, eax
je 0x472ae5
mov ecx, eax
call fcn.0040a790
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x472aea
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x16c], ecx
je 0x472b1c
test ecx, ecx
je 0x472b06
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x16c]
mov dword [edi + 0x16c], ecx
test eax, eax
je 0x472b1c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x16c]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x16c]
push 2
call fcn.00405f70
mov ecx, dword [edi + 0x16c]
push 2
call fcn.00406f20
mov ecx, dword [edi + 0x16c]
movaps xmm0, xmmword [0x4c80b0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x16c]
xorps xmm0, xmm0
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0x4c7f68
lea ecx, [ebp - 0x14]
call fcn.00404260
mov ecx, dword [edi + 0x16c]
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 4], 0xe
mov eax, dword [ecx]
call dword [eax + 0x14c]
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472bc1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
movaps xmm0, xmmword [0x4c8050]
mov ecx, dword [edi + 0x16c]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0040ed20
mov ecx, dword [edi + 0x16c]
push 0
call fcn.0040ece0
mov ecx, dword [edi + 0x16c]
push 2
call fcn.0040ed00
mov ecx, dword [edi + 0x16c]
push 0x666666
call fcn.0040c4c0
mov ecx, dword [edi + 0x16c]
push 1
call fcn.0040ca20
push 0xc0
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xf
test eax, eax
je 0x472c3a
mov ecx, eax
call fcn.0040f5a0
mov esi, eax
jmp 0x472c3c
xor esi, esi
push 3
push 0xa3
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f270
mov ecx, dword [edi + 0x16c]
push esi
call fcn.0040c5c0
mov ecx, dword [edi + 0x16c]
test ecx, ecx
je 0x472c79
lea eax, [edi + 0x134]
test eax, eax
je 0x472c79
push eax
push 0
call fcn.00401980
push 0x134
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x10
test eax, eax
je 0x472ca2
mov ecx, eax
call fcn.00409bd0
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x472ca7
xor esi, esi
mov dword [ebp - 0x10], esi
mov eax, dword [esi]
mov ecx, esi
push edi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x14]
push 1
mov ecx, esi
call fcn.00405f70
push 1
sub esp, 0x10
mov ecx, esi
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x50
mov eax, dword [esi]
call dword [eax + 0x5c]
push 0x190
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x11
test eax, eax
je 0x472d0e
mov ecx, eax
call fcn.0041e930
mov esi, eax
jmp 0x472d10
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x170], esi
je 0x472d3f
test esi, esi
je 0x472d29
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x170]
mov dword [edi + 0x170], esi
test eax, eax
je 0x472d3f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x170]
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x170]
push 1
call fcn.0041edc0
mov ecx, dword [edi + 0x170]
push 1
call fcn.00405f70
movaps xmm0, xmmword [0x4c80a0]
sub esp, 0x10
mov ecx, dword [edi + 0x170]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00420730
sub esp, 0x10
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 5
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov ecx, dword [edi + 0x170]
call fcn.004207b0
mov ecx, dword [edi + 0x170]
movaps xmm0, xmmword [0x4c80e0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x170]
movaps xmm0, xmmword [0x4c8010]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0xc0
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x472e0d
mov ecx, eax
call fcn.0040f5a0
mov esi, eax
jmp 0x472e0f
xor esi, esi
push 3
push 0xa1
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f270
push 1
sub esp, 0x10
mov ecx, esi
mov eax, esp
mov dword [eax], 0x18
mov dword [eax + 4], 0
mov dword [eax + 8], 0x24
mov dword [eax + 0xc], 0xc
call fcn.00410080
mov ecx, dword [edi + 0x170]
push esi
push esi
push esi
call fcn.0041f0f0
push 0xc0
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x13
test eax, eax
je 0x472e81
mov ecx, eax
call fcn.0040f5a0
mov esi, eax
jmp 0x472e83
xor esi, esi
push 3
push 0xa1
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f270
push 1
sub esp, 0x10
mov ecx, esi
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0xc
mov dword [eax + 0xc], 0xc
call fcn.00410080
push 0xc0
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x14
test eax, eax
je 0x472ee5
mov ecx, eax
call fcn.0040f5a0
jmp 0x472ee7
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f270
mov ecx, dword [ebp - 0x14]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], 0x18
mov dword [eax + 0xc], 0xc
call fcn.00410080
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0x170]
push eax
push eax
push esi
call fcn.0041f230
push ecx
mov ecx, esp
push 0x4c7f74
call fcn.00404260
mov ecx, dword [edi + 0x170]
call fcn.0041ee20
mov ecx, dword [edi + 0x170]
push 0x999999
call fcn.0041eec0
movaps xmm0, xmmword [0x4c7fe0]
sub esp, 0x10
mov ecx, dword [edi + 0x170]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00420770
mov ecx, dword [edi + 0x170]
push 0xfffffffffffffff2
call fcn.0041eee0
mov ecx, dword [edi + 0x170]
test ecx, ecx
je 0x472fa8
lea eax, [edi + 0x134]
test eax, eax
je 0x472fa8
push eax
push 0x190
call fcn.00401980
push 0x134
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x15
test eax, eax
je 0x472fce
mov ecx, eax
call fcn.00409bd0
mov esi, eax
jmp 0x472fd0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x14c], esi
je 0x472fff
test esi, esi
je 0x472fe9
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x14c]
mov dword [edi + 0x14c], esi
test eax, eax
je 0x472fff
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x14c]
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x14c]
push 1
call fcn.00405f70
mov ecx, dword [edi + 0x14c]
movaps xmm0, xmmword [0x4e1900]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x14c]
movaps xmm0, xmmword [0x4c8020]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
mov ecx, dword [edi + 0x14c]
push 2
call fcn.00405f90
push 0x180
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x16
test eax, eax
je 0x473088
mov ecx, eax
call fcn.00414b60
mov esi, eax
jmp 0x47308a
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x150], esi
je 0x4730b9
test esi, esi
je 0x4730a3
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x150]
mov dword [edi + 0x150], esi
test eax, eax
je 0x4730b9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x150]
push dword [edi + 0x14c]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x150]
push 0
call fcn.00405f70
mov ecx, dword [edi + 0x150]
push 1
call fcn.00405f50
mov ecx, dword [edi + 0x150]
push 1
call fcn.00405f30
push ecx
mov ecx, esp
push 0x4c7f8c
call fcn.00404260
mov ecx, dword [edi + 0x150]
call fcn.004153e0
mov ecx, dword [edi + 0x150]
movaps xmm0, xmmword [0x4c7ff0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
mov ecx, dword [edi + 0x150]
push 2
call fcn.00406f20
mov ecx, dword [edi + 0x150]
push 0x999999
mov eax, dword [ecx]
call dword [eax + 0x130]
push 0x2e8
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x17
test eax, eax
je 0x47316e
mov ecx, eax
call fcn.0040a790
mov esi, eax
jmp 0x473170
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x154], esi
je 0x47319f
test esi, esi
je 0x473189
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x154]
mov dword [edi + 0x154], esi
test eax, eax
je 0x47319f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x154]
push dword [edi + 0x14c]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x154]
push 2
call fcn.00405f70
mov ecx, dword [edi + 0x154]
push 2
call fcn.00406f20
mov ecx, dword [edi + 0x154]
movaps xmm0, xmmword [0x4c8100]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x154]
movaps xmm0, xmmword [0x4c8060]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0x4c7f98
lea ecx, [ebp - 0x10]
call fcn.00404260
mov ecx, dword [edi + 0x154]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 4], 0x18
mov eax, dword [ecx]
call dword [eax + 0x14c]
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47324d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x154]
push 1
call fcn.0040ca20
push 0xc0
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x19
test eax, eax
je 0x473280
mov ecx, eax
call fcn.0040f5a0
mov esi, eax
jmp 0x473282
xor esi, esi
push 3
push 0x8c
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f270
push 2
mov ecx, esi
call fcn.00410070
movaps xmm0, xmmword [0x4c80d0]
sub esp, 0x10
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
call fcn.004101c0
mov ecx, dword [edi + 0x154]
push esi
call fcn.0040afa0
mov ecx, dword [edi + 0x154]
push esi
call fcn.0040af60
mov ecx, dword [edi + 0x154]
push esi
call fcn.0040c540
mov ecx, dword [edi + 0x154]
push esi
call fcn.0040af20
mov ecx, dword [edi + 0x154]
xor eax, eax
cmp dword [0x4f90a0], eax
sete al
mov edx, dword [ecx]
push eax
call dword [edx + 0xf4]
mov ecx, dword [edi + 0x154]
test ecx, ecx
je 0x47331c
lea eax, [edi + 0x134]
test eax, eax
je 0x47331c
push eax
push 0
call fcn.00401980
push 0x134
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1a
test eax, eax
je 0x473342
mov ecx, eax
call fcn.00409bd0
mov esi, eax
jmp 0x473344
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x158], esi
je 0x473373
test esi, esi
je 0x47335d
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x158]
mov dword [edi + 0x158], esi
test eax, eax
je 0x473373
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x158]
push dword [edi + 0x14c]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x158]
push 4
call fcn.00405f70
mov ecx, dword [edi + 0x158]
movaps xmm0, xmmword [0x4e1900]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x158]
movaps xmm0, xmmword [0x4c8070]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0xc0
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1b
test eax, eax
je 0x4733f2
mov ecx, eax
call fcn.0040f5a0
mov esi, eax
jmp 0x4733f4
xor esi, esi
push 3
push 0x8c
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f270
push 2
mov ecx, esi
call fcn.00410070
movaps xmm0, xmmword [0x4c80d0]
sub esp, 0x10
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
call fcn.004101c0
mov ecx, dword [edi + 0x158]
push esi
mov eax, dword [ecx]
call dword [eax + 0xa8]
push 0x198
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1c
test eax, eax
je 0x47345d
mov ecx, eax
call fcn.00420c60
mov esi, eax
jmp 0x47345f
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x15c], esi
je 0x47348e
test esi, esi
je 0x473478
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x15c]
mov dword [edi + 0x15c], esi
test eax, eax
je 0x47348e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x15c]
push 0x800
call fcn.00421470
mov ecx, dword [edi + 0x15c]
push dword [edi + 0x158]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x15c]
push 4
call fcn.00405f70
mov eax, dword [0x4f5094]
cmp eax, 0xffffffff
jne 0x473565
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x4734e7
movaps xmm0, xmmword [0x4c8080]
mov dword [0x4f5094], 1
jmp 0x4734f8
mov dword [0x4f5094], 0
movaps xmm0, xmmword [0x4c8090]
mov ecx, dword [edi + 0x15c]
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push ecx
mov ecx, esp
push str.c:program_file_
call fcn.00404260
mov ecx, dword [edi + 0x15c]
call fcn.00420fd0
mov ecx, dword [edi + 0x15c]
push 0
mov eax, dword [ecx]
call dword [eax + 0xf4]
mov eax, dword [0x4f8fec]
test eax, eax
jne 0x473580
push 0x188
call fcn.00479672
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1d
test eax, eax
je 0x473572
mov ecx, eax
call fcn.0042cc30
jmp 0x473574
test eax, eax
je 0x4734f1
movaps xmm0, xmmword [0x4c8080]
jmp 0x4734f8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4f8fec], eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [eax + 4]
call fcn.004324d0
push ecx
mov esi, esp
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.004043f0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov ecx, dword [edi + 0x15c]
call fcn.00420fd0
mov edi, dword [edi + 0x160]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [edi]
mov ecx, dword [ecx + 0x164]
call fcn.0041ee10
push eax
mov ecx, edi
call dword [esi + 0xf4]
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4735f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret