Function at 0x481380
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d77d3
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x50d108]
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.004061f0
push 0x168
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4813d9
mov ecx, eax
call fcn.00409df0
mov esi, eax
jmp 0x4813db
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.004061d0
push 0x48
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x481444
push 0xf9faf5
mov ecx, eax
call fcn.00414430
mov ecx, eax
jmp 0x481446
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.004061f0
push 0x150
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x48148a
mov ecx, eax
call fcn.004049e0
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x48148f
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x178], ecx
je 0x4814c1
test ecx, ecx
je 0x4814ab
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x178]
mov dword [edi + 0x178], ecx
test eax, eax
je 0x4814c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x178]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x178]
push 1
call fcn.004061d0
mov ecx, dword [edi + 0x178]
movaps xmm0, xmmword [0x4db170]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
push 0xe8
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x48151c
mov ecx, eax
call fcn.0040fb20
mov esi, eax
jmp 0x48151e
xor esi, esi
push 3
push 0xa0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f7f0
mov ecx, dword [edi + 0x178]
push esi
mov eax, dword [ecx]
call dword [eax + 0xa8]
mov ecx, dword [edi + 0x178]
push 1
call fcn.00407150
mov ecx, dword [edi + 0x178]
movaps xmm0, xmmword [0x4db0a0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
mov ecx, dword [edi + 0x178]
push 2
call fcn.004061f0
push 0x168
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x4815a1
mov ecx, eax
call fcn.00409df0
mov esi, eax
jmp 0x4815a3
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.004061d0
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.004061f0
push 0x1c8
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x481642
mov ecx, eax
call fcn.0041ea40
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x481647
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x198], ecx
je 0x481679
test ecx, ecx
je 0x481663
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x198]
mov dword [edi + 0x198], ecx
test eax, eax
je 0x481679
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x198]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x198]
push 0
call fcn.004061d0
movaps xmm0, xmmword [0x4db100]
sub esp, 0x10
mov ecx, dword [edi + 0x198]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00420810
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 + 0x198]
call fcn.004208b0
mov ecx, dword [edi + 0x198]
movaps xmm0, xmmword [0x4db150]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x198]
movaps xmm0, xmmword [0x4db060]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0xe8
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x481736
mov ecx, eax
call fcn.0040fb20
jmp 0x481738
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f7f0
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.00410690
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x198]
push eax
push eax
push eax
call fcn.0041f1f0
push 0xe8
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x4817af
mov ecx, eax
call fcn.0040fb20
jmp 0x4817b1
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f7f0
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.00410690
push 0xe8
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 8
test eax, eax
je 0x481817
mov ecx, eax
call fcn.0040fb20
jmp 0x481819
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f7f0
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.00410690
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x198]
push eax
push eax
push dword [ebp - 0x14]
call fcn.0041f330
push ecx
mov ecx, esp
push 0x4daf98
call fcn.004043c0
mov ecx, dword [edi + 0x198]
call fcn.0041ef30
mov ecx, dword [edi + 0x198]
push 0x6d615a
call fcn.0041efd0
movaps xmm0, xmmword [0x4db040]
sub esp, 0x10
mov ecx, dword [edi + 0x198]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00420850
mov ecx, dword [edi + 0x198]
push 0xfffffffffffffff1
call fcn.0041eff0
mov ecx, dword [edi + 0x198]
push 2
call fcn.00407150
mov ecx, dword [edi + 0x198]
push 1
call fcn.0041ee80
mov ecx, dword [edi + 0x198]
test ecx, ecx
je 0x4818f6
lea eax, [edi + 0x168]
test eax, eax
je 0x4818f6
push eax
push 0x190
call fcn.00401ad0
push 0x1b0
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 9
test eax, eax
je 0x48191f
mov ecx, eax
call fcn.00415170
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x481924
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x19c], ecx
je 0x481956
test ecx, ecx
je 0x481940
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x19c]
mov dword [edi + 0x19c], ecx
test eax, eax
je 0x481956
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x19c]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x19c]
push 0
call fcn.004061d0
mov ecx, dword [edi + 0x19c]
push 1
call fcn.004061b0
mov ecx, dword [edi + 0x19c]
push 1
call fcn.00406190
push ecx
mov ecx, esp
push 0x4dafb4
call fcn.004043c0
mov ecx, dword [edi + 0x19c]
call fcn.004158c0
mov ecx, dword [edi + 0x19c]
push 2
call fcn.00407150
mov ecx, dword [edi + 0x19c]
push 0x666666
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, dword [edi + 0x19c]
push 1
call fcn.00417440
mov ecx, dword [edi + 0x19c]
push 0xfffffffffffffff1
call fcn.00416670
mov ecx, dword [edi + 0x19c]
push 1
call fcn.00406340
mov ecx, dword [edi + 0x19c]
test ecx, ecx
je 0x481a07
lea eax, [edi + 0x168]
test eax, eax
je 0x481a07
push eax
push 0x384
call fcn.00401ad0
push 0x320
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x481a2d
mov ecx, eax
call fcn.0040a9b0
mov esi, eax
jmp 0x481a2f
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x194], esi
je 0x481a5e
test esi, esi
je 0x481a48
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x194]
mov dword [edi + 0x194], esi
test eax, eax
je 0x481a5e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x194]
push edi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x194]
push 1
call fcn.004061d0
mov ecx, dword [edi + 0x194]
push 1
call fcn.00407150
mov ecx, dword [edi + 0x194]
movaps xmm0, xmmword [0x4da9d0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x194]
movaps xmm0, xmmword [0x4db090]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0x4dafc0
lea ecx, [ebp - 0x14]
call fcn.004043c0
mov ecx, dword [edi + 0x194]
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 4], 0xb
mov eax, dword [ecx]
call dword [eax + 0x150]
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 0x481b07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x194]
push 0xffffff
call fcn.0040c990
mov ecx, dword [edi + 0x194]
push 1
call fcn.0040cf60
mov ecx, dword [edi + 0x194]
push 0xffffffffffffffec
call fcn.0040f130
movaps xmm0, xmmword [0x4db120]
sub esp, 0x10
mov ecx, dword [edi + 0x194]
mov eax, esp
push 3
push 0xa2
movups xmmword [eax], xmm0
call fcn.0040eda0
mov ecx, dword [edi + 0x194]
test ecx, ecx
je 0x481b6e
lea eax, [edi + 0x168]
test eax, eax
je 0x481b6e
push eax
push 0
call fcn.00401ad0
push 0x168
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xc
test eax, eax
je 0x481b94
mov ecx, eax
call fcn.00409df0
mov esi, eax
jmp 0x481b96
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.004061d0
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.004061f0
push 0x320
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xd
test eax, eax
je 0x481c35
mov ecx, eax
call fcn.0040a9b0
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x481c3a
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x1a0], ecx
je 0x481c6c
test ecx, ecx
je 0x481c56
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x1a0]
mov dword [edi + 0x1a0], ecx
test eax, eax
je 0x481c6c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x1a0]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x1a0]
push 2
call fcn.004061d0
mov ecx, dword [edi + 0x1a0]
push 2
call fcn.00407150
mov ecx, dword [edi + 0x1a0]
movaps xmm0, xmmword [0x4db110]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x1a0]
xorps xmm0, xmm0
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0x4dafcc
lea ecx, [ebp - 0x14]
call fcn.004043c0
mov ecx, dword [edi + 0x1a0]
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 4], 0xe
mov eax, dword [ecx]
call dword [eax + 0x150]
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 0x481d11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
movaps xmm0, xmmword [0x4db0b0]
mov ecx, dword [edi + 0x1a0]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0040f260
mov ecx, dword [edi + 0x1a0]
push 0
call fcn.0040f220
mov ecx, dword [edi + 0x1a0]
push 2
call fcn.0040f240
mov ecx, dword [edi + 0x1a0]
push 0x666666
call fcn.0040c990
mov ecx, dword [edi + 0x1a0]
push 1
call fcn.0040cf60
push 0xe8
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xf
test eax, eax
je 0x481d8a
mov ecx, eax
call fcn.0040fb20
mov esi, eax
jmp 0x481d8c
xor esi, esi
push 3
push 0xa3
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f7f0
mov ecx, dword [edi + 0x1a0]
push esi
call fcn.0040cb60
mov ecx, dword [edi + 0x1a0]
test ecx, ecx
je 0x481dc9
lea eax, [edi + 0x168]
test eax, eax
je 0x481dc9
push eax
push 0
call fcn.00401ad0
push 0x168
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x10
test eax, eax
je 0x481df2
mov ecx, eax
call fcn.00409df0
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x481df7
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.004061d0
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 0x1c8
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x11
test eax, eax
je 0x481e5e
mov ecx, eax
call fcn.0041ea40
mov esi, eax
jmp 0x481e60
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x1a4], esi
je 0x481e8f
test esi, esi
je 0x481e79
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x1a4]
mov dword [edi + 0x1a4], esi
test eax, eax
je 0x481e8f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x1a4]
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x1a4]
push 1
call fcn.0041eed0
mov ecx, dword [edi + 0x1a4]
push 1
call fcn.004061d0
movaps xmm0, xmmword [0x4db100]
sub esp, 0x10
mov ecx, dword [edi + 0x1a4]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00420810
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 + 0x1a4]
call fcn.004208b0
mov ecx, dword [edi + 0x1a4]
movaps xmm0, xmmword [0x4db140]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x1a4]
movaps xmm0, xmmword [0x4db070]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0xe8
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x481f5d
mov ecx, eax
call fcn.0040fb20
mov esi, eax
jmp 0x481f5f
xor esi, esi
push 3
push 0xa1
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f7f0
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.00410690
mov ecx, dword [edi + 0x1a4]
push esi
push esi
push esi
call fcn.0041f1f0
push 0xe8
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x13
test eax, eax
je 0x481fd1
mov ecx, eax
call fcn.0040fb20
mov esi, eax
jmp 0x481fd3
xor esi, esi
push 3
push 0xa1
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f7f0
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.00410690
push 0xe8
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x14
test eax, eax
je 0x482035
mov ecx, eax
call fcn.0040fb20
jmp 0x482037
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f7f0
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.00410690
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0x1a4]
push eax
push eax
push esi
call fcn.0041f330
push ecx
mov ecx, esp
push 0x4dafd8
call fcn.004043c0
mov ecx, dword [edi + 0x1a4]
call fcn.0041ef30
mov ecx, dword [edi + 0x1a4]
push 0x999999
call fcn.0041efd0
movaps xmm0, xmmword [0x4db040]
sub esp, 0x10
mov ecx, dword [edi + 0x1a4]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00420850
mov ecx, dword [edi + 0x1a4]
push 0xfffffffffffffff2
call fcn.0041eff0
mov ecx, dword [edi + 0x1a4]
test ecx, ecx
je 0x4820f8
lea eax, [edi + 0x168]
test eax, eax
je 0x4820f8
push eax
push 0x190
call fcn.00401ad0
push 0x168
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x15
test eax, eax
je 0x48211e
mov ecx, eax
call fcn.00409df0
mov esi, eax
jmp 0x482120
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x180], esi
je 0x48214f
test esi, esi
je 0x482139
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x180]
mov dword [edi + 0x180], esi
test eax, eax
je 0x48214f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x180]
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x180]
push 1
call fcn.004061d0
mov ecx, dword [edi + 0x180]
movaps xmm0, xmmword [0x4f80b0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x180]
movaps xmm0, xmmword [0x4db080]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
mov ecx, dword [edi + 0x180]
push 2
call fcn.004061f0
push 0x1b0
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x16
test eax, eax
je 0x4821d8
mov ecx, eax
call fcn.00415170
mov esi, eax
jmp 0x4821da
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x184], esi
je 0x482209
test esi, esi
je 0x4821f3
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x184]
mov dword [edi + 0x184], esi
test eax, eax
je 0x482209
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x184]
push dword [edi + 0x180]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x184]
push 0
call fcn.004061d0
mov ecx, dword [edi + 0x184]
push 1
call fcn.004061b0
mov ecx, dword [edi + 0x184]
push 1
call fcn.00406190
push ecx
mov ecx, esp
push 0x4daff0
call fcn.004043c0
mov ecx, dword [edi + 0x184]
call fcn.004158c0
mov ecx, dword [edi + 0x184]
movaps xmm0, xmmword [0x4db050]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
mov ecx, dword [edi + 0x184]
push 2
call fcn.00407150
mov ecx, dword [edi + 0x184]
push 0x999999
mov eax, dword [ecx]
call dword [eax + 0x134]
push 0x320
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x17
test eax, eax
je 0x4822be
mov ecx, eax
call fcn.0040a9b0
mov esi, eax
jmp 0x4822c0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x188], esi
je 0x4822ef
test esi, esi
je 0x4822d9
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x188]
mov dword [edi + 0x188], esi
test eax, eax
je 0x4822ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x188]
push dword [edi + 0x180]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x188]
push 2
call fcn.004061d0
mov ecx, dword [edi + 0x188]
push 2
call fcn.00407150
mov ecx, dword [edi + 0x188]
movaps xmm0, xmmword [0x4db160]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x188]
movaps xmm0, xmmword [0x4db0c0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0x4daffc
lea ecx, [ebp - 0x10]
call fcn.004043c0
mov ecx, dword [edi + 0x188]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 4], 0x18
mov eax, dword [ecx]
call dword [eax + 0x150]
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 0x48239d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x188]
push 1
call fcn.0040cf60
push 0xe8
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x19
test eax, eax
je 0x4823d0
mov ecx, eax
call fcn.0040fb20
mov esi, eax
jmp 0x4823d2
xor esi, esi
push 3
push 0x8c
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f7f0
push 2
mov ecx, esi
call fcn.00410680
movaps xmm0, xmmword [0x4db130]
sub esp, 0x10
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
call fcn.004107d0
mov ecx, dword [edi + 0x188]
push esi
call fcn.0040b200
mov ecx, dword [edi + 0x188]
push esi
call fcn.0040b1c0
mov ecx, dword [edi + 0x188]
push esi
call fcn.0040ca10
mov ecx, dword [edi + 0x188]
push esi
call fcn.0040b180
mov ecx, dword [edi + 0x188]
xor eax, eax
cmp dword [0x5114c0], eax
sete al
mov edx, dword [ecx]
push eax
call dword [edx + 0xf8]
mov ecx, dword [edi + 0x188]
test ecx, ecx
je 0x48246c
lea eax, [edi + 0x168]
test eax, eax
je 0x48246c
push eax
push 0
call fcn.00401ad0
push 0x168
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1a
test eax, eax
je 0x482492
mov ecx, eax
call fcn.00409df0
mov esi, eax
jmp 0x482494
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x18c], esi
je 0x4824c3
test esi, esi
je 0x4824ad
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x18c]
mov dword [edi + 0x18c], esi
test eax, eax
je 0x4824c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x18c]
push dword [edi + 0x180]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x18c]
push 4
call fcn.004061d0
mov ecx, dword [edi + 0x18c]
movaps xmm0, xmmword [0x4f80b0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x18c]
movaps xmm0, xmmword [0x4db0d0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0xe8
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1b
test eax, eax
je 0x482542
mov ecx, eax
call fcn.0040fb20
mov esi, eax
jmp 0x482544
xor esi, esi
push 3
push 0x8c
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f7f0
push 2
mov ecx, esi
call fcn.00410680
movaps xmm0, xmmword [0x4db130]
sub esp, 0x10
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
call fcn.004107d0
mov ecx, dword [edi + 0x18c]
push esi
mov eax, dword [ecx]
call dword [eax + 0xa8]
push 0x1e0
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1c
test eax, eax
je 0x4825ad
mov ecx, eax
call fcn.00420dc0
mov esi, eax
jmp 0x4825af
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x190], esi
je 0x4825de
test esi, esi
je 0x4825c8
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x190]
mov dword [edi + 0x190], esi
test eax, eax
je 0x4825de
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x190]
push 0x800
call fcn.004218f0
mov ecx, dword [edi + 0x190]
push dword [edi + 0x18c]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x190]
push 4
call fcn.004061d0
mov eax, dword [0x50d094]
cmp eax, 0xffffffff
jne 0x4826b5
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x482637
movaps xmm0, xmmword [0x4db0e0]
mov dword [0x50d094], 1
jmp 0x482648
mov dword [0x50d094], 0
movaps xmm0, xmmword [0x4db0f0]
mov ecx, dword [edi + 0x190]
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.004043c0
mov ecx, dword [edi + 0x190]
call fcn.004211d0
mov ecx, dword [edi + 0x190]
push 0
mov eax, dword [ecx]
call dword [eax + 0xf8]
mov eax, dword [0x51140c]
test eax, eax
jne 0x4826d0
push 0x18c
call fcn.0048a019
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1d
test eax, eax
je 0x4826c2
mov ecx, eax
call fcn.0042df30
jmp 0x4826c4
test eax, eax
je 0x482641
movaps xmm0, xmmword [0x4db0e0]
jmp 0x482648
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x51140c], eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [eax + 4]
call fcn.00434910
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.00404550
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov ecx, dword [edi + 0x190]
call fcn.004211d0
mov edi, dword [edi + 0x194]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [edi]
mov ecx, dword [ecx + 0x198]
call fcn.0041ef20
push eax
mov ecx, edi
call dword [esi + 0xf8]
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 0x482749
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