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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46c6f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00417360
mov ecx, ebx
mov ebp, eax
call fcn.004175a0
mov edx, dword [ebx + 4]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0x84], eax
push ebp
mov dword [esp + 0x8c], eax
push edx
mov dword [esp + 0x94], eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageInfo]
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0044c81d
push eax
lea ecx, [esp + 0x90]
call fcn.00452ded
xor edi, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0xc4], edi
call fcn.004528d0
mov edx, dword [esp + 0x90]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edx
mov byte [esp + 0xc8], 1
call esi
push eax
lea ecx, [esp + 0x28]
call fcn.00452d6c
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], vtable.CBitmap.0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub eax, edx
lea eax, [eax + eax*4]
push ecx
push eax
mov eax, dword [esp + 0x98]
push eax
mov byte [esp + 0xd0], 2
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x38]
call fcn.00453053
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], vtable.CBitmap.0
mov byte [esp + 0xc4], 3
call fcn.00465db5
mov eax, dword [eax + 0xc]
push 0x386
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push eax
lea ecx, [esp + 0x40]
call fcn.00453053
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0xa0]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea ecx, [esp + 0x4c]
call fcn.004528d0
mov eax, dword [esp + 0x90]
push eax
mov byte [esp + 0xc8], 4
call esi
push eax
lea ecx, [esp + 0x50]
call fcn.00452d6c
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
push ecx
push edx
call fcn.004530dc
mov dword [esp + 0x60], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
push ecx
push edx
mov byte [esp + 0xcc], 5
call fcn.004530dc
mov dword [esp + 0x68], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0x1c]
push 0xffffff
push ecx
sub eax, edx
lea edx, [eax + eax*4]
push edx
push edi
push edi
lea ecx, [esp + 0x38]
mov byte [esp + 0xd8], 6
call fcn.004609b2
mov eax, dword [ebx + 4]
push 0xffffffffffffffff
push eax
xor esi, esi
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov ecx, dword [esp + 0x28]
mov edx, dword [ebx + 4]
push esi
push edi
push esi
push ecx
push ebp
push edx
mov dword [esp + 0x60], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
push edi
push edi
sub esi, edx
mov edx, dword [ebx + 4]
push esi
push eax
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
push edi
push edi
add esi, eax
mov eax, dword [ebx + 4]
push esi
push ecx
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push edi
sub ecx, eax
mov eax, dword [ebx + 4]
push edi
add esi, ecx
push esi
push edx
push ebp
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov ecx, dword [esp + 0x48]
mov edx, dword [ebx + 4]
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jle 0x417a69
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov edx, eax
sub edx, ecx
xor ebp, ebp
test edx, edx
jle 0x417a56
mov edi, edi
mov eax, dword [esp + 0x28]
push ebp
push esi
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, 0xffffff
jne 0x4178e6
jmp 0x4178fd
push eax
call fcn.00425d60
push ecx
fstp qword [esp]
push 0xff0000
call fcn.00426be0
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov edi, dword [sym.imp.GDI32.dll_SetPixel]
push eax
push ebp
push esi
push ecx
call edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
sub eax, edx
mov edx, dword [esp + 0x28]
push ebp
add eax, esi
push eax
push edx
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, 0xffffff
jne 0x41792f
jmp 0x41794a
push eax
call fcn.00425d60
fld st(0)
fmulp st(1)
push ecx
fstp qword [esp]
push 0xff00
call fcn.00426be0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
sub ecx, edx
push ebp
add ecx, esi
push ecx
push eax
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
sub ecx, eax
push ebp
lea eax, [esi + ecx*2]
push eax
push edx
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, 0xffffff
jne 0x417983
jmp 0x41799e
push eax
call fcn.00425d60
fld st(0)
fmulp st(1)
push ecx
fstp qword [esp]
push 0xffff
call fcn.00426be0
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
sub ecx, edx
mov edx, dword [esp + 0x2c]
push ebp
lea ecx, [esi + ecx*2]
push ecx
push edx
call edi
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xa8]
sub edi, ecx
mov ecx, dword [esp + 0x14]
add edi, eax
mov eax, dword [esp + 0x1c]
sub eax, ecx
lea ecx, [esi + eax*2]
add ecx, eax
mov eax, dword [esp + 0x28]
push ebp
push ecx
push eax
add edi, ebp
call dword [sym.imp.GDI32.dll_GetPixel]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
sub ecx, edx
push eax
lea edx, [esi + ecx*2]
add edx, ecx
mov ecx, dword [esp + 0x2c]
push ebp
push edx
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
cmp esi, dword [esp + 0xa4]
jge 0x417a41
test edi, edi
jl 0x417a41
mov edx, dword [esp + 0x50]
push edi
push esi
push edx
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, 0xff00ff
je 0x417a41
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
sub ecx, edx
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esi + ecx*2]
push ebp
add edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, eax
inc ebp
sub edx, ecx
cmp ebp, edx
jl 0x4178d0
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
inc esi
sub edx, ebp
cmp esi, edx
jl 0x4178c0
mov eax, dword [esp + 0x68]
test eax, eax
mov byte [esp + 0xc4], 5
je 0x417a7c
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x54]
push eax
call fcn.004530dc
mov eax, dword [esp + 0x60]
test eax, eax
mov byte [esp + 0xc4], 4
je 0x417a9a
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.004530dc
mov edx, dword [esp + 0x38]
mov eax, dword [ebx + 4]
push 0xffffff
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov dword [ebx + 0x24], eax
inc eax
mov dword [ebx + 0x28], eax
inc eax
mov dword [ebx + 0x2c], eax
inc eax
mov dword [ebx + 0x34], eax
inc eax
lea ecx, [esp + 0x4c]
mov dword [ebx + 0x30], eax
mov byte [esp + 0xc4], 3
call fcn.00452dd4
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc4], 2
mov dword [esp + 0x3c], esi
call fcn.004530aa
lea ecx, [esp + 0x34]
mov byte [esp + 0xc4], 1
mov dword [esp + 0x34], esi
call fcn.004530aa
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], 0
call fcn.00452dd4
lea ecx, [esp + 0x8c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.00452e48
mov ecx, dword [esp + 0xbc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret