Function at 0x4ea460
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57263e
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push esi
push edi
mov eax, dword [0x5b3124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 2
call fcn.0047ee90
push 0x48
call fcn.00509018
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4ea4b6
mov ecx, eax
call fcn.00495870
mov esi, eax
mov dword [ebp - 0x30], eax
jmp 0x4ea4bb
xor esi, esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x4ea4cf
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 0x252220
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00495980
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0xa8]
push 0x130
call fcn.00509018
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4ea513
mov ecx, eax
call fcn.00486c00
mov esi, eax
mov dword [ebp - 0x48], eax
jmp 0x4ea518
xor esi, esi
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], esi
test esi, esi
je 0x4ea529
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
push edi
mov byte [ebp - 4], 3
call dword [eax + 0x14]
push 1
mov ecx, esi
call fcn.0047ee20
mov edx, dword [esi]
mov ecx, esi
movaps xmm0, xmmword [0x577100]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
push 2
mov ecx, esi
call fcn.0047ee90
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x30]
call dword [eax + 0xa8]
push 0x130
call fcn.00509018
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4ea592
mov ecx, eax
call fcn.00486c00
mov ecx, eax
mov dword [ebp - 0x20], eax
jmp 0x4ea597
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x54], ecx
test ecx, ecx
je 0x4ea5ab
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
push esi
mov byte [ebp - 4], 5
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x20]
push 1
call fcn.0047ee20
mov ecx, dword [ebp - 0x20]
movaps xmm0, xmmword [0x5770d0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [ebp - 0x20]
push 2
call fcn.0047ee90
push 0x290
call fcn.00509018
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4ea608
mov ecx, eax
call fcn.0049e990
mov ecx, eax
mov dword [ebp - 0x2c], eax
jmp 0x4ea60d
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 5
cmp dword [edi + 0x140], ecx
je 0x4ea63c
test ecx, ecx
je 0x4ea626
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x140]
mov dword [edi + 0x140], ecx
test eax, eax
je 0x4ea63c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x140]
push dword [ebp - 0x20]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x140]
push 2
call fcn.0047ee20
mov ecx, dword [edi + 0x140]
movaps xmm0, xmmword [0x577060]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
mov ecx, dword [edi + 0x140]
push 4
push 0x8a
call fcn.004a3a60
mov ecx, dword [edi + 0x140]
movaps xmm0, xmmword [0x577090]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x140]
push 1
call fcn.0047f020
mov ecx, dword [edi + 0x140]
test ecx, ecx
je 0x4ea6cd
lea eax, [edi + 0x130]
test eax, eax
je 0x4ea6cd
push eax
push 0
call fcn.004789b0
push 0x130
call fcn.00509018
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x4ea6f3
mov ecx, eax
call fcn.00486c00
mov ecx, eax
mov dword [ebp - 0x1c], eax
jmp 0x4ea6f8
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 5
mov dword [ebp - 0x58], ecx
test ecx, ecx
je 0x4ea70c
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
push esi
mov byte [ebp - 4], 8
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.0047ee20
mov ecx, dword [ebp - 0x1c]
movaps xmm0, xmmword [0x577070]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
mov ecx, dword [ebp - 0x1c]
push 0
call fcn.00480290
mov ecx, dword [ebp - 0x1c]
movaps xmm0, xmmword [0x5770e0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [ebp - 0x1c]
push 2
call fcn.0047ee90
push 0x11c
call fcn.00509018
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4ea78f
mov ecx, eax
call fcn.0047d210
mov ecx, eax
mov dword [ebp - 0x18], eax
jmp 0x4ea794
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 8
mov dword [ebp - 0x5c], ecx
test ecx, ecx
je 0x4ea7a8
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x18]
push 5
call fcn.0047ee20
mov ecx, dword [ebp - 0x18]
movaps xmm0, xmmword [0x5770f0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
push 0xc0
call fcn.00509018
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4ea7f8
mov ecx, eax
call fcn.0048ed10
jmp 0x4ea7fa
xor eax, eax
push 3
push 0x99
mov ecx, eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xa
call fcn.0048e9a0
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x2c]
mov eax, dword [ecx]
call dword [eax + 0xa8]
mov ecx, dword [ebp - 0x18]
push 1
call fcn.00480290
mov ecx, dword [ebp - 0x18]
xorps xmm0, xmm0
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x80]
mov ecx, dword [ebp - 0x18]
push 2
call fcn.0047ee90
push 0x130
call fcn.00509018
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4ea86f
mov ecx, eax
call fcn.00486c00
mov ecx, eax
mov dword [ebp - 0x14], eax
jmp 0x4ea874
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x60], ecx
test ecx, ecx
je 0x4ea888
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
push esi
mov byte [ebp - 4], 0xd
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x14]
push 1
call fcn.0047ee20
mov ecx, dword [ebp - 0x14]
movaps xmm0, xmmword [0x5770a0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
mov ecx, dword [ebp - 0x14]
push 0
call fcn.00480290
mov ecx, dword [ebp - 0x14]
movaps xmm0, xmmword [0x577080]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [ebp - 0x14]
push 2
call fcn.0047ee90
push 0x174
call fcn.00509018
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x4ea90b
mov ecx, eax
call fcn.00488b00
mov ecx, eax
mov dword [ebp - 0x10], eax
jmp 0x4ea910
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x64], ecx
test ecx, ecx
je 0x4ea924
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
push dword [ebp - 0x14]
mov byte [ebp - 4], 0xf
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x10]
push 5
call fcn.0047ee20
mov ecx, dword [ebp - 0x10]
push 1
call fcn.0047edf0
mov ecx, dword [ebp - 0x10]
push 1
call fcn.0047edc0
push ecx
mov ecx, esp
push 0x5942f4
call fcn.00404c40
mov ecx, dword [ebp - 0x10]
call fcn.00489270
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x80]
mov ecx, dword [ebp - 0x10]
push 0
call fcn.00480290
mov ecx, dword [ebp - 0x10]
push 0xc6c6c6
mov eax, dword [ecx]
call dword [eax + 0x130]
mov ecx, dword [ebp - 0x10]
push 0x19
call fcn.0048a0b0
mov ecx, dword [ebp - 0x10]
push 2
call fcn.0047ee90
push 0x290
call fcn.00509018
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x4ea9cf
mov ecx, eax
call fcn.0049e990
mov ecx, eax
mov dword [ebp - 0x2c], eax
jmp 0x4ea9d4
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 0xf
cmp dword [edi + 0x148], ecx
je 0x4eaa03
test ecx, ecx
je 0x4ea9ed
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x148]
mov dword [edi + 0x148], ecx
test eax, eax
je 0x4eaa03
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x148]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x148]
push 1
call fcn.0047ee20
mov ecx, dword [edi + 0x148]
push 0
call fcn.00480290
mov ecx, dword [edi + 0x148]
movaps xmm0, xmmword [0x5770c0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x148]
movaps xmm0, xmmword [0x577010]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0x576f60
lea ecx, [ebp - 0x34]
call fcn.00404c40
mov ecx, dword [edi + 0x148]
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x11
call fcn.004a0710
mov edx, dword [ebp - 0x34]
or eax, 0xffffffff
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4eaaa3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x148]
push 0x14
call fcn.004a4810
mov ecx, dword [edi + 0x148]
push 0xffffff
call fcn.004a0f70
mov ecx, dword [edi + 0x148]
push 3
push 0x86
call fcn.004a3a60
mov ecx, dword [edi + 0x148]
test ecx, ecx
je 0x4eaaee
lea eax, [edi + 0x130]
test eax, eax
je 0x4eaaee
push eax
push 0
call fcn.004789b0
push 0x130
call fcn.00509018
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x12
test eax, eax
je 0x4eab14
mov ecx, eax
call fcn.00486c00
mov ecx, eax
mov dword [ebp - 0x28], eax
jmp 0x4eab19
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x68], ecx
test ecx, ecx
je 0x4eab2d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
push esi
mov esi, dword [ebp - 0x28]
mov ecx, esi
mov byte [ebp - 4], 0x13
call dword [eax + 0x14]
push 1
mov ecx, esi
call fcn.0047ee20
mov edx, dword [esi]
mov ecx, esi
movaps xmm0, xmmword [0x576ff0]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0
mov ecx, esi
call fcn.00480290
mov edx, dword [esi]
mov ecx, esi
movaps xmm0, xmmword [0x577080]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
push 2
mov ecx, esi
call fcn.0047ee90
push 0x130
call fcn.00509018
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4eabb0
mov ecx, eax
call fcn.00486c00
mov esi, eax
mov dword [ebp - 0x24], eax
jmp 0x4eabb5
xor esi, esi
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x6c], esi
test esi, esi
je 0x4eabc6
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
push edi
mov byte [ebp - 4], 0x15
call dword [eax + 0x14]
push 1
mov ecx, esi
call fcn.0047ee20
mov edx, dword [esi]
mov ecx, esi
movaps xmm0, xmmword [0x594f00]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov edx, dword [esi]
mov ecx, esi
movaps xmm0, xmmword [0x577000]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 2
mov ecx, esi
call fcn.0047ee90
push 0x174
call fcn.00509018
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x4eac3d
mov ecx, eax
call fcn.00488b00
mov esi, eax
mov dword [ebp - 0x44], eax
jmp 0x4eac42
xor esi, esi
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x70], esi
test esi, esi
je 0x4eac53
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x17
call dword [eax + 0x14]
push 0
mov ecx, esi
call fcn.0047ee20
push 1
mov ecx, esi
call fcn.0047edf0
push 1
mov ecx, esi
call fcn.0047edc0
push ecx
mov ecx, esp
push 0x576f6c
call fcn.00404c40
mov ecx, esi
call fcn.00489270
push 0x13
mov ecx, esi
call fcn.0048a0b0
mov edx, dword [esi]
mov ecx, esi
movaps xmm0, xmmword [0x576fd0]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
push 0
mov ecx, esi
call fcn.00480290
mov eax, dword [esi]
mov ecx, esi
push 0x999999
call dword [eax + 0x130]
push 0x48
call fcn.00509018
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x18
test eax, eax
je 0x4eacef
mov ecx, eax
call fcn.00495870
mov esi, eax
mov dword [ebp - 0x2c], eax
jmp 0x4eacf4
xor esi, esi
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x74], esi
test esi, esi
je 0x4ead05
mov eax, dword [esi]
push esi
call dword [eax + 4]
push 0x36322d
mov ecx, esi
mov byte [ebp - 4], 0x19
call fcn.00495980
push 0x130
call fcn.00509018
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x4ead3b
mov ecx, eax
call fcn.00486c00
mov esi, eax
mov dword [ebp - 0x40], eax
jmp 0x4ead40
xor esi, esi
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x78], esi
test esi, esi
je 0x4ead51
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x1b
call dword [eax + 0x14]
push 0
mov ecx, esi
call fcn.0047ee20
mov edx, dword [esi]
mov ecx, esi
movaps xmm0, xmmword [0x5770b0]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov edx, dword [esi]
mov ecx, esi
movaps xmm0, xmmword [0x577030]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x80]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x2c]
call dword [eax + 0xa8]
push 0x18c
call fcn.00509018
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x4eadce
mov ecx, eax
call fcn.004a5480
mov ecx, eax
mov dword [ebp - 0x38], eax
jmp 0x4eadd3
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 0x1b
cmp dword [edi + 0x144], ecx
je 0x4eae02
test ecx, ecx
je 0x4eadec
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x38]
mov eax, dword [edi + 0x144]
mov dword [edi + 0x144], ecx
test eax, eax
je 0x4eae02
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x144]
push 0x800
call fcn.004a6020
mov ecx, dword [edi + 0x144]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x144]
push 0
call fcn.0047ee20
mov ecx, dword [edi + 0x144]
movaps xmm0, xmmword [0x577020]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x5c]
mov ecx, dword [edi + 0x144]
push 0x36322d
call fcn.004a6aa0
mov ecx, dword [edi + 0x144]
push 0x999999
call fcn.004a6a70
mov eax, dword [0x5b30ac]
cmp eax, 0xffffffff
jne 0x4eaee1
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x4eae8e
movaps xmm0, xmmword [0x577040]
mov dword [0x5b30ac], 1
jmp 0x4eae9f
mov dword [0x5b30ac], 0
movaps xmm0, xmmword [0x577050]
mov ecx, dword [edi + 0x144]
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x80]
mov eax, dword [0x5b66ac]
test eax, eax
jne 0x4eaef9
push 0x174
call fcn.00509018
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x4eaeee
mov ecx, eax
call fcn.004c45f0
jmp 0x4eaef0
test eax, eax
je 0x4eae98
movaps xmm0, xmmword [0x577040]
jmp 0x4eae9f
xor eax, eax
mov byte [ebp - 4], 0x1b
mov dword [0x5b66ac], eax
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [eax + 4]
call fcn.004cb110
push ecx
mov esi, esp
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
push eax
call fcn.00405420
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov ecx, dword [edi + 0x144]
call fcn.004a5860
mov ecx, dword [edi + 0x144]
push 0
mov eax, dword [ecx]
call dword [eax + 0xf4]
push 0x174
call fcn.00509018
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x4eaf61
mov ecx, eax
call fcn.00488b00
mov esi, eax
jmp 0x4eaf63
xor esi, esi
mov byte [ebp - 4], 0x1e
cmp dword [edi + 0x14c], esi
je 0x4eaf8f
test esi, esi
je 0x4eaf79
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x14c]
mov dword [edi + 0x14c], esi
test eax, eax
je 0x4eaf8f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [edi + 0x14c]
mov esi, dword [ebp - 0x24]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x14c]
push 0
call fcn.0047ee20
mov ecx, dword [edi + 0x14c]
push 1
call fcn.0047edf0
mov ecx, dword [edi + 0x14c]
push 1
call fcn.0047edc0
push ecx
mov ecx, esp
push 0x576f78
call fcn.00404c40
mov ecx, dword [edi + 0x14c]
call fcn.00489270
mov ecx, dword [edi + 0x14c]
movaps xmm0, xmmword [0x576fe0]
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 0
call fcn.00480290
mov ecx, dword [edi + 0x14c]
push 0x8f918a
mov eax, dword [ecx]
call dword [eax + 0x130]
mov ecx, dword [edi + 0x14c]
push 0x12
call fcn.0048a0b0
mov ecx, dword [edi + 0x14c]
push 1
call fcn.0047f020
mov ecx, dword [edi + 0x14c]
push 1
call fcn.0048b1d0
mov ecx, dword [edi + 0x14c]
xor eax, eax
cmp dword [0x5b6734], eax
sete al
mov edx, dword [ecx]
push eax
call dword [edx + 0xf4]
mov ecx, dword [edi + 0x14c]
test ecx, ecx
je 0x4eb07a
add edi, 0x130
je 0x4eb07a
push edi
push 0x384
call fcn.004789b0
mov edx, dword [ebp - 0x3c]
or eax, 0xffffffff
mov byte [ebp - 4], 0x1b
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4eb099
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x40]
push ecx
mov byte [ebp - 4], 0x19
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x17
test ecx, ecx
je 0x4eb0b7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x44]
push ecx
mov byte [ebp - 4], 0x15
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 0x13
call dword [eax + 8]
mov ecx, dword [ebp - 0x28]
push ecx
mov byte [ebp - 4], 0xf
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
push ecx
mov byte [ebp - 4], 0xd
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
push ecx
mov byte [ebp - 4], 0xa
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x18]
push ecx
mov byte [ebp - 4], 8
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
push ecx
mov byte [ebp - 4], 5
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x20]
push ecx
mov byte [ebp - 4], 3
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x48]
push ecx
mov byte [ebp - 4], 1
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4eb13d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
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