Function at 0x44d680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4ecaa0
push 0x4956b0
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x4f0008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov dword [ebp - 0x2c4], edi
wait
mov dword [ebp - 4], 0
cmp dword [edi + 0x2c], 0
jne 0x44d8cc
cmp dword [edi + 0x30], 0
jne 0x44d8cc
mov dword [edi + 0x34], 0
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0xc4]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc0]
movaps xmm0, xmmword [0x4d9910]
movups xmmword [ebp - 0x28c], xmm0
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x28c]
push edx
push eax
call dword [ecx + 0xbc]
movaps xmm0, xmmword [0x4d9920]
movups xmmword [ebp - 0x264], xmm0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x264]
push edx
push eax
call dword [ecx + 0x78]
mov eax, dword [0x5051ac]
mov ebx, dword [eax + 0x38]
mov dword [edi + 0x60], ebx
mov esi, dword [eax + 0x3c]
mov dword [edi + 0x64], esi
call fcn.0041ad00
mov dword [ebp - 0x2b0], eax
call fcn.0041ad40
mov ecx, eax
mov dword [ebp - 0x2c0], ecx
mov eax, dword [ebp - 0x2b0]
cdq
and edx, 3
add eax, edx
sar eax, 2
test eax, eax
jne 0x44d7a9
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x44d7a9
mov eax, 1
jmp 0x44d7ab
xor eax, eax
test eax, eax
je 0x44d7bc
mov eax, ebx
mov dword [ebp - 0x2b8], esi
jmp 0x44d84d
mov eax, dword [ebp - 0x2b0]
movd xmm4, ecx
movd xmm5, eax
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
cmp eax, ecx
jle 0x44d7dd
movaps xmm3, xmm4
divss xmm3, xmm5
jmp 0x44d7e4
movaps xmm3, xmm5
divss xmm3, xmm4
movss xmm2, dword [0x4d91c8]
movss xmm6, dword [0x4d9194]
movss dword [ebp - 0x2b4], xmm2
movaps xmm1, xmm2
mulss xmm1, xmm3
movaps xmm0, xmm1
mulss xmm0, xmm5
cvttss2si eax, xmm0
mulss xmm1, xmm4
cvttss2si ecx, xmm1
cmp eax, ebx
jg 0x44d824
cmp ecx, esi
jg 0x44d824
addss xmm2, xmm6
jmp 0x44d7f4
subss xmm2, xmm6
movss dword [ebp - 0x2b4], xmm2
mulss xmm2, xmm3
movaps xmm0, xmm2
mulss xmm0, xmm5
cvttss2si eax, xmm0
mulss xmm2, xmm4
cvttss2si ecx, xmm2
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 0x2bc], eax
sub ebx, eax
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [ebp - 0x22c], ecx
sub esi, dword [ebp - 0x2b8]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x228], eax
add ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x224], ecx
add eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x220], eax
push dword [ebp - 0x2c0]
push dword [ebp - 0x2b0]
push 0
push 0
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [ebp - 0x23c]
push eax
mov ecx, edi
call fcn.0044d5e0
lea edx, [ebp - 0x23c]
push edx
lea edx, [ebp - 0x22c]
jmp 0x44d9a3
mov ecx, edi
call fcn.0044d640
test eax, eax
jne 0x44d9ac
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0xc4]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc0]
movaps xmm0, xmmword [0x4d9910]
movups xmmword [ebp - 0x29c], xmm0
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x29c]
push edx
push eax
call dword [ecx + 0xbc]
movaps xmm0, xmmword [0x4d9920]
movups xmmword [ebp - 0x27c], xmm0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x27c]
push edx
push eax
call dword [ecx + 0x78]
call fcn.0041ad40
push eax
call fcn.0041ad00
push eax
push 0
push 0
lea eax, [ebp - 0x2ac]
push eax
mov esi, dword [sym.imp.USER32.dll_SetRect]
call esi
call fcn.0041ad40
push eax
call fcn.0041ad00
push eax
push 0
push 0
lea eax, [ebp - 0x24c]
push eax
call esi
lea eax, [ebp - 0x24c]
push eax
mov ecx, edi
call fcn.0044d5e0
lea edx, [ebp - 0x24c]
push edx
lea edx, [ebp - 0x2ac]
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0xc4]
mov dword [ebp - 0x2c8], eax
wait
mov dword [ebp - 4], 0xfffffffe
cmp eax, 0x8899000c
jne 0x44d9e7
mov ecx, edi
call fcn.0044d130
push 0
push 0
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x44d9ee
test eax, eax
jns 0x44d9ee
mov dword [edi + 0x24], eax
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004912f2
mov esp, ebp
pop ebp
ret