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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov ebx, ecx
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 0x78], eax
pxor xmm0, xmm0
lea eax, [esp + 0x60]
movdqa xmmword [eax], xmm0
lea edi, [ecx + 0x400]
push edi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x64987d
mov esi, dword [ebp + 8]
cmp byte [ebx + 0xaa5], 0
je 0x64939d
mov ecx, ebx
push esi
call fcn.005fb9c6
test al, al
jne 0x64987d
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
mov byte [esp + 0x5c], 0
mov eax, dword [ebx + 0xa54]
mov ecx, dword [ebx + 0xa58]
test eax, eax
jg 0x6493ea
test ecx, ecx
jg 0x6493ea
movdqa xmm0, xmmword [esp + 0x60]
sub esp, 0x18
lea eax, [esp + 0x58]
mov dword [esp + 0x14], eax
movdqu xmmword [esp + 4], xmm0
mov dword [esp], esi
call fcn.005e004a
add esp, 0x18
jmp 0x649422
movdqu xmm0, xmmword [ebx + 0x400]
movapd xmm1, xmmword [esp + 0x60]
sub esp, 0x30
lea edx, [esp + 0x70]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
movdqu xmmword [esp + 0x14], xmm0
movupd xmmword [esp + 4], xmm1
mov dword [esp], esi
call fcn.005e00d2
add esp, 0x30
mov ecx, ebx
push dword [ebp + 0xc]
push esi
call fcn.005fb710
lea ecx, [ebx + 0xac0]
mov dword [esp + 4], ecx
call fcn.004aef30
test eax, eax
jle 0x64976f
mov dword [esp + 0xc], edi
movups xmm0, xmmword [edi]
movaps xmmword [esp + 0x30], xmm0
movdqu xmm0, xmmword [ebx + 0xacc]
movdqa xmm1, xmmword [esp + 0x30]
movdqa xmm2, xmm1
paddd xmm2, xmm0
psubd xmm1, xmm0
movsd xmm1, xmm2
movapd xmmword [esp + 0x30], xmm1
mov edi, ebx
mov ebx, dword [ebx + 0xaec]
test ebx, ebx
je 0x6494c5
mov eax, dword [ebx]
mov esi, dword [eax + 0x114]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
test al, al
je 0x6494c5
mov ecx, dword [edi + 0xaec]
call fcn.00645016
test al, al
jne 0x6494c5
mov esi, dword [edi + 0xaec]
mov eax, dword [esi]
mov ebx, dword [eax + 0x80]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
sub dword [esp + 0x38], eax
mov dword [esp + 8], edi
mov ebx, dword [edi + 0xaf0]
test ebx, ebx
je 0x649520
mov eax, dword [ebx]
mov esi, dword [eax + 0x114]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
test al, al
je 0x649520
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0xaf0]
call fcn.00645016
test al, al
jne 0x649520
mov eax, dword [esp + 8]
mov esi, dword [eax + 0xaf0]
mov eax, dword [esi]
mov ebx, dword [eax + 0x88]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
sub dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
mov eax, dword [ebp + 8]
je 0x6496a5
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x10]
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
mov byte [ecx + 0x1c], 0
movdqa xmm0, xmmword [esp + 0x60]
sub esp, 0x18
mov dword [esp + 0x14], ecx
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
call fcn.005e004a
add esp, 0x18
mov esi, dword [esp + 4]
mov ecx, esi
call fcn.004aef30
test eax, eax
jle 0x649697
xor edi, edi
mov ecx, esi
push edi
call fcn.00520a5a
mov ebx, eax
mov eax, dword [eax]
mov esi, dword [eax + 0x114]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
test al, al
je 0x649683
mov eax, dword [ebx]
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x649683
mov eax, dword [ebx]
mov esi, dword [eax + 0x148]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
mov byte [esp + 3], al
mov eax, dword [ebx]
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
cmp byte [esp + 3], 0
je 0x649654
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x649683
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.005e0196
add esp, 8
mov eax, dword [ebx]
mov esi, dword [eax + 0x1a8]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push ebx
call esi
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.005e01aa
add esp, 8
jmp 0x649683
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x649683
mov eax, dword [ebx]
mov esi, dword [eax + 0x1a8]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
inc edi
mov esi, dword [esp + 4]
mov ecx, esi
call fcn.004aef30
cmp edi, eax
jl 0x649586
lea ecx, [esp + 0x10]
call fcn.005e001c
jmp 0x64976b
mov esi, dword [esp + 4]
mov ecx, esi
call fcn.004aef30
test eax, eax
jle 0x64976b
xor edi, edi
mov ecx, esi
push edi
call fcn.00520a5a
mov ebx, eax
mov eax, dword [eax]
mov esi, dword [eax + 0x114]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
test al, al
je 0x649757
mov eax, dword [ebx]
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x649757
mov eax, dword [ebx]
mov esi, dword [eax + 0x148]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
test al, al
je 0x649757
mov eax, dword [ebx]
mov esi, dword [eax + 0x50]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x649757
mov eax, dword [ebx]
mov esi, dword [eax + 0x1a8]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
inc edi
mov esi, dword [esp + 4]
mov ecx, esi
call fcn.004aef30
cmp edi, eax
jl 0x6496ba
mov ebx, dword [esp + 8]
mov edi, dword [ebx + 0xaec]
test edi, edi
je 0x6497e8
mov eax, dword [edi]
mov esi, dword [eax + 0x114]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
test al, al
je 0x6497e8
mov esi, dword [ebx + 0xaec]
mov eax, dword [esi]
mov edi, dword [eax + 0x50]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x6497e8
cmp byte [ebx + 0xae7], 0
je 0x649892
mov esi, dword [ebx + 0xaec]
mov eax, dword [esi]
mov edi, dword [eax + 0x1a8]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov edi, dword [ebx + 0xaf0]
test edi, edi
je 0x64985d
mov eax, dword [edi]
mov esi, dword [eax + 0x114]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
test al, al
je 0x64985d
mov esi, dword [ebx + 0xaf0]
mov eax, dword [esi]
mov edi, dword [eax + 0x50]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x64985d
cmp byte [ebx + 0xae7], 0
je 0x6498b7
mov esi, dword [ebx + 0xaf0]
mov eax, dword [esi]
mov edi, dword [eax + 0x1a8]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c4]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push dword [ebp + 8]
call esi
lea ecx, [esp + 0x40]
call fcn.005e001c
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.006c9121
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
cmp byte [ebx + 0xae8], 0
je 0x6497c8
mov ecx, dword [ebx + 0xaec]
call fcn.006466c6
test al, al
jne 0x6497c8
jmp 0x6497e8
cmp byte [ebx + 0xae8], 0
je 0x64983d
mov ecx, dword [ebx + 0xaf0]
call fcn.006466c6
test al, al
jne 0x64983d
jmp 0x64985d