Function at 0x4857c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc605
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x516108]
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.004062a0
push 0x168
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x485819
mov ecx, eax
call fcn.00409ea0
mov esi, eax
jmp 0x48581b
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.00406280
push 0x48
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x485884
push 0xf9faf5
mov ecx, eax
call fcn.00414500
mov ecx, eax
jmp 0x485886
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.004062a0
push 0x150
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4858ca
mov ecx, eax
call fcn.00404a90
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x4858cf
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x178], ecx
je 0x485901
test ecx, ecx
je 0x4858eb
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 0x485901
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.00406280
mov ecx, dword [edi + 0x178]
movaps xmm0, xmmword [0x4e0170]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
push 0xe8
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x48595c
mov ecx, eax
call fcn.0040fbf0
mov esi, eax
jmp 0x48595e
xor esi, esi
push 3
push 0xa0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f8c0
mov ecx, dword [edi + 0x178]
push esi
mov eax, dword [ecx]
call dword [eax + 0xa8]
mov ecx, dword [edi + 0x178]
push 1
call fcn.00407200
mov ecx, dword [edi + 0x178]
movaps xmm0, xmmword [0x4e00a0]
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.004062a0
push 0x168
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x4859e1
mov ecx, eax
call fcn.00409ea0
mov esi, eax
jmp 0x4859e3
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.00406280
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.004062a0
push 0x1c8
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x485a82
mov ecx, eax
call fcn.0041eb10
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x485a87
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x198], ecx
je 0x485ab9
test ecx, ecx
je 0x485aa3
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 0x485ab9
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.00406280
movaps xmm0, xmmword [0x4e0100]
sub esp, 0x10
mov ecx, dword [edi + 0x198]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.004208e0
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.00420980
mov ecx, dword [edi + 0x198]
movaps xmm0, xmmword [0x4e0150]
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 [0x4e0060]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0xe8
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x485b76
mov ecx, eax
call fcn.0040fbf0
jmp 0x485b78
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f8c0
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.00410760
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x198]
push eax
push eax
push eax
call fcn.0041f2c0
push 0xe8
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x485bef
mov ecx, eax
call fcn.0040fbf0
jmp 0x485bf1
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f8c0
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.00410760
push 0xe8
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 8
test eax, eax
je 0x485c57
mov ecx, eax
call fcn.0040fbf0
jmp 0x485c59
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f8c0
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.00410760
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x198]
push eax
push eax
push dword [ebp - 0x14]
call fcn.0041f400
push ecx
mov ecx, esp
push 0x4dff98
call fcn.00404470
mov ecx, dword [edi + 0x198]
call fcn.0041f000
mov ecx, dword [edi + 0x198]
push 0x6d615a
call fcn.0041f0a0
movaps xmm0, xmmword [0x4e0040]
sub esp, 0x10
mov ecx, dword [edi + 0x198]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00420920
mov ecx, dword [edi + 0x198]
push 0xfffffffffffffff1
call fcn.0041f0c0
mov ecx, dword [edi + 0x198]
push 2
call fcn.00407200
mov ecx, dword [edi + 0x198]
push 1
call fcn.0041ef50
mov ecx, dword [edi + 0x198]
test ecx, ecx
je 0x485d36
lea eax, [edi + 0x168]
test eax, eax
je 0x485d36
push eax
push 0x190
call fcn.00401b90
push 0x1b0
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 9
test eax, eax
je 0x485d5f
mov ecx, eax
call fcn.00415240
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x485d64
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x19c], ecx
je 0x485d96
test ecx, ecx
je 0x485d80
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 0x485d96
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.00406280
mov ecx, dword [edi + 0x19c]
push 1
call fcn.00406260
mov ecx, dword [edi + 0x19c]
push 1
call fcn.00406240
push ecx
mov ecx, esp
push 0x4dffb4
call fcn.00404470
mov ecx, dword [edi + 0x19c]
call fcn.00415990
mov ecx, dword [edi + 0x19c]
push 2
call fcn.00407200
mov ecx, dword [edi + 0x19c]
push 0x666666
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, dword [edi + 0x19c]
push 1
call fcn.00417510
mov ecx, dword [edi + 0x19c]
push 0xfffffffffffffff1
call fcn.00416740
mov ecx, dword [edi + 0x19c]
push 1
call fcn.004063f0
mov ecx, dword [edi + 0x19c]
test ecx, ecx
je 0x485e47
lea eax, [edi + 0x168]
test eax, eax
je 0x485e47
push eax
push 0x384
call fcn.00401b90
push 0x320
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x485e6d
mov ecx, eax
call fcn.0040aa60
mov esi, eax
jmp 0x485e6f
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x194], esi
je 0x485e9e
test esi, esi
je 0x485e88
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x194]
mov dword [edi + 0x194], esi
test eax, eax
je 0x485e9e
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.00406280
mov ecx, dword [edi + 0x194]
push 1
call fcn.00407200
mov ecx, dword [edi + 0x194]
movaps xmm0, xmmword [0x4df9d0]
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 [0x4e0090]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0x4dffc0
lea ecx, [ebp - 0x14]
call fcn.00404470
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 0x485f47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x194]
push 0xffffff
call fcn.0040ca40
mov ecx, dword [edi + 0x194]
push 1
call fcn.0040d020
mov ecx, dword [edi + 0x194]
push 0xffffffffffffffec
call fcn.0040f200
movaps xmm0, xmmword [0x4e0120]
sub esp, 0x10
mov ecx, dword [edi + 0x194]
mov eax, esp
push 3
push 0xa2
movups xmmword [eax], xmm0
call fcn.0040ee70
mov ecx, dword [edi + 0x194]
test ecx, ecx
je 0x485fae
lea eax, [edi + 0x168]
test eax, eax
je 0x485fae
push eax
push 0
call fcn.00401b90
push 0x168
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xc
test eax, eax
je 0x485fd4
mov ecx, eax
call fcn.00409ea0
mov esi, eax
jmp 0x485fd6
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.00406280
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.004062a0
push 0x320
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xd
test eax, eax
je 0x486075
mov ecx, eax
call fcn.0040aa60
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x48607a
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x1a0], ecx
je 0x4860ac
test ecx, ecx
je 0x486096
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 0x4860ac
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.00406280
mov ecx, dword [edi + 0x1a0]
push 2
call fcn.00407200
mov ecx, dword [edi + 0x1a0]
movaps xmm0, xmmword [0x4e0110]
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 0x4dffcc
lea ecx, [ebp - 0x14]
call fcn.00404470
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 0x486151
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
movaps xmm0, xmmword [0x4e00b0]
mov ecx, dword [edi + 0x1a0]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0040f330
mov ecx, dword [edi + 0x1a0]
push 0
call fcn.0040f2f0
mov ecx, dword [edi + 0x1a0]
push 2
call fcn.0040f310
mov ecx, dword [edi + 0x1a0]
push 0x666666
call fcn.0040ca40
mov ecx, dword [edi + 0x1a0]
push 1
call fcn.0040d020
push 0xe8
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xf
test eax, eax
je 0x4861ca
mov ecx, eax
call fcn.0040fbf0
mov esi, eax
jmp 0x4861cc
xor esi, esi
push 3
push 0xa3
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f8c0
mov ecx, dword [edi + 0x1a0]
push 1
push esi
call fcn.0040cc10
mov ecx, dword [edi + 0x1a0]
test ecx, ecx
je 0x48620b
lea eax, [edi + 0x168]
test eax, eax
je 0x48620b
push eax
push 0
call fcn.00401b90
push 0x168
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x10
test eax, eax
je 0x486234
mov ecx, eax
call fcn.00409ea0
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x486239
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.00406280
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.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x11
test eax, eax
je 0x4862a0
mov ecx, eax
call fcn.0041eb10
mov esi, eax
jmp 0x4862a2
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x1a4], esi
je 0x4862d1
test esi, esi
je 0x4862bb
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x1a4]
mov dword [edi + 0x1a4], esi
test eax, eax
je 0x4862d1
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.0041efa0
mov ecx, dword [edi + 0x1a4]
push 1
call fcn.00406280
movaps xmm0, xmmword [0x4e0100]
sub esp, 0x10
mov ecx, dword [edi + 0x1a4]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.004208e0
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.00420980
mov ecx, dword [edi + 0x1a4]
movaps xmm0, xmmword [0x4e0140]
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 [0x4e0070]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0xe8
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x48639f
mov ecx, eax
call fcn.0040fbf0
mov esi, eax
jmp 0x4863a1
xor esi, esi
push 3
push 0xa1
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f8c0
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.00410760
mov ecx, dword [edi + 0x1a4]
push esi
push esi
push esi
call fcn.0041f2c0
push 0xe8
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x13
test eax, eax
je 0x486413
mov ecx, eax
call fcn.0040fbf0
mov esi, eax
jmp 0x486415
xor esi, esi
push 3
push 0xa1
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f8c0
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.00410760
push 0xe8
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x14
test eax, eax
je 0x486477
mov ecx, eax
call fcn.0040fbf0
jmp 0x486479
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f8c0
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.00410760
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0x1a4]
push eax
push eax
push esi
call fcn.0041f400
push ecx
mov ecx, esp
push 0x4dffd8
call fcn.00404470
mov ecx, dword [edi + 0x1a4]
call fcn.0041f000
mov ecx, dword [edi + 0x1a4]
push 0x999999
call fcn.0041f0a0
movaps xmm0, xmmword [0x4e0040]
sub esp, 0x10
mov ecx, dword [edi + 0x1a4]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00420920
mov ecx, dword [edi + 0x1a4]
push 0xfffffffffffffff2
call fcn.0041f0c0
mov ecx, dword [edi + 0x1a4]
test ecx, ecx
je 0x48653a
lea eax, [edi + 0x168]
test eax, eax
je 0x48653a
push eax
push 0x190
call fcn.00401b90
push 0x168
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x15
test eax, eax
je 0x486560
mov ecx, eax
call fcn.00409ea0
mov esi, eax
jmp 0x486562
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x180], esi
je 0x486591
test esi, esi
je 0x48657b
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x180]
mov dword [edi + 0x180], esi
test eax, eax
je 0x486591
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.00406280
mov ecx, dword [edi + 0x180]
movaps xmm0, xmmword [0x500cb0]
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 [0x4e0080]
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.004062a0
push 0x1b0
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x16
test eax, eax
je 0x48661a
mov ecx, eax
call fcn.00415240
mov esi, eax
jmp 0x48661c
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x184], esi
je 0x48664b
test esi, esi
je 0x486635
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x184]
mov dword [edi + 0x184], esi
test eax, eax
je 0x48664b
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.00406280
mov ecx, dword [edi + 0x184]
push 1
call fcn.00406260
mov ecx, dword [edi + 0x184]
push 1
call fcn.00406240
push ecx
mov ecx, esp
push 0x4dfff0
call fcn.00404470
mov ecx, dword [edi + 0x184]
call fcn.00415990
mov ecx, dword [edi + 0x184]
movaps xmm0, xmmword [0x4e0050]
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.00407200
mov ecx, dword [edi + 0x184]
push 0x999999
mov eax, dword [ecx]
call dword [eax + 0x134]
push 0x320
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x17
test eax, eax
je 0x486700
mov ecx, eax
call fcn.0040aa60
mov esi, eax
jmp 0x486702
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x188], esi
je 0x486731
test esi, esi
je 0x48671b
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x188]
mov dword [edi + 0x188], esi
test eax, eax
je 0x486731
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.00406280
mov ecx, dword [edi + 0x188]
push 2
call fcn.00407200
mov ecx, dword [edi + 0x188]
movaps xmm0, xmmword [0x4e0160]
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 [0x4e00c0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0x4dfffc
lea ecx, [ebp - 0x10]
call fcn.00404470
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 0x4867df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x188]
push 1
call fcn.0040d020
push 0xe8
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x19
test eax, eax
je 0x486812
mov ecx, eax
call fcn.0040fbf0
mov esi, eax
jmp 0x486814
xor esi, esi
push 3
push 0x8c
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f8c0
push 2
mov ecx, esi
call fcn.00410750
movaps xmm0, xmmword [0x4e0130]
sub esp, 0x10
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
call fcn.004108a0
mov ecx, dword [edi + 0x188]
push esi
call fcn.0040b2b0
mov ecx, dword [edi + 0x188]
push esi
call fcn.0040b270
mov ecx, dword [edi + 0x188]
push esi
call fcn.0040cac0
mov ecx, dword [edi + 0x188]
push esi
call fcn.0040b230
mov ecx, dword [edi + 0x188]
xor eax, eax
cmp dword [0x51a728], eax
sete al
mov edx, dword [ecx]
push eax
call dword [edx + 0xf8]
mov ecx, dword [edi + 0x188]
test ecx, ecx
je 0x4868ae
lea eax, [edi + 0x168]
test eax, eax
je 0x4868ae
push eax
push 0
call fcn.00401b90
push 0x168
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1a
test eax, eax
je 0x4868d4
mov ecx, eax
call fcn.00409ea0
mov esi, eax
jmp 0x4868d6
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x18c], esi
je 0x486905
test esi, esi
je 0x4868ef
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x18c]
mov dword [edi + 0x18c], esi
test eax, eax
je 0x486905
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.00406280
mov ecx, dword [edi + 0x18c]
movaps xmm0, xmmword [0x500cb0]
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 [0x4e00d0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0xe8
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1b
test eax, eax
je 0x486984
mov ecx, eax
call fcn.0040fbf0
mov esi, eax
jmp 0x486986
xor esi, esi
push 3
push 0x8c
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f8c0
push 2
mov ecx, esi
call fcn.00410750
movaps xmm0, xmmword [0x4e0130]
sub esp, 0x10
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
call fcn.004108a0
mov ecx, dword [edi + 0x18c]
push esi
mov eax, dword [ecx]
call dword [eax + 0xa8]
push 0x1e0
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1c
test eax, eax
je 0x4869ef
mov ecx, eax
call fcn.00420e90
mov esi, eax
jmp 0x4869f1
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x190], esi
je 0x486a20
test esi, esi
je 0x486a0a
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x190]
mov dword [edi + 0x190], esi
test eax, eax
je 0x486a20
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x190]
push 0x800
call fcn.004219c0
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.00406280
mov eax, dword [0x516094]
cmp eax, 0xffffffff
jne 0x486af7
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x486a79
movaps xmm0, xmmword [0x4e00e0]
mov dword [0x516094], 1
jmp 0x486a8a
mov dword [0x516094], 0
movaps xmm0, xmmword [0x4e00f0]
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.00404470
mov ecx, dword [edi + 0x190]
call fcn.004212a0
mov ecx, dword [edi + 0x190]
push 0
mov eax, dword [ecx]
call dword [eax + 0xf8]
mov eax, dword [0x51a66c]
test eax, eax
jne 0x486b12
push 0x18c
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1d
test eax, eax
je 0x486b04
mov ecx, eax
call fcn.0042e130
jmp 0x486b06
test eax, eax
je 0x486a83
movaps xmm0, xmmword [0x4e00e0]
jmp 0x486a8a
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x51a66c], eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [eax + 4]
call fcn.00435190
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.00404600
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov ecx, dword [edi + 0x190]
call fcn.004212a0
mov eax, dword [0x51a66c]
test eax, eax
jne 0x486b7f
push 0x18c
call fcn.0048e442
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x486b74
mov ecx, eax
call fcn.0042e130
jmp 0x486b76
xor eax, eax
mov byte [ebp - 4], 0x1e
mov dword [0x51a66c], eax
mov ecx, eax
call fcn.00430f90
mov edi, dword [edi + 0x194]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [edi]
mov ecx, dword [ecx + 0x198]
call fcn.0041eff0
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 0x486bc7
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