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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x6feae4]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x5c]
push edi
mov edi, dword [ebp + 8]
push ecx
push edi
mov dword [esp + 0x2c], edi
mov eax, dword [edi]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
call dword [eax + 0x5c]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x68]
mov esi, eax
mov ecx, dword [esp + 0x6c]
sub edx, dword [esp + 0x60]
sub ecx, dword [esp + 0x64]
mov dword [esp + 0x18], esi
test edx, edx
jle 0x4905fe
test ecx, ecx
jle 0x4905fe
xorps xmm0, xmm0
mov dword [esp + 0xb4], 0x28
neg ecx
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xcc], xmm0
movlpd qword [esp + 0xd4], xmm0
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], 0x200001
push 0
push 0
lea eax, [esp + 0x64]
push eax
push 0
lea eax, [esp + 0xc4]
push eax
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push esi
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x6c]
sub edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
sub ecx, dword [esp + 0x60]
mov dword [esp + 0x2c], 0x1ff0000
mov esi, dword [esp + 0x2c]
push esi
push edx
push ecx
push 0
push 0
push dword [esp + 0x48]
mov dword [esp + 0x50], eax
push edx
push ecx
push 0
push 0
push dword [esp + 0x40]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
mov eax, dword [edi]
push edi
call dword [eax + 0x2c]
push str.SYSPLUGIN
push dword [edi + 0x438]
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x490722
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x490722
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
test eax, eax
je 0x490722
mov ecx, dword [eax]
push 5
push dword [esp + 0x2c]
push eax
call dword [ecx + 0x2c]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x490722
movaps xmm1, xmmword [esp + 0x60]
mov edi, dword [esp + 0x1c]
movaps xmm0, xmm1
movd eax, xmm1
movaps xmmword [esp + 0x70], xmm1
psrldq xmm0, 4
mov edi, dword [edi]
mov ecx, eax
neg ecx
movd edx, xmm0
add dword [esp + 0x78], ecx
add eax, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x70], eax
neg edx
add dword [esp + 0x7c], edx
add dword [esp + 0x74], edx
mov eax, dword [ecx]
push ecx
call dword [eax + 0x80]
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov eax, dword [ecx]
call dword [eax + 0x54]
push eax
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [edi + 0x34]
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x7b8]
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x7bc]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x1e0]
mov eax, dword [edi]
movaps xmm0, xmmword [esp + 0x40]
push edi
movaps xmmword [esp + 0xa4], xmm0
call dword [eax + 0x1d8]
mov dword [esp + 0x10], eax
mov ecx, edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
call fcn.004922a0
mov ecx, dword [esp + 0x4c]
add ecx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xb0], ecx
neg eax
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x20]
neg ecx
push eax
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov eax, dword [esp + 0xc]
cmp eax, dword [edi + 0x9d4]
jge 0x490a2d
mov ecx, dword [esp + 0xac]
mov esi, dword [esp + 0x24]
nop dword [eax + eax]
lea edx, [eax*4]
mov eax, dword [esi + 0x9e4]
push str.SYSPLUGIN
mov edi, dword [edx + eax]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x34], edi
add ecx, dword [edi + 4]
mov dword [esp + 0xb0], ecx
mov eax, dword [edi]
push dword [eax + 0x438]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x490878
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x490878
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
test eax, eax
je 0x490878
mov edx, dword [eax]
lea ecx, [edi + 0x10]
push 5
push ecx
push eax
call dword [edx + 0x2c]
mov ecx, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x490878
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
cmp eax, 1
jne 0x49084d
cmp dword [edi + 0xc], 0
je 0x49084d
mov dword [esp + 0x14], 4
mov eax, dword [esp + 0x30]
mov edi, dword [ecx]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
push eax
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x28]
push dword [esp + 0x34]
call dword [edi + 0x34]
movaps xmm0, xmmword [esp + 0xa0]
xor edi, edi
movaps xmmword [esp + 0x90], xmm0
movd dword [esp + 0x98], xmm0
cmp dword [esp + 0x10], edi
jle 0x4909fd
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
js 0x4909f4
cmp eax, dword [esi + 0x9d4]
jge 0x4909f4
test edi, edi
js 0x4909f4
mov eax, dword [esi]
push esi
call dword [eax + 0x1d8]
cmp edi, eax
jge 0x4909ec
mov eax, dword [esi]
push esi
call dword [eax + 0x1d8]
cmp edi, eax
jge 0x4909ec
mov eax, dword [esi + 0x9d8]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4909ec
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov edx, dword [esp + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jge 0x4909ec
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4909ec
mov eax, dword [esp + 0x10]
dec eax
cmp edi, eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x90], eax
jne 0x490937
mov eax, dword [esp + 0x48]
jmp 0x490948
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x1dc]
add eax, dword [esp + 0x90]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1f4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
push str.SYSPLUGIN
mov ecx, dword [eax]
push dword [ecx + 0x438]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x4909ec
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4909ec
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
test eax, eax
je 0x4909ec
mov ecx, dword [eax]
push 5
push dword [esp + 0x24]
push eax
call dword [ecx + 0x2c]
mov edx, eax
mov dword [esp + 0x20], edx
test edx, edx
je 0x4909ec
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x18], 8
lea eax, [ecx + 4]
mov dword [esp + 0x14], eax
jb 0x4909bb
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [edx]
add eax, 0x34
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x98]
push 1
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x44]
push dword [esp + 0x34]
call dword [eax]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
inc edi
cmp edi, ecx
jl 0x4908a5
mov ecx, dword [esp + 0xac]
mov eax, ecx
sub eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x6c]
jg 0x490a25
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, dword [esi + 0x9d4]
jl 0x4907d0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x90]
push dword [esp + 0x90]
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x20]
push 0
push eax
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov edi, dword [edi + 0x7c0]
push str.SYSPLUGIN
mov dword [esp + 0x24], edi
mov eax, dword [edi]
push dword [eax + 0x438]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x490bb4
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x490bb4
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
test eax, eax
je 0x490bb4
mov edx, dword [eax]
lea ecx, [edi + 8]
push 5
push ecx
push eax
call dword [edx + 0x2c]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x490bb4
mov ecx, dword [edi]
lea eax, [esp + 0xe0]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x1e0]
mov eax, dword [edi + 0x10c]
sub eax, dword [edi + 0x108]
xor edi, edi
movaps xmm0, xmmword [esp + 0xe0]
sar eax, 2
movd ecx, xmm0
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x24], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x14], edi
test eax, eax
jle 0x490bb4
mov esi, dword [esp + 0x20]
dec eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x108]
mov edx, dword [eax + edi*4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x70], ecx
cmp edi, dword [esp + 0x30]
jne 0x490b57
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x78], eax
jmp 0x490b5e
add ecx, dword [edx + 0x18]
mov dword [esp + 0x78], ecx
cmp dword [edx + 0x14], 8
mov dword [esp + 0x28], edx
jb 0x490b6e
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov eax, dword [esi]
mov edi, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
mov edi, dword [edi]
call dword [ecx + 0x80]
push eax
push dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push dword [eax + 0x1c]
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [edi + 0x34]
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x24]
jge 0x490bb0
mov ecx, dword [esp + 0x78]
jmp 0x490b33
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x90]
push dword [esp + 0x90]
push edi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push dword [esp + 0x10]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
push esi
mov esi, dword [esp + 0x1c]
push ecx
push eax
push 0
push 0
push esi
push ecx
push eax
push 0
push 0
push dword [esp + 0x5c]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
push dword [esp + 0x38]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x3c]
call edi
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.0060963b
mov esp, ebp
pop ebp
ret 8