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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x6feae4]
xor eax, esp
mov dword [esp + 0xe4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x68]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x30], eax
push ecx
push edi
mov eax, dword [edi]
mov dword [esp + 0x24], edi
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
call dword [eax + 0x5c]
mov esi, dword [esp + 0x74]
mov edx, esi
mov eax, dword [esp + 0x70]
neg edx
push dword [esp + 0x30]
add dword [esp + 0x80], edx
mov ecx, eax
neg ecx
add esi, edx
add dword [esp + 0x7c], ecx
add eax, ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x78]
mov esi, eax
mov ecx, dword [esp + 0x7c]
sub edx, dword [esp + 0x70]
sub ecx, dword [esp + 0x74]
mov dword [esp + 0x14], esi
test edx, edx
jle 0x484e2e
test ecx, ecx
jle 0x484e2e
xorps xmm0, xmm0
mov dword [esp + 0xa4], 0x28
neg ecx
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xbc], xmm0
movlpd qword [esp + 0xc4], xmm0
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0x200001
push 0
push 0
lea eax, [esp + 0x70]
push eax
push 0
lea eax, [esp + 0xb4]
push eax
push dword [esp + 0x44]
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push esi
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x7c]
sub edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
sub ecx, dword [esp + 0x70]
mov dword [esp + 0x24], 0x1ff0000
mov esi, dword [esp + 0x24]
push esi
push edx
push ecx
push 0
push 0
push dword [esp + 0x44]
mov dword [esp + 0x64], eax
push edx
push ecx
push 0
push 0
push dword [esp + 0x3c]
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 + 0x28], eax
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x484f07
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x484f07
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
test eax, eax
je 0x484f07
mov ecx, dword [eax]
push 5
push dword [esp + 0x24]
push eax
call dword [ecx + 0x2c]
mov dword [esp + 0x20], eax
test eax, eax
je 0x484f07
mov edi, dword [eax]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov ecx, dword [esp + 0x1c]
push eax
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x54]
push eax
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x24]
push dword [esp + 0x34]
call dword [edi + 0x34]
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
mov ecx, edi
call fcn.00485d50
mov edi, eax
test edi, edi
je 0x4852f5
mov ecx, dword [esp + 0x1c]
cmp edi, dword [ecx + 0x7c0]
je 0x4852f5
lea edx, [esp + 0x54]
mov esi, ecx
call fcn.004847b0
mov eax, dword [esi + 0x7b8]
push str.SYSPLUGIN
push dword [esi + 0x438]
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x484f85
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x484f85
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
test eax, eax
je 0x484f85
mov edx, dword [eax]
lea ecx, [esi + 0x9d0]
push 2
push ecx
push eax
call dword [edx + 0x2c]
mov dword [esp + 0x20], eax
jmp 0x484f8d
mov dword [esp + 0x20], 0
mov eax, dword [esi]
lea ecx, [esp + 0xe4]
push ecx
push esi
call dword [eax + 0x1a0]
mov ecx, dword [esp + 0x38]
neg ecx
mov dword [esp + 0x64], esi
neg dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0xad0]
add eax, ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], eax
mov ecx, 4
xor eax, eax
cmp edi, dword [esi + 0x7c4]
push esi
sete al
inc eax
cmp edi, dword [esi + 0x7c8]
cmove eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
call dword [eax + 0x80]
mov dword [esp + 0x18], eax
test esi, esi
je 0x485072
mov ecx, dword [0x7061d4]
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x70], 0
push eax
call fcn.0046a470
mov ecx, dword [0x7061d4]
mov eax, dword [esp + 0x6c]
cmp eax, dword [ecx]
je 0x485072
lea eax, [esi + 0x7d0]
test eax, eax
je 0x485072
cmp dword [esp + 0x14], 0
je 0x485072
push 5
mov edx, eax
mov ecx, esi
call fcn.00468b90
test eax, eax
je 0x485072
push dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x84]
push 0
push dword [esp + 0x30]
push edx
push dword [esp + 0x24]
push eax
call dword [ecx + 0x34]
mov eax, dword [edi + 0x34]
mov ecx, dword [esi + 0xad4]
dec eax
mov edx, dword [esi + 0xad8]
imul eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x6c]
mov dword [esp + 0x94], eax
add eax, ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x8c]
sub eax, edx
sub eax, dword [esp + 0x84]
mov eax, eax
test eax, eax
jns 0x4850bd
add eax, 1
sar eax, 1
add eax, dword [esp + 0x84]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
add eax, edx
mov dword [esp + 0xa0], eax
push edi
mov eax, dword [esi]
push esi
call dword [eax + 0x1d8]
test eax, eax
je 0x485126
cmp dword [edi + 0x38], 0
mov ecx, 1
mov eax, 0x100
cmovne eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x80]
push eax
push 0
push dword [esp + 0x30]
lea eax, [esp + 0xa0]
mov ecx, esi
push eax
push dword [esp + 0x24]
lea edx, [esi + 0x8d0]
call fcn.0046a090
mov eax, dword [esi + 0xad4]
add eax, dword [esi + 0xae4]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esi + 0xae0]
add ecx, eax
mov eax, dword [esp + 0x80]
add eax, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xadc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x8c]
sub eax, edx
mov dword [esp + 0x6c], ecx
sub eax, dword [esp + 0x84]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x84]
cmp dword [edi + 0x30], 8
mov dword [esp + 0x48], eax
lea eax, [edi + 0x1c]
mov dword [esp + 0x18], eax
jb 0x485190
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 0x4851f5
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4851f5
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
test eax, eax
je 0x4851f5
mov ecx, dword [eax]
push 1
push dword [esp + 0x1c]
push eax
call dword [ecx + 0x2c]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4851f5
mov ecx, dword [esi]
push esi
call dword [ecx + 0x80]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
push eax
push 0
push 0
push dword [esp + 0x34]
push dword [esp + 0x50]
push dword [esp + 0x58]
push dword [esp + 0x60]
call fcn.0048e110
movaps xmm0, xmmword [esp + 0x80]
mov ecx, dword [esi + 0xadc]
add ecx, dword [esp + 0x6c]
movd eax, xmm0
movaps xmmword [esp + 0xd0], xmm0
add ecx, eax
add ecx, dword [esi + 0xae8]
mov dword [esp + 0xd0], ecx
mov eax, dword [edi + 0x10]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x48526c
cmp dword [edi + 0x14], 8
mov dword [esp + 0x18], edi
jb 0x48523d
mov eax, dword [edi]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x80]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0xd0]
push ecx
mov ecx, dword [esp + 0x18]
push 0x24
push eax
push dword [esp + 0x48]
push dword [esp + 0x28]
push dword [esi + 0xaec]
call fcn.0046b4b0
mov edx, dword [esp + 0x7c]
mov ecx, edx
mov eax, dword [esp + 0x2c]
sub ecx, dword [esp + 0x74]
sub eax, dword [esp + 0x38]
cmp eax, ecx
jg 0x4852ad
mov eax, dword [esp + 0x2c]
add eax, dword [esi + 0xad0]
mov ecx, dword [edi + 0x44]
mov dword [esp + 0x2c], eax
mov eax, edi
test ecx, ecx
je 0x485310
cmp dword [edi + 0x38], 0
je 0x485310
mov edi, ecx
test edi, edi
mov ecx, dword [esp + 0x2c]
jne 0x484fb0
sub edx, dword [esp + 0x74]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
push esi
mov esi, dword [esp + 0x18]
push edx
push eax
push 0
push 0
push esi
push edx
push eax
push 0
push 0
push dword [esp + 0x58]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
push dword [esp + 0x4c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x50]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.0060963b
mov esp, ebp
pop ebp
ret 8
mov edi, dword [eax + 0x40]
test edi, edi
jne 0x4852a3
mov eax, dword [eax + 0x3c]
test eax, eax
jne 0x485310
jmp 0x4852ad