Function at 0x4ad7c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a3739
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x73c280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00506870
call fcn.00506800
mov ecx, dword fs:[0x2c]
mov edx, dword [0x78b9d4]
mov dword [ebp - 0x24], eax
mov ebx, dword [ecx + edx*4]
mov ecx, dword [0x74cd5c]
mov dword [ebp - 0x14], ebx
cmp ecx, dword [ebx + 0x20]
jg 0x4adee3
mov eax, dword [0x74cd64]
cmp eax, dword [ebx + 0x20]
jg 0x4adf27
call fcn.00506800
sub eax, dword [0x74cd58]
cmp eax, 0x3e8
jbe 0x4ad8ac
mov eax, dword [0x74cd48]
mov ecx, dword [0x74cd4c]
mov dword [edi + 0x219d4], eax
mov eax, dword [0x74cd54]
mov dword [edi + 0x218ec], eax
mov eax, 1
cmp ecx, eax
mov dword [edi + 0x219d8], ecx
cmovb ecx, eax
mov eax, dword [0x74cd50]
xor edx, edx
div ecx
mov dword [edi + 0x219dc], eax
call fcn.00506800
mov dword [0x74cd58], eax
mov dword [0x74cd4c], 0
mov dword [0x74cd48], 0
mov dword [0x74cd50], 0
mov dword [0x74cd54], 0
mov eax, dword [0x74cd70]
cmp eax, dword [ebx + 0x20]
jg 0x4adf6b
mov esi, dword [0x74ac88]
mov ecx, esi
call fcn.00506770
mov ecx, esi
call fcn.005068c0
fstp dword [edi + 0x21908]
mov ecx, esi
call fcn.00506930
mov ecx, esi
fstp dword [edi + 0x2190c]
call fcn.00506910
mov esi, eax
add dword [0x74cd6c], esi
call fcn.00506800
lea ecx, [edi + 0x860]
mov ebx, eax
call fcn.0052ce00
lea ecx, [edi + 0x1ed00]
call fcn.004b94b0
lea ecx, [edi + 0x1ec54]
call fcn.004b8590
lea ecx, [edi + 0x1f09c]
call fcn.004bc110
lea ecx, [edi + 0x1c]
call fcn.0052d650
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4ad956
lea eax, [ebp - 0x34]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x30]
mov ecx, edi
push dword [ebp - 0x34]
call fcn.004b01f0
mov ecx, edi
call fcn.004af720
mov ecx, dword [0x74ac7c]
call fcn.00522ce0
mov ecx, edi
call fcn.004b0140
mov ecx, edi
call fcn.004b0300
mov ecx, edi
call fcn.004b03b0
call fcn.00506800
sub eax, dword [0x74cd60]
cmp eax, 0x1388
jbe 0x4ada1b
push 4
call fcn.005c8dfe
add esp, 4
test eax, eax
je 0x4ad9a5
mov dword [eax], edi
jmp 0x4ad9a7
xor eax, eax
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
push ecx
push 0
push eax
push 0x4aa360
push 0
push 0
call fcn.00659003
add esp, 0x18
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4adfbb
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 4
test ecx, ecx
je 0x4adfb4
push ecx
push eax
call fcn.005c791d
add esp, 8
test eax, eax
jne 0x4adfb4
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
call fcn.00506800
cmp dword [ebp - 0x28], 0
mov dword [0x74cd60], eax
mov dword [ebp - 4], 0xffffffff
jne 0x4adfaf
call fcn.00506800
sub eax, ebx
mov dword [edi + 0x218e8], eax
call fcn.00506800
mov ecx, dword [0x74cd6c]
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [0x74cd68], edx
cmp eax, ecx
jbe 0x4ada9c
movd xmm0, esi
sub eax, ecx
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x6b3600]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
mulss xmm0, xmm1
cvttss2si edx, xmm0
cmp eax, 0x1f4
jl 0x4ada8a
add ecx, edx
mov dword [0x74cd6c], ecx
mov ecx, dword [0x74ac88]
push edx
call fcn.00506760
mov edx, 1
mov dword [0x74cd68], 1
mov dword [ebp - 0x18], edx
cmp byte [edi + 0x21a01], 0
je 0x4adab1
mov dword [0x74cd68], 0
jmp 0x4adab9
test edx, edx
jne 0x4ade65
movsd xmm0, qword [0x729f60]
sub esp, 0xc
cvtpd2ps xmm0, xmm0
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
call fcn.00512813
add esp, 0xc
call fcn.00506800
cmp byte [edi + 0x21a20], 0
lea esi, [edi + 0x7bc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0xd], 1
jne 0x4adb40
mov ecx, esi
call fcn.005193d0
test eax, eax
je 0x4adb44
mov ebx, dword [0x74894c]
mov ecx, ebx
call fcn.0044ed60
mov ecx, dword [0x748920]
call fcn.00518770
mov ecx, esi
call fcn.0051a9d0
test eax, eax
je 0x4adb40
mov ecx, dword [0x748920]
call fcn.00518680
mov ecx, ebx
call fcn.0044d6b0
jmp 0x4adb44
mov byte [ebp - 0xd], 0
mov ecx, edi
call fcn.00536780
lea ebx, [edi + 0x20]
test al, al
jne 0x4adb5e
mov eax, dword [ebx]
mov ecx, ebx
push 0xbb8
call dword [eax + 0x10]
cmp byte [ebp - 0xd], 0
jne 0x4adb75
mov eax, dword [ebx]
mov ecx, ebx
push 0xbb8
call dword [eax + 0x10]
jmp 0x4ade65
mov ecx, dword [0x74ab68]
call fcn.005327b0
mov ecx, esi
call fcn.00518f50
test al, al
je 0x4ade65
mov ecx, esi
call fcn.00519080
mov ecx, esi
call fcn.005525c0
mov ecx, edi
call fcn.004b03a0
mov ecx, edi
call fcn.004b02b0
mov ecx, esi
call fcn.005190b0
push 0
mov ecx, esi
call fcn.0051ae70
call fcn.00506800
mov ecx, dword [0x74cd78]
mov ebx, eax
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x20]
jg 0x4adfc9
mov edx, dword [0x74cd80]
mov ecx, ebx
sub ecx, dword [ebp - 0x1c]
mov eax, ebx
sub eax, dword [0x74cd74]
inc edx
mov dword [edi + 0x218e4], ecx
add ecx, dword [0x74cd7c]
mov dword [0x74cd7c], ecx
mov dword [0x74cd80], edx
cmp eax, 0x3e8
jbe 0x4adc60
movd xmm1, ecx
movd xmm0, edx
cvtdq2pd xmm1, xmm1
shr ecx, 0x1f
shr edx, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm1, qword [ecx*8 + 0x6b3600]
addsd xmm0, qword [edx*8 + 0x6b3600]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi + 0x218e0], xmm0
call fcn.00506800
mov dword [0x74cd74], eax
mov dword [0x74cd7c], 0
mov dword [0x74cd80], 0
mov ecx, esi
call fcn.0051ef90
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.0051f090
mov ecx, dword [ebp - 0x14]
add dword [0x74cd50], ecx
cmp ecx, 0x1388
jbe 0x4ade42
movss xmm3, dword [0x6b32a0]
cmp ebx, dword [edi + 0x21a2c]
jbe 0x4add5c
mov eax, dword [edi + 0x218e4]
movss xmm1, dword [0x74cd84]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6b3600]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
jbe 0x4add24
subss xmm0, xmm1
sub esp, 8
divss xmm0, dword [0x6c0b64]
movss dword [esp + 4], xmm0
mov dword [esp], 0x3f000000
call fcn.005064f0
movss xmm3, dword [0x6b32a0]
add esp, 8
movss xmm2, dword [ebp - 0x20]
movaps xmm1, xmm3
addss xmm2, dword [0x6b3c24]
mov ecx, dword [ebp - 0x14]
fstp dword [ebp - 0x1c]
subss xmm1, dword [ebp - 0x1c]
mulss xmm2, dword [ebp - 0x1c]
mulss xmm1, dword [0x74cd84]
addss xmm1, xmm2
jmp 0x4add38
mulss xmm1, dword [0x6c10a4]
mulss xmm0, dword [0x6b36f0]
addss xmm1, xmm0
divss xmm1, xmm3
comiss xmm1, xmm3
movss dword [0x74cd84], xmm1
jbe 0x4add54
movaps xmm1, xmm3
movss dword [0x74cd84], xmm1
movss dword [edi + 0x218e0], xmm1
add dword [edi + 0x219cc], ecx
xor edx, edx
mov ecx, dword [edi + 0x218e4]
add dword [edi + 0x219d0], ecx
mov eax, dword [edi + 0x219cc]
div dword [edi + 0x219d0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6b3600]
mov eax, dword [edi + 0x21a30]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0x219c0], xmm0
cmp eax, 0xffffffff
jne 0x4ade39
movss xmm1, dword [0x6c10a0]
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
shr ecx, 0x1f
movss xmm2, dword [0x729f58]
addsd xmm0, qword [ecx*8 + 0x6b3600]
cvtpd2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [0x729f90]
mulss xmm0, dword [0x6c10a8]
mulss xmm1, dword [0x6c1090]
addss xmm1, xmm0
movss xmm0, dword [0x6b32a8]
divss xmm1, xmm3
cvtps2pd xmm3, xmm2
divss xmm0, xmm1
movss dword [0x729f90], xmm1
cvtps2pd xmm1, xmm0
movss xmm0, dword [0x6c0230]
subss xmm0, xmm2
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm0
divsd xmm1, qword [0x6c1098]
addsd xmm1, xmm3
maxsd xmm1, xmm3
cvtpd2ps xmm0, xmm1
jmp 0x4ade4a
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x4ade4a
movss xmm0, dword [0x6c0230]
mov eax, 0x1d338
push ecx
movss dword [esp], xmm0
push 0
lea ecx, [edi + eax]
call fcn.0044f260
inc dword [0x74cd4c]
call fcn.00506800
mov edi, dword [0x74cd6c]
mov ebx, dword [0x74cd38]
sub edi, eax
mov esi, dword [0x74cd34]
cmp esi, ebx
je 0x4adea4
mov ecx, dword [esi]
mov al, byte [ecx]
cmp al, 0xe9
je 0x4ade98
cmp al, 0xc3
je 0x4ade98
cmp al, 0xff
jne 0x4ade9d
cmp byte [ecx + 1], 0x25
jne 0x4ade9d
call fcn.004ac880
add esi, 4
cmp esi, ebx
jne 0x4ade82
test edi, edi
jle 0x4adebb
cmp dword [ebp - 0x18], 0
jne 0x4adebb
sub dword [0x74cd54], edi
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [0x74cd48]
call fcn.00506800
sub eax, dword [ebp - 0x24]
add dword [0x74cd54], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x74cd5c
call fcn.005c8eaa
add esp, 4
cmp dword [0x74cd5c], 0xffffffff
jne 0x4ad81c
mov dword [ebp - 4], 0
call fcn.00506800
push 0x74cd5c
mov dword [0x74cd58], eax
mov dword [ebp - 4], 0xffffffff
call fcn.005c8e59
add esp, 4
jmp 0x4ad81c
push 0x74cd64
call fcn.005c8eaa
add esp, 4
cmp dword [0x74cd64], 0xffffffff
jne 0x4ad82d
mov dword [ebp - 4], 1
call fcn.00506800
push 0x74cd64
mov dword [0x74cd60], eax
mov dword [ebp - 4], 0xffffffff
call fcn.005c8e59
add esp, 4
jmp 0x4ad82d
push 0x74cd70
call fcn.005c8eaa
add esp, 4
cmp dword [0x74cd70], 0xffffffff
jne 0x4ad8bd
mov dword [ebp - 4], 2
call fcn.00506800
push 0x74cd70
mov dword [0x74cd6c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.005c8e59
add esp, 4
jmp 0x4ad8bd
call fcn.006594bc
push 1
call fcn.005c7b02
push 6
mov dword [ebp - 0x28], 0
call fcn.005c7b02
push 0x74cd78
call fcn.005c8eaa
add esp, 4
cmp dword [0x74cd78], 0xffffffff
jne 0x4adbd7
push 0x74cd78
mov dword [0x74cd74], ebx
call fcn.005c8e59
add esp, 4
jmp 0x4adbd7