Function at 0x479490
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6faa88
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x7e6410]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x7e6410]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x1c0]
mov dword [esp + 0x28], vtable.CAutoLock.0
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x2c], ebx
movsd xmm0, qword [ebp + 8]
lea ecx, [esp + 0x30]
mov dword [esp + 0x50], 0
mov eax, dword [esi]
movsd qword [esi + 0x388], xmm0
xorps xmm0, xmm0
push ecx
mov ecx, esi
movdqu xmmword [esp + 0x34], xmm0
call dword [eax + 0x18]
mov eax, dword [esi + 0x8c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x30]
sub edx, dword [esp + 0x34]
cmp dword [esi + 0x368], 0
mov eax, dword [eax + 0x290]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
je 0x4795d4
mov eax, dword [esi + 0x380]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
test eax, eax
jne 0x479561
mov eax, ecx
neg eax
movd xmm0, eax
jmp 0x47956c
cmp eax, 1
jne 0x479581
movd xmm0, dword [esp + 0x1c]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [ebp + 8]
cvttsd2si edi, xmm0
add ecx, edi
mov dword [esp + 0x14], ecx
jmp 0x4795ae
cmp eax, 2
jne 0x479590
mov eax, edx
neg eax
movd xmm0, eax
jmp 0x47959b
cmp eax, 3
jne 0x4795ae
movd xmm0, dword [esp + 0x20]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [ebp + 8]
cvttsd2si ebx, xmm0
add edx, ebx
mov dword [esp + 0x18], edx
push dword [esi + 0x368]
mov ecx, dword [esp + 0x28]
call fcn.0047b0b0
test eax, eax
je 0x4795df
push dword [esp + 0x18]
mov ecx, eax
push dword [esp + 0x18]
push ebx
push edi
call fcn.0047af30
jmp 0x4795df
push str.__________________________n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esi + 0x36c]
test ecx, ecx
je 0x4796c9
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
sub edi, dword [esp + 0x30]
sub ebx, dword [esp + 0x34]
mov eax, dword [esi + 0x380]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
test eax, eax
jne 0x47963e
movd xmm0, dword [esp + 0x1c]
movsd xmm1, qword [0x7920b8]
subsd xmm1, qword [ebp + 8]
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [esp + 0x18], eax
add edi, eax
jmp 0x4796a8
cmp eax, 1
jne 0x47966a
movd xmm0, dword [esp + 0x1c]
movsd xmm1, qword [ebp + 8]
subsd xmm1, qword [0x7920b8]
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [esp + 0x18], eax
add edi, eax
jmp 0x4796a8
cmp eax, 2
jne 0x47967e
movsd xmm1, qword [0x7920b8]
subsd xmm1, qword [ebp + 8]
jmp 0x479690
cmp eax, 3
jne 0x4796a8
movsd xmm1, qword [ebp + 8]
subsd xmm1, qword [0x7920b8]
movd xmm0, dword [esp + 0x20]
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
add ebx, eax
mov dword [esp + 0x14], eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0047b0b0
test eax, eax
je 0x4796e7
push ebx
push edi
push dword [esp + 0x1c]
mov ecx, eax
push dword [esp + 0x24]
call fcn.0047af30
jmp 0x4796e7
mov eax, dword [esi + 0x370]
mov ecx, dword [esi + 0x37c]
push 1
push 1
mov ecx, dword [eax + ecx*4]
mov dword [esi + 0x36c], ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x479706
push 0
push esi
push dword [0x805890]
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi + 0x1c0]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.006b3266
mov esp, ebp
pop ebp
ret 8