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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x6feae4]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x78]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x24], eax
push ecx
mov eax, dword [esi]
push esi
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
call dword [eax + 0x5c]
mov eax, dword [esp + 0x80]
mov ecx, eax
mov edi, dword [esp + 0x84]
neg ecx
add dword [esp + 0x88], ecx
mov edx, edi
neg edx
add eax, ecx
add dword [esp + 0x8c], edx
add edi, edx
mov dword [esp + 0x80], eax
mov eax, dword [esi]
mov dword [esp + 0x84], edi
movaps xmm0, xmmword [esp + 0x80]
push esi
movaps xmmword [esp + 0x54], xmm0
call dword [eax + 0x198]
push dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
sub ecx, dword [esp + 0x50]
mov dword [esp + 0x20], edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x44], eax
test ecx, ecx
jle 0x492b39
test eax, eax
jle 0x492b39
xorps xmm0, xmm0
mov dword [esp + 0xe0], 0x28
neg eax
movlpd qword [esp + 0xf0], xmm0
movlpd qword [esp + 0xf8], xmm0
movlpd qword [esp + 0x100], xmm0
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], 0x200001
push 0
push 0
lea eax, [esp + 0x74]
push eax
push 0
lea eax, [esp + 0xf0]
push eax
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push edi
mov dword [esp + 0x54], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi]
push esi
mov dword [esp + 0x4c], eax
call dword [ecx + 0x2c]
push str.SYSPLUGIN
push dword [esi + 0x438]
mov edi, eax
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x492c07
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x492c07
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
test eax, eax
je 0x492c07
mov ecx, dword [eax]
push 5
push edi
push eax
call dword [ecx + 0x2c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x492c07
mov ecx, dword [esi]
mov edi, dword [eax]
push esi
call dword [ecx + 0x80]
push eax
mov eax, dword [esi]
push esi
call dword [eax + 0x34]
push eax
mov eax, dword [esi]
push esi
call dword [eax + 0x54]
push eax
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x34]
push dword [esp + 0x28]
call dword [edi + 0x34]
mov eax, dword [esp + 0x14]
push esi
mov edi, dword [eax]
mov eax, dword [esi]
call dword [eax + 0x80]
push eax
mov eax, dword [esi]
push esi
call dword [eax + 0x34]
push eax
mov eax, dword [esi]
push esi
call dword [eax + 0x54]
push eax
lea eax, [esp + 0x8c]
push eax
push dword [esp + 0x30]
push dword [esp + 0x28]
call dword [edi + 0x34]
movaps xmm0, xmmword [esp + 0x50]
mov eax, dword [esi + 0x4dc]
mov edi, dword [sym.imp.USER32.dll_GetPropW]
push str.SYSPLUGIN
push dword [esi + 0x438]
movaps xmmword [esp + 0x78], xmm0
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], eax
call edi
test eax, eax
je 0x4930e9
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4930e9
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
test eax, eax
je 0x4930e9
mov edx, dword [eax]
lea ecx, [esi + 0x4e0]
push 5
push ecx
push eax
call dword [edx + 0x2c]
mov dword [esp + 0x34], eax
test eax, eax
je 0x4930e9
push str.SYSPLUGIN
push dword [esi + 0x438]
call edi
test eax, eax
je 0x492ca8
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x492ca8
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
test eax, eax
je 0x492ca8
mov edx, dword [eax]
lea ecx, [esi + 0x704]
push 1
push ecx
push eax
call dword [edx + 0x2c]
mov dword [esp + 0x28], eax
jmp 0x492cb0
mov dword [esp + 0x28], 0
push str.SYSPLUGIN
push dword [esi + 0x438]
call edi
test eax, eax
je 0x492ce7
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x492ce7
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
test eax, eax
je 0x492ce7
mov edx, dword [eax]
lea ecx, [esi + 0x5f0]
push 5
push ecx
push eax
call dword [edx + 0x2c]
mov dword [esp + 0x14], eax
jmp 0x492cef
mov dword [esp + 0x14], 0
mov eax, dword [esi]
push esi
call dword [eax + 0x194]
xor edx, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], edx
test eax, eax
jle 0x4930e9
mov ecx, dword [esp + 0x70]
nop
mov eax, dword [esi + 0x4b0]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x4930d6
mov eax, dword [edx + 8]
add eax, ecx
mov dword [esp + 0x78], eax
lea eax, [edx + 0x18]
cmp dword [eax + 0x14], 8
mov dword [esp + 0x18], eax
jb 0x492d41
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x34]
mov eax, dword [esi]
push esi
mov edi, dword [edi]
call dword [eax + 0x80]
mov ecx, dword [esp + 0x1c]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x78]
push dword [ecx + 0x14]
push eax
push dword [esp + 0x30]
push dword [esp + 0x48]
call dword [edi + 0x34]
mov edi, dword [esp + 0x1c]
cmp dword [edi + 0x44], 8
lea eax, [edi + 0x30]
mov dword [esp + 0x18], eax
jb 0x492d83
mov eax, dword [eax]
mov dword [esp + 0x18], eax
push str.SYSPLUGIN
push dword [esi + 0x438]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x492e7e
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x492e7e
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
test eax, eax
je 0x492e7e
mov ecx, dword [eax]
push 1
push dword [esp + 0x1c]
push eax
call dword [ecx + 0x2c]
mov dword [esp + 0x18], eax
test eax, eax
je 0x492e7e
mov edx, dword [esi + 0x5e0]
add edx, dword [esp + 0x70]
mov ecx, dword [esi + 0x5e8]
mov eax, dword [esi + 0x5ec]
add ecx, edx
mov dword [esp + 0xc8], ecx
mov ecx, dword [esi + 0x5e4]
add ecx, dword [esp + 0x74]
add eax, ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0xc4]
mov dword [esp + 0xc8], ecx
push eax
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x492e7e
mov eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x94]
mov edi, dword [esp + 0x98]
sub edi, dword [esp + 0x90]
mov dword [esp + 0x30], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x80]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x20]
push eax
push 0
push 0
push dword [esp + 0x24]
push dword [esp + 0x40]
push edi
push dword [esp + 0xac]
call fcn.0048e110
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x14], 0
je 0x492f46
cmp dword [edi + 0xc], 0
je 0x492f46
movaps xmm0, xmmword [esp + 0x70]
mov ecx, dword [esi + 0x6f0]
movaps xmmword [esp + 0xa0], xmm0
test ecx, ecx
jns 0x492eb0
add ecx, dword [esp + 0x78]
jmp 0x492eb4
add ecx, dword [esp + 0x70]
mov eax, dword [esi + 0x6f8]
mov edi, dword [sym.imp.USER32.dll_IntersectRect]
add eax, ecx
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x6fc]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esi + 0x6f4]
add ecx, dword [esp + 0x74]
add eax, ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xac], eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x114]
push eax
call edi
test eax, eax
je 0x492f4c
mov eax, dword [esp + 0x14]
push esi
mov edi, dword [eax]
mov eax, dword [esi]
call dword [eax + 0x80]
mov ecx, dword [esp + 0x1c]
push eax
push 0
mov eax, 0x100
cmp dword [ecx + 0x10], 0
mov ecx, 1
cmovne eax, ecx
push eax
lea eax, [esp + 0x118]
push eax
push dword [esp + 0x30]
push dword [esp + 0x28]
call dword [edi + 0x34]
mov edi, dword [sym.imp.USER32.dll_IntersectRect]
cmp dword [esi + 0x808], 0
je 0x49308c
cmp dword [esp + 0x2c], 0
jne 0x49308c
mov edx, dword [esi + 0x80c]
add edx, dword [esp + 0x70]
mov eax, dword [esi + 0x814]
mov ecx, dword [esi + 0x810]
add eax, edx
add ecx, dword [esp + 0x74]
mov dword [esp + 0xd8], eax
mov eax, dword [esi + 0x818]
push str.SYSPLUGIN
push dword [esi + 0x438]
add eax, ecx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe4], eax
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x49308c
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x49308c
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
test eax, eax
je 0x49308c
mov edx, dword [eax]
lea ecx, [esi + 0x81c]
push 1
push ecx
push eax
call dword [edx + 0x2c]
mov dword [esp + 0x30], eax
test eax, eax
je 0x49308c
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xb8]
push eax
call edi
test eax, eax
je 0x49308c
mov eax, dword [esi + 0x4d8]
mov dword [esp + 0x1c], 0
cmp eax, 2
jne 0x49302b
mov eax, dword [esi + 0x814]
jmp 0x493038
cmp eax, 3
jne 0x49303c
mov eax, dword [esi + 0x814]
add eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xbc]
sub eax, dword [esp + 0xb4]
mov edi, dword [esp + 0xb8]
sub edi, dword [esp + 0xb0]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x80]
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0x20]
push eax
push 0
push dword [esp + 0x24]
push dword [esp + 0x3c]
push dword [esp + 0x28]
push edi
push dword [esp + 0xcc]
call fcn.0048e110
cmp dword [esp + 0x28], 0
je 0x4930c8
mov eax, dword [esi]
mov edi, dword [esp + 0x7c]
sub edi, dword [esp + 0x74]
push esi
call dword [eax + 0x80]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x20]
push eax
push 0
push 0
push dword [esp + 0x34]
push edi
push dword [esi + 0x804]
push dword [esp + 0x8c]
call fcn.0048e110
mov ecx, dword [esi + 0x804]
add ecx, dword [esp + 0x78]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x2c], edx
cmp edx, dword [esp + 0x40]
jl 0x492d10
mov eax, dword [esi + 0x4d4]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
sub ecx, eax
sub ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], 0x1ff0000
push dword [esp + 0x14]
push edx
push ecx
push 0
push eax
push esi
push edx
push ecx
push 0
push 0
push dword [esp + 0x4c]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
push dword [esp + 0x48]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x4c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, esp
call fcn.0060963b
mov esp, ebp
pop ebp
ret 8