Function at 0x47f310
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3b73
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x508108]
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.004060b0
push 0x168
call fcn.00487270
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x47f369
mov ecx, eax
call fcn.00409cb0
mov esi, eax
jmp 0x47f36b
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.00406090
push 0x48
call fcn.00487270
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x47f3d4
push 0xf9faf5
mov ecx, eax
call fcn.004142b0
mov ecx, eax
jmp 0x47f3d6
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.004060b0
push 0x150
call fcn.00487270
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x47f41a
mov ecx, eax
call fcn.004048a0
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x47f41f
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x178], ecx
je 0x47f451
test ecx, ecx
je 0x47f43b
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 0x47f451
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.00406090
mov ecx, dword [edi + 0x178]
movaps xmm0, xmmword [0x4d7120]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
push 0xe8
call fcn.00487270
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x47f4ac
mov ecx, eax
call fcn.0040f990
mov esi, eax
jmp 0x47f4ae
xor esi, esi
push 3
push 0xa0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f660
mov ecx, dword [edi + 0x178]
push esi
mov eax, dword [ecx]
call dword [eax + 0xa8]
mov ecx, dword [edi + 0x178]
push 1
call fcn.00407010
mov ecx, dword [edi + 0x178]
movaps xmm0, xmmword [0x4d7050]
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.004060b0
push 0x168
call fcn.00487270
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x47f531
mov ecx, eax
call fcn.00409cb0
mov esi, eax
jmp 0x47f533
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.00406090
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.004060b0
push 0x1c8
call fcn.00487270
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x47f5d2
mov ecx, eax
call fcn.0041e8d0
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x47f5d7
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x198], ecx
je 0x47f609
test ecx, ecx
je 0x47f5f3
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 0x47f609
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.00406090
movaps xmm0, xmmword [0x4d70b0]
sub esp, 0x10
mov ecx, dword [edi + 0x198]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.004206a0
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.00420740
mov ecx, dword [edi + 0x198]
movaps xmm0, xmmword [0x4d7100]
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 [0x4d7010]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0xe8
call fcn.00487270
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x47f6c6
mov ecx, eax
call fcn.0040f990
jmp 0x47f6c8
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f660
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.00410500
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x198]
push eax
push eax
push eax
call fcn.0041f080
push 0xe8
call fcn.00487270
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x47f73f
mov ecx, eax
call fcn.0040f990
jmp 0x47f741
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f660
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.00410500
push 0xe8
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 8
test eax, eax
je 0x47f7a7
mov ecx, eax
call fcn.0040f990
jmp 0x47f7a9
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f660
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.00410500
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x198]
push eax
push eax
push dword [ebp - 0x14]
call fcn.0041f1c0
push ecx
mov ecx, esp
push 0x4d6f48
call fcn.00404280
mov ecx, dword [edi + 0x198]
call fcn.0041edc0
mov ecx, dword [edi + 0x198]
push 0x6d615a
call fcn.0041ee60
movaps xmm0, xmmword [0x4d6ff0]
sub esp, 0x10
mov ecx, dword [edi + 0x198]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.004206e0
mov ecx, dword [edi + 0x198]
push 0xfffffffffffffff1
call fcn.0041ee80
mov ecx, dword [edi + 0x198]
push 2
call fcn.00407010
mov ecx, dword [edi + 0x198]
push 1
call fcn.0041ed10
mov ecx, dword [edi + 0x198]
test ecx, ecx
je 0x47f886
lea eax, [edi + 0x168]
test eax, eax
je 0x47f886
push eax
push 0x190
call fcn.004019a0
push 0x1b0
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 9
test eax, eax
je 0x47f8af
mov ecx, eax
call fcn.00414ff0
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x47f8b4
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x19c], ecx
je 0x47f8e6
test ecx, ecx
je 0x47f8d0
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 0x47f8e6
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.00406090
mov ecx, dword [edi + 0x19c]
push 1
call fcn.00406070
mov ecx, dword [edi + 0x19c]
push 1
call fcn.00406050
push ecx
mov ecx, esp
push 0x4d6f64
call fcn.00404280
mov ecx, dword [edi + 0x19c]
call fcn.00415740
mov ecx, dword [edi + 0x19c]
push 2
call fcn.00407010
mov ecx, dword [edi + 0x19c]
push 0x666666
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, dword [edi + 0x19c]
push 1
call fcn.004172c0
mov ecx, dword [edi + 0x19c]
push 0xfffffffffffffff1
call fcn.004164f0
mov ecx, dword [edi + 0x19c]
push 1
call fcn.00406200
mov ecx, dword [edi + 0x19c]
test ecx, ecx
je 0x47f997
lea eax, [edi + 0x168]
test eax, eax
je 0x47f997
push eax
push 0x384
call fcn.004019a0
push 0x320
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x47f9bd
mov ecx, eax
call fcn.0040a870
mov esi, eax
jmp 0x47f9bf
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x194], esi
je 0x47f9ee
test esi, esi
je 0x47f9d8
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x194]
mov dword [edi + 0x194], esi
test eax, eax
je 0x47f9ee
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.00406090
mov ecx, dword [edi + 0x194]
push 1
call fcn.00407010
mov ecx, dword [edi + 0x194]
movaps xmm0, xmmword [0x4d6980]
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 [0x4d7040]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0x4d6f70
lea ecx, [ebp - 0x14]
call fcn.00404280
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 0x47fa97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x194]
push 0xffffff
call fcn.0040c810
mov ecx, dword [edi + 0x194]
push 1
call fcn.0040cde0
mov ecx, dword [edi + 0x194]
push 0xffffffffffffffec
call fcn.0040efb0
movaps xmm0, xmmword [0x4d70d0]
sub esp, 0x10
mov ecx, dword [edi + 0x194]
mov eax, esp
push 3
push 0xa2
movups xmmword [eax], xmm0
call fcn.0040ec20
mov ecx, dword [edi + 0x194]
test ecx, ecx
je 0x47fafe
lea eax, [edi + 0x168]
test eax, eax
je 0x47fafe
push eax
push 0
call fcn.004019a0
push 0x168
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xc
test eax, eax
je 0x47fb24
mov ecx, eax
call fcn.00409cb0
mov esi, eax
jmp 0x47fb26
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.00406090
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.004060b0
push 0x320
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xd
test eax, eax
je 0x47fbc5
mov ecx, eax
call fcn.0040a870
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x47fbca
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x1a0], ecx
je 0x47fbfc
test ecx, ecx
je 0x47fbe6
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 0x47fbfc
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.00406090
mov ecx, dword [edi + 0x1a0]
push 2
call fcn.00407010
mov ecx, dword [edi + 0x1a0]
movaps xmm0, xmmword [0x4d70c0]
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 0x4d6f7c
lea ecx, [ebp - 0x14]
call fcn.00404280
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 0x47fca1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
movaps xmm0, xmmword [0x4d7060]
mov ecx, dword [edi + 0x1a0]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0040f0e0
mov ecx, dword [edi + 0x1a0]
push 0
call fcn.0040f0a0
mov ecx, dword [edi + 0x1a0]
push 2
call fcn.0040f0c0
mov ecx, dword [edi + 0x1a0]
push 0x666666
call fcn.0040c810
mov ecx, dword [edi + 0x1a0]
push 1
call fcn.0040cde0
push 0xe8
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xf
test eax, eax
je 0x47fd1a
mov ecx, eax
call fcn.0040f990
mov esi, eax
jmp 0x47fd1c
xor esi, esi
push 3
push 0xa3
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f660
mov ecx, dword [edi + 0x1a0]
push esi
call fcn.0040c9e0
mov ecx, dword [edi + 0x1a0]
test ecx, ecx
je 0x47fd59
lea eax, [edi + 0x168]
test eax, eax
je 0x47fd59
push eax
push 0
call fcn.004019a0
push 0x168
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x10
test eax, eax
je 0x47fd82
mov ecx, eax
call fcn.00409cb0
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x47fd87
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.00406090
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.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x11
test eax, eax
je 0x47fdee
mov ecx, eax
call fcn.0041e8d0
mov esi, eax
jmp 0x47fdf0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x1a4], esi
je 0x47fe1f
test esi, esi
je 0x47fe09
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x1a4]
mov dword [edi + 0x1a4], esi
test eax, eax
je 0x47fe1f
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.0041ed60
mov ecx, dword [edi + 0x1a4]
push 1
call fcn.00406090
movaps xmm0, xmmword [0x4d70b0]
sub esp, 0x10
mov ecx, dword [edi + 0x1a4]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.004206a0
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.00420740
mov ecx, dword [edi + 0x1a4]
movaps xmm0, xmmword [0x4d70f0]
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 [0x4d7020]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0xe8
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x47feed
mov ecx, eax
call fcn.0040f990
mov esi, eax
jmp 0x47feef
xor esi, esi
push 3
push 0xa1
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f660
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.00410500
mov ecx, dword [edi + 0x1a4]
push esi
push esi
push esi
call fcn.0041f080
push 0xe8
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x13
test eax, eax
je 0x47ff61
mov ecx, eax
call fcn.0040f990
mov esi, eax
jmp 0x47ff63
xor esi, esi
push 3
push 0xa1
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f660
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.00410500
push 0xe8
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x14
test eax, eax
je 0x47ffc5
mov ecx, eax
call fcn.0040f990
jmp 0x47ffc7
xor eax, eax
push 3
push 0xa1
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f660
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.00410500
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0x1a4]
push eax
push eax
push esi
call fcn.0041f1c0
push ecx
mov ecx, esp
push 0x4d6f88
call fcn.00404280
mov ecx, dword [edi + 0x1a4]
call fcn.0041edc0
mov ecx, dword [edi + 0x1a4]
push 0x999999
call fcn.0041ee60
movaps xmm0, xmmword [0x4d6ff0]
sub esp, 0x10
mov ecx, dword [edi + 0x1a4]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.004206e0
mov ecx, dword [edi + 0x1a4]
push 0xfffffffffffffff2
call fcn.0041ee80
mov ecx, dword [edi + 0x1a4]
test ecx, ecx
je 0x480088
lea eax, [edi + 0x168]
test eax, eax
je 0x480088
push eax
push 0x190
call fcn.004019a0
push 0x168
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x15
test eax, eax
je 0x4800ae
mov ecx, eax
call fcn.00409cb0
mov esi, eax
jmp 0x4800b0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x180], esi
je 0x4800df
test esi, esi
je 0x4800c9
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x180]
mov dword [edi + 0x180], esi
test eax, eax
je 0x4800df
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.00406090
mov ecx, dword [edi + 0x180]
movaps xmm0, xmmword [0x4f36d0]
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 [0x4d7030]
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.004060b0
push 0x1b0
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x16
test eax, eax
je 0x480168
mov ecx, eax
call fcn.00414ff0
mov esi, eax
jmp 0x48016a
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x184], esi
je 0x480199
test esi, esi
je 0x480183
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x184]
mov dword [edi + 0x184], esi
test eax, eax
je 0x480199
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.00406090
mov ecx, dword [edi + 0x184]
push 1
call fcn.00406070
mov ecx, dword [edi + 0x184]
push 1
call fcn.00406050
push ecx
mov ecx, esp
push 0x4d6fa0
call fcn.00404280
mov ecx, dword [edi + 0x184]
call fcn.00415740
mov ecx, dword [edi + 0x184]
movaps xmm0, xmmword [0x4d7000]
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.00407010
mov ecx, dword [edi + 0x184]
push 0x999999
mov eax, dword [ecx]
call dword [eax + 0x134]
push 0x320
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x17
test eax, eax
je 0x48024e
mov ecx, eax
call fcn.0040a870
mov esi, eax
jmp 0x480250
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x188], esi
je 0x48027f
test esi, esi
je 0x480269
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x188]
mov dword [edi + 0x188], esi
test eax, eax
je 0x48027f
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.00406090
mov ecx, dword [edi + 0x188]
push 2
call fcn.00407010
mov ecx, dword [edi + 0x188]
movaps xmm0, xmmword [0x4d7110]
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 [0x4d7070]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0x4d6fac
lea ecx, [ebp - 0x10]
call fcn.00404280
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 0x48032d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x188]
push 1
call fcn.0040cde0
push 0xe8
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x19
test eax, eax
je 0x480360
mov ecx, eax
call fcn.0040f990
mov esi, eax
jmp 0x480362
xor esi, esi
push 3
push 0x8c
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f660
push 2
mov ecx, esi
call fcn.004104f0
movaps xmm0, xmmword [0x4d70e0]
sub esp, 0x10
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
call fcn.00410640
mov ecx, dword [edi + 0x188]
push esi
call fcn.0040b080
mov ecx, dword [edi + 0x188]
push esi
call fcn.0040b040
mov ecx, dword [edi + 0x188]
push esi
call fcn.0040c890
mov ecx, dword [edi + 0x188]
push esi
call fcn.0040b000
mov ecx, dword [edi + 0x188]
xor eax, eax
cmp dword [0x50c280], eax
sete al
mov edx, dword [ecx]
push eax
call dword [edx + 0xf8]
mov ecx, dword [edi + 0x188]
test ecx, ecx
je 0x4803fc
lea eax, [edi + 0x168]
test eax, eax
je 0x4803fc
push eax
push 0
call fcn.004019a0
push 0x168
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1a
test eax, eax
je 0x480422
mov ecx, eax
call fcn.00409cb0
mov esi, eax
jmp 0x480424
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x18c], esi
je 0x480453
test esi, esi
je 0x48043d
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x18c]
mov dword [edi + 0x18c], esi
test eax, eax
je 0x480453
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.00406090
mov ecx, dword [edi + 0x18c]
movaps xmm0, xmmword [0x4f36d0]
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 [0x4d7080]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0xe8
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1b
test eax, eax
je 0x4804d2
mov ecx, eax
call fcn.0040f990
mov esi, eax
jmp 0x4804d4
xor esi, esi
push 3
push 0x8c
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f660
push 2
mov ecx, esi
call fcn.004104f0
movaps xmm0, xmmword [0x4d70e0]
sub esp, 0x10
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
call fcn.00410640
mov ecx, dword [edi + 0x18c]
push esi
mov eax, dword [ecx]
call dword [eax + 0xa8]
push 0x1e0
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1c
test eax, eax
je 0x48053d
mov ecx, eax
call fcn.00420c50
mov esi, eax
jmp 0x48053f
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x190], esi
je 0x48056e
test esi, esi
je 0x480558
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x190]
mov dword [edi + 0x190], esi
test eax, eax
je 0x48056e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x190]
push 0x800
call fcn.00421780
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.00406090
mov eax, dword [0x508094]
cmp eax, 0xffffffff
jne 0x480645
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x4805c7
movaps xmm0, xmmword [0x4d7090]
mov dword [0x508094], 1
jmp 0x4805d8
mov dword [0x508094], 0
movaps xmm0, xmmword [0x4d70a0]
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.00404280
mov ecx, dword [edi + 0x190]
call fcn.00421060
mov ecx, dword [edi + 0x190]
push 0
mov eax, dword [ecx]
call dword [eax + 0xf8]
mov eax, dword [0x50c1cc]
test eax, eax
jne 0x480660
push 0x18c
call fcn.00487270
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0x1d
test eax, eax
je 0x480652
mov ecx, eax
call fcn.0042d8f0
jmp 0x480654
test eax, eax
je 0x4805d1
movaps xmm0, xmmword [0x4d7090]
jmp 0x4805d8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x50c1cc], eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [eax + 4]
call fcn.00434280
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.00404410
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov ecx, dword [edi + 0x190]
call fcn.00421060
mov edi, dword [edi + 0x194]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [edi]
mov ecx, dword [ecx + 0x198]
call fcn.0041edb0
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 0x4806d9
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