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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x5baade
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x629960]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
mov eax, dword [0x629960]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
lea eax, [esp + 0x24]
xorps xmm0, xmm0
push eax
push dword [edi + 0x20]
movdqa xmmword [esp + 0x2c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0049a9b5
mov esi, eax
lea ecx, [esp + 0x44]
xorps xmm0, xmm0
mov dword [esp + 0x1c], esi
movdqa xmmword [esp + 0x44], xmm0
call fcn.0049a6c3
mov dword [esp + 0xd0], 0
test esi, esi
jne 0x486146
xor eax, eax
jmp 0x486149
mov eax, dword [esi + 4]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call esi
push eax
lea ecx, [esp + 0x48]
call fcn.0049a7f6
mov eax, dword [esp + 0x2c]
xorps xmm0, xmm0
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
push 0
movdqu xmmword [esp + 0x9c], xmm0
push 0
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x28]
push eax
push 1
lea eax, [esp + 0xa4]
movq qword [esp + 0xc8], xmm0
push eax
movdqu xmmword [esp + 0xbc], xmm0
push 0
mov dword [esp + 0x38], 0
mov dword [esp + 0xac], 0x28
mov dword [esp + 0xb8], 0x200001
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xcc], 0x100
call dword [sym.imp.GDI32.dll_CreateDIBSection]
test eax, eax
je 0x486682
push eax
call fcn.0049a9c7
mov dword [esp + 0x10], eax
test eax, eax
jne 0x486201
xor ecx, ecx
jmp 0x486204
mov ecx, dword [eax + 4]
push ecx
push dword [esp + 0x4c]
call fcn.0049ac5e
push 1
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], eax
call fcn.0049ad3f
cmp dword [edi + 0x80], 0
je 0x48628c
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push dword [esp + 0x4c]
xorps xmm0, xmm0
movq qword [esp + 0x64], xmm0
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov edx, dword [edi + 0x80]
push 8
push 8
push 8
push 8
push dword [edi + 0x88]
mov dword [esp + 0x74], eax
push dword [edi + 0x84]
mov eax, dword [esp + 0x38]
push ecx
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x78]
lea eax, [esp + 0x40]
push 0
push eax
call fcn.00480290
add esp, 0x24
push dword [esp + 0x5c]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
jmp 0x4862e4
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
sub eax, edx
mov ecx, dword [esp + 0x24]
push 0xd19300
push eax
mov eax, dword [esp + 0x34]
sub eax, ecx
push eax
push edx
push ecx
lea ecx, [esp + 0x58]
call fcn.0049f9a8
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
sub eax, edx
mov ecx, dword [esp + 0x24]
sub eax, 2
push 0xffffff
push eax
mov eax, dword [esp + 0x34]
sub eax, ecx
sub eax, 2
push eax
lea eax, [edx + 1]
push eax
lea eax, [ecx + 1]
push eax
lea ecx, [esp + 0x58]
call fcn.0049f9a8
xorps xmm0, xmm0
lea ecx, [esp + 0x64]
movdqa xmmword [esp + 0x64], xmm0
call fcn.0049a6c3
mov byte [esp + 0xd0], 1
push dword [esp + 0x48]
call esi
push eax
lea ecx, [esp + 0x68]
call fcn.0049a7f6
push 1
lea ecx, [esp + 0x68]
call fcn.0049ad3f
xorps xmm0, xmm0
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], vtable.CBitmap.0
mov byte [esp + 0xd0], 2
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push ecx
push eax
push dword [esp + 0x50]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x40]
call fcn.0049a82c
push dword [esp + 0x40]
push dword [esp + 0x6c]
call fcn.0049ac5e
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
push 0xffffff
push ecx
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
push ecx
push 0
push 0
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], eax
call fcn.0049f9a8
movdqu xmm0, xmmword [esp + 0x24]
mov edx, dword [edi]
sub esp, 0x10
mov eax, esp
mov ecx, edi
movdqu xmmword [eax], xmm0
lea eax, [esp + 0x74]
push eax
call dword [edx + 0x160]
push 0
push 0
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_GetBitmapBits]
push eax
mov dword [esp + 0x10], eax
call fcn.0048c323
add esp, 4
mov esi, eax
push esi
push dword [esp + 0x10]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_GetBitmapBits]
mov eax, dword [esp + 0xc]
xor ecx, ecx
cmp eax, 3
jbe 0x48643c
mov edx, 3
sub edx, esi
mov al, byte [ecx + esi]
cmp al, 0xff
jne 0x486411
cmp byte [ecx + esi + 1], al
jne 0x486411
cmp byte [ecx + esi + 2], al
jne 0x486411
mov word [ecx + esi], 0
mov byte [ecx + esi + 2], 0
jmp 0x48642a
test al, al
jne 0x486425
cmp byte [ecx + esi + 1], al
jne 0x486425
cmp byte [ecx + esi + 2], al
jne 0x486425
mov byte [ecx + esi], 1
mov byte [ecx + esi + 3], 0xff
add ecx, 4
lea eax, [edx + ecx]
add eax, esi
cmp eax, dword [esp + 0xc]
jb 0x4863f1
mov eax, dword [esp + 0xc]
push esi
push eax
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_SetBitmapBits]
push esi
call fcn.0048c32c
mov ecx, dword [esp + 0x34]
add esp, 4
sub ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov dword [esp + 0xc], 0x1ff0000
push dword [esp + 0xc]
push ecx
push eax
push 0
push 0
push dword [esp + 0x7c]
push ecx
push eax
push 0
push 0
push dword [esp + 0x70]
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x486492
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x6c]
call fcn.0049ac5e
lea ecx, [esp + 0x3c]
call fcn.0049a8e4
lea ecx, [esp + 0x64]
call fcn.0049a8ce
movdqu xmm0, xmmword [esp + 0x24]
mov edx, dword [edi]
sub esp, 0x10
mov eax, esp
mov ecx, edi
movdqu xmmword [eax], xmm0
lea eax, [esp + 0x54]
push eax
call dword [edx + 0x164]
mov eax, dword [esp + 0x10]
push 0
push 0
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_GetBitmapBits]
push eax
mov dword [esp + 0x10], eax
call fcn.0048c323
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x10]
push esi
push dword [esp + 0x10]
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_GetBitmapBits]
mov eax, dword [esp + 0xc]
xor edx, edx
cmp eax, 3
jbe 0x48653f
mov edi, 3
mov ecx, esi
sub edi, esi
cmp byte [ecx], 0
jne 0x486528
cmp byte [edx + esi + 1], 0
jne 0x486528
cmp byte [edx + esi + 2], 0
jne 0x486528
mov byte [ecx], 1
add ecx, 4
add edx, 4
lea eax, [edi + ecx]
cmp eax, dword [esp + 0xc]
jb 0x486512
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
push esi
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_SetBitmapBits]
push esi
call fcn.0048c32c
add esp, 4
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.0049a858
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
sub eax, ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x30]
push 0xffffffffffffffec
push dword [edi + 0x20]
sub eax, edx
mov dword [esp + 0x40], 0
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x40], 0x1ff0000
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x4865dc
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [esp + 0x1c]
xor eax, eax
cmp dword [edi + 0x80], eax
setne al
inc eax
test esi, esi
jne 0x4865f4
xor ecx, ecx
jmp 0x4865f7
mov ecx, dword [esi + 4]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0xa4]
push eax
push ecx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x486630
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x4c]
call fcn.0049ac5e
mov ecx, dword [esp + 0x10]
call fcn.0049a8e4
lea ecx, [esp + 0x44]
call fcn.0049a8ce
push dword [esi + 4]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0xd0], 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], vtable.CBitmap.0
call fcn.00474d70
lea ecx, [esp + 0x64]
mov byte [esp + 0xd0], 0
call fcn.0049a72b
lea ecx, [esp + 0x44]
mov dword [esp + 0xd0], 0xffffffff
call fcn.0049a72b
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret