Function at 0x4ad810
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a1939
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x73a280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00506900
call fcn.00506890
mov ecx, dword fs:[0x2c]
mov edx, dword [0x7899f4]
mov dword [ebp - 0x24], eax
mov ebx, dword [ecx + edx*4]
mov ecx, dword [0x74ad5c]
mov dword [ebp - 0x14], ebx
cmp ecx, dword [ebx + 0x20]
jg 0x4adf33
mov eax, dword [0x74ad64]
cmp eax, dword [ebx + 0x20]
jg 0x4adf77
call fcn.00506890
sub eax, dword [0x74ad58]
cmp eax, 0x3e8
jbe 0x4ad8fc
mov eax, dword [0x74ad48]
mov ecx, dword [0x74ad4c]
mov dword [edi + 0x219d4], eax
mov eax, dword [0x74ad54]
mov dword [edi + 0x218ec], eax
mov eax, 1
cmp ecx, eax
mov dword [edi + 0x219d8], ecx
cmovb ecx, eax
mov eax, dword [0x74ad50]
xor edx, edx
div ecx
mov dword [edi + 0x219dc], eax
call fcn.00506890
mov dword [0x74ad58], eax
mov dword [0x74ad4c], 0
mov dword [0x74ad48], 0
mov dword [0x74ad50], 0
mov dword [0x74ad54], 0
mov eax, dword [0x74ad70]
cmp eax, dword [ebx + 0x20]
jg 0x4adfbb
mov esi, dword [0x748c88]
mov ecx, esi
call fcn.00506800
mov ecx, esi
call fcn.00506950
fstp dword [edi + 0x21908]
mov ecx, esi
call fcn.005069c0
mov ecx, esi
fstp dword [edi + 0x2190c]
call fcn.005069a0
mov esi, eax
add dword [0x74ad6c], esi
call fcn.00506890
lea ecx, [edi + 0x860]
mov ebx, eax
call fcn.0052ce70
lea ecx, [edi + 0x1ed00]
call fcn.004b9500
lea ecx, [edi + 0x1ec54]
call fcn.004b85e0
lea ecx, [edi + 0x1f09c]
call fcn.004bc160
lea ecx, [edi + 0x1c]
call fcn.0052d6c0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4ad9a6
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.004b0250
mov ecx, edi
call fcn.004af770
mov ecx, dword [0x748c7c]
call fcn.00522d50
mov ecx, edi
call fcn.004b01a0
mov ecx, edi
call fcn.004b0360
mov ecx, edi
call fcn.004b0410
call fcn.00506890
sub eax, dword [0x74ad60]
cmp eax, 0x1388
jbe 0x4ada6b
push 4
call fcn.005c8dfe
add esp, 4
test eax, eax
je 0x4ad9f5
mov dword [eax], edi
jmp 0x4ad9f7
xor eax, eax
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
push ecx
push 0
push eax
push 0x4aa3a0
push 0
push 0
call fcn.00658cf5
add esp, 0x18
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4ae00b
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], 4
test ecx, ecx
je 0x4ae004
push ecx
push eax
call fcn.005c791d
add esp, 8
test eax, eax
jne 0x4ae004
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
call fcn.00506890
cmp dword [ebp - 0x28], 0
mov dword [0x74ad60], eax
mov dword [ebp - 4], 0xffffffff
jne 0x4adfff
call fcn.00506890
sub eax, ebx
mov dword [edi + 0x218e8], eax
call fcn.00506890
mov ecx, dword [0x74ad6c]
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [0x74ad68], edx
cmp eax, ecx
jbe 0x4adaec
movd xmm0, esi
sub eax, ecx
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x6b1600]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
mulss xmm0, xmm1
cvttss2si edx, xmm0
cmp eax, 0x1f4
jl 0x4adada
add ecx, edx
mov dword [0x74ad6c], ecx
mov ecx, dword [0x748c88]
push edx
call fcn.005067f0
mov edx, 1
mov dword [0x74ad68], 1
mov dword [ebp - 0x18], edx
cmp byte [edi + 0x21a01], 0
je 0x4adb01
mov dword [0x74ad68], 0
jmp 0x4adb09
test edx, edx
jne 0x4adeb5
movsd xmm0, qword [0x727f60]
sub esp, 0xc
cvtpd2ps xmm0, xmm0
mov dword [esp + 8], 0
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
call fcn.005128a3
add esp, 0xc
call fcn.00506890
cmp byte [edi + 0x21a20], 0
lea esi, [edi + 0x7bc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0xd], 1
jne 0x4adb90
mov ecx, esi
call fcn.00519460
test eax, eax
je 0x4adb94
mov ebx, dword [0x74694c]
mov ecx, ebx
call fcn.0044ed60
mov ecx, dword [0x746920]
call fcn.00518800
mov ecx, esi
call fcn.0051aa60
test eax, eax
je 0x4adb90
mov ecx, dword [0x746920]
call fcn.00518710
mov ecx, ebx
call fcn.0044d6b0
jmp 0x4adb94
mov byte [ebp - 0xd], 0
mov ecx, edi
call fcn.005367d0
lea ebx, [edi + 0x20]
test al, al
jne 0x4adbae
mov eax, dword [ebx]
mov ecx, ebx
push 0xbb8
call dword [eax + 0x10]
cmp byte [ebp - 0xd], 0
jne 0x4adbc5
mov eax, dword [ebx]
mov ecx, ebx
push 0xbb8
call dword [eax + 0x10]
jmp 0x4adeb5
mov ecx, dword [0x748b68]
call fcn.00532800
mov ecx, esi
call fcn.00518fe0
test al, al
je 0x4adeb5
mov ecx, esi
call fcn.00519110
mov ecx, esi
call fcn.005525f0
mov ecx, edi
call fcn.004b0400
mov ecx, edi
call fcn.004b0310
mov ecx, esi
call fcn.00519140
push 0
mov ecx, esi
call fcn.0051af00
call fcn.00506890
mov ecx, dword [0x74ad78]
mov ebx, eax
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x20]
jg 0x4ae019
mov edx, dword [0x74ad80]
mov ecx, ebx
sub ecx, dword [ebp - 0x1c]
mov eax, ebx
sub eax, dword [0x74ad74]
inc edx
mov dword [edi + 0x218e4], ecx
add ecx, dword [0x74ad7c]
mov dword [0x74ad7c], ecx
mov dword [0x74ad80], edx
cmp eax, 0x3e8
jbe 0x4adcb0
movd xmm1, ecx
movd xmm0, edx
cvtdq2pd xmm1, xmm1
shr ecx, 0x1f
shr edx, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm1, qword [ecx*8 + 0x6b1600]
addsd xmm0, qword [edx*8 + 0x6b1600]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi + 0x218e0], xmm0
call fcn.00506890
mov dword [0x74ad74], eax
mov dword [0x74ad7c], 0
mov dword [0x74ad80], 0
mov ecx, esi
call fcn.0051f020
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.0051f120
mov ecx, dword [ebp - 0x14]
add dword [0x74ad50], ecx
cmp ecx, 0x1388
jbe 0x4ade92
movss xmm3, dword [0x6b12a0]
cmp ebx, dword [edi + 0x21a2c]
jbe 0x4addac
mov eax, dword [edi + 0x218e4]
movss xmm1, dword [0x74ad84]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6b1600]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
jbe 0x4add74
subss xmm0, xmm1
sub esp, 8
divss xmm0, dword [0x6beb64]
movss dword [esp + 4], xmm0
mov dword [esp], 0x3f000000
call fcn.00506580
movss xmm3, dword [0x6b12a0]
add esp, 8
movss xmm2, dword [ebp - 0x20]
movaps xmm1, xmm3
addss xmm2, dword [0x6b1c24]
mov ecx, dword [ebp - 0x14]
fstp dword [ebp - 0x1c]
subss xmm1, dword [ebp - 0x1c]
mulss xmm2, dword [ebp - 0x1c]
mulss xmm1, dword [0x74ad84]
addss xmm1, xmm2
jmp 0x4add88
mulss xmm1, dword [0x6bf0b4]
mulss xmm0, dword [0x6b16f0]
addss xmm1, xmm0
divss xmm1, xmm3
comiss xmm1, xmm3
movss dword [0x74ad84], xmm1
jbe 0x4adda4
movaps xmm1, xmm3
movss dword [0x74ad84], 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 + 0x6b1600]
mov eax, dword [edi + 0x21a30]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0x219c0], xmm0
cmp eax, 0xffffffff
jne 0x4ade89
movss xmm1, dword [0x6bf0b0]
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
shr ecx, 0x1f
movss xmm2, dword [0x727f58]
addsd xmm0, qword [ecx*8 + 0x6b1600]
cvtpd2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [0x727f90]
mulss xmm0, dword [0x6bf0b8]
mulss xmm1, dword [0x6bf0a4]
addss xmm1, xmm0
movss xmm0, dword [0x6b12a8]
divss xmm1, xmm3
cvtps2pd xmm3, xmm2
divss xmm0, xmm1
movss dword [0x727f90], xmm1
cvtps2pd xmm1, xmm0
movss xmm0, dword [0x6be230]
subss xmm0, xmm2
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm0
divsd xmm1, qword [0x6bf0a8]
addsd xmm1, xmm3
maxsd xmm1, xmm3
cvtpd2ps xmm0, xmm1
jmp 0x4ade9a
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x4ade9a
movss xmm0, dword [0x6be230]
mov eax, 0x1d338
push ecx
movss dword [esp], xmm0
push 0
lea ecx, [edi + eax]
call fcn.0044f260
inc dword [0x74ad4c]
call fcn.00506890
mov edi, dword [0x74ad6c]
mov ebx, dword [0x74ad38]
sub edi, eax
mov esi, dword [0x74ad34]
cmp esi, ebx
je 0x4adef4
mov ecx, dword [esi]
mov al, byte [ecx]
cmp al, 0xe9
je 0x4adee8
cmp al, 0xc3
je 0x4adee8
cmp al, 0xff
jne 0x4adeed
cmp byte [ecx + 1], 0x25
jne 0x4adeed
call fcn.004ac8d0
add esi, 4
cmp esi, ebx
jne 0x4aded2
test edi, edi
jle 0x4adf0b
cmp dword [ebp - 0x18], 0
jne 0x4adf0b
sub dword [0x74ad54], edi
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [0x74ad48]
call fcn.00506890
sub eax, dword [ebp - 0x24]
add dword [0x74ad54], 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 0x74ad5c
call fcn.005c8eaa
add esp, 4
cmp dword [0x74ad5c], 0xffffffff
jne 0x4ad86c
mov dword [ebp - 4], 0
call fcn.00506890
push 0x74ad5c
mov dword [0x74ad58], eax
mov dword [ebp - 4], 0xffffffff
call fcn.005c8e59
add esp, 4
jmp 0x4ad86c
push 0x74ad64
call fcn.005c8eaa
add esp, 4
cmp dword [0x74ad64], 0xffffffff
jne 0x4ad87d
mov dword [ebp - 4], 1
call fcn.00506890
push 0x74ad64
mov dword [0x74ad60], eax
mov dword [ebp - 4], 0xffffffff
call fcn.005c8e59
add esp, 4
jmp 0x4ad87d
push 0x74ad70
call fcn.005c8eaa
add esp, 4
cmp dword [0x74ad70], 0xffffffff
jne 0x4ad90d
mov dword [ebp - 4], 2
call fcn.00506890
push 0x74ad70
mov dword [0x74ad6c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.005c8e59
add esp, 4
jmp 0x4ad90d
call fcn.0065919e
push 1
call fcn.005c7b02
push 6
mov dword [ebp - 0x28], 0
call fcn.005c7b02
push 0x74ad78
call fcn.005c8eaa
add esp, 4
cmp dword [0x74ad78], 0xffffffff
jne 0x4adc27
push 0x74ad78
mov dword [0x74ad74], ebx
call fcn.005c8e59
add esp, 4
jmp 0x4adc27