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

Disassembly:
push 0xffffffffffffffff
push 0x472b88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push edi
mov eax, dword [esi + 0xc]
xor ebx, ebx
push ecx
push eax
mov dword [esp + 0x18], ebx
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
push 0xfe000000
push eax
mov dword [esp + 0x94], ebx
call sub.gdiplus.dll_GdipGraphicsClear
cmp eax, ebx
je 0x407c48
mov dword [esp + 0x28], eax
mov edx, dword [esi + 0xdc]
cmp edx, ebx
je 0x407c7a
cmp dword [esi + 0x9c], ebx
jne 0x407c7a
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x74]
mov edx, dword [edx + 4]
push eax
mov eax, dword [esp + 0x28]
push ecx
push ebx
push ebx
push edx
push eax
call sub.gdiplus.dll_GdipFillRectangleI
cmp eax, ebx
je 0x407c7a
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
push ecx
push edx
push ebx
lea eax, [esp + 0x30]
push ebx
push eax
lea ecx, [esi + 0x3c]
call fcn.0040b6b0
xor ebp, ebp
mov eax, dword [esi + 0xec]
cmp eax, ebx
je 0x407cd5
mov ecx, dword [esi + 0xf0]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x407cd5
mov edx, eax
mov edi, dword [edx + ebp*4]
cmp edi, ebx
je 0x407cd2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x84]
test eax, eax
jne 0x407cd2
mov edx, dword [edi]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call dword [edx + 0x80]
inc ebp
jmp 0x407c93
xor edi, edi
mov eax, dword [esi + 0xfc]
cmp eax, ebx
je 0x407d0b
mov ecx, dword [esi + 0x100]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x407d0b
mov edx, eax
mov ecx, dword [edx + edi*4]
cmp ecx, ebx
je 0x407d08
cmp dword [ecx + 4], ebx
je 0x407d08
lea eax, [esp + 0x24]
push eax
call fcn.0041f430
inc edi
jmp 0x407cd7
xor ebp, ebp
mov eax, dword [esi + 0xec]
cmp eax, ebx
je 0x407d4f
mov ecx, dword [esi + 0xf0]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x407d4f
mov edx, eax
mov edi, dword [edx + ebp*4]
cmp edi, ebx
je 0x407d4c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x84]
test eax, eax
je 0x407d4c
mov edx, dword [edi]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call dword [edx + 0x80]
inc ebp
jmp 0x407d0d
cmp dword [esi + 0x9c], ebx
je 0x407dea
mov edx, dword [esi + 4]
lea ecx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0xff
mov byte [esp + 0x13], 1
call fcn.00409b70
cmp eax, ebx
je 0x40803b
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x18], ecx
push 2
push edx
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x24]
push ebx
push ecx
push edx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push ecx
push edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call eax
jmp 0x40803b
mov ebx, dword [sym.imp.GDI32.dll_CreateRectRgn]
xor edi, edi
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x407eb7
mov ecx, dword [esi + 0x110]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x407eb7
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx + 4]
cmp edx, 1
jne 0x407e54
cmp dword [ecx], 0
jne 0x407eb1
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
push edx
mov edx, dword [ecx + 0xc]
push eax
mov eax, dword [ecx + 8]
mov ecx, dword [esi + 8]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
mov edx, dword [esi + 0x10c]
inc edi
mov eax, dword [edx + edi*4 - 4]
mov dword [eax], 1
jmp 0x407df2
test edx, edx
jne 0x407eb1
cmp dword [ecx], 1
jne 0x407eb1
mov ecx, dword [eax + edi*4]
mov eax, ecx
mov edx, dword [ecx + 0x14]
push edx
mov edx, dword [ecx + 0x10]
push edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [eax + 8]
push edx
push ecx
call ebx
mov edx, dword [esi + 8]
push 2
push eax
push edx
call dword [sym.imp.GDI32.dll_ExtSelectClipRgn]
mov ebp, dword [esi + 0x10c]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [esi + 8]
push eax
mov eax, dword [ebp + edi*4]
add eax, 8
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esi + 0x10c]
mov eax, dword [edx + edi*4]
mov dword [eax], 0
inc edi
jmp 0x407df2
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esi + 0x74]
mov ebp, eax
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x60]
mov ebx, dword [esi + 0x78]
rep stosd dword es:[edi], eax
mov eax, edx
xor edi, edi
shl eax, 5
add eax, 0x1f
mov dword [esp + 0x60], edx
sar eax, 3
and al, 0xfc
push edi
imul eax, ebx
lea edx, [esp + 0x14]
mov dword [esp + 0x74], eax
push edi
push edx
lea eax, [esp + 0x68]
push edi
push eax
push edi
mov dword [esp + 0x74], 0x28
mov dword [esp + 0x7c], ebx
mov word [esp + 0x80], 1
mov word [esp + 0x82], 0x20
mov dword [esp + 0x84], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebx, eax
cmp ebx, edi
je 0x407fcd
push ebx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 4]
push 5
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x407fac
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x407f9d
push edi
lea edx, [esp + 0x28]
push ebp
push edx
mov ecx, esi
call fcn.00407870
lea eax, [esp + 0x3c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x3c]
push 1
push ecx
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x407f6a
lea edx, [esp + 0x24]
mov ecx, esi
push edx
call fcn.004079c0
mov eax, dword [esp + 0x14]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
xor edi, edi
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
push 0xcc0020
push edi
push edi
push eax
mov eax, dword [esi + 8]
push ecx
push edx
push edi
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 4]
xor ecx, ecx
mov dword [esp + 0x30], ecx
lea edx, [esp + 0x2c]
mov dword [esp + 0x34], ecx
push edx
push eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [esi + 8]
lea ecx, [esp + 0x2c]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], 0xffffffff
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret