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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xfc
cmp dword [eax + 4], 0
push ebx
push ebp
push esi
push edi
jne 0x4fe0aa
mov esi, ecx
call fcn.004fe200
mov ebx, eax
push 0
mov dword [esp + 0x14], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea edi, [ebx + 4]
push edi
push edi
push esi
mov ebp, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x110]
push eax
push ebp
mov dword [ecx + 4], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea esi, [esp + 0x68]
mov dword [esp + 0x18], eax
call fcn.004062c0
xor esi, esi
lea eax, [esp + 0x68]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
call fcn.0050f040
test byte [0x7b7d54], 1
jne 0x4fdecc
or dword [0x7b7d54], 1
mov eax, 0x4b4b4b
mov dword [0x7b7d50], eax
jmp 0x4fded1
mov eax, dword [0x7b7d50]
mov edi, dword [esp + 0xb0]
cmp edi, esi
je 0x4fdf09
movzx ecx, byte [0x7b7d52]
movzx edx, al
or edx, 0xffffff00
shl edx, 8
movzx eax, ah
or edx, eax
shl edx, 8
or edx, ecx
push edx
mov edx, dword [edi]
push edx
call sub.gdiplus.dll_GdipGraphicsClear
cmp eax, esi
je 0x4fdf09
mov dword [edi + 4], eax
test byte [0x7b7d24], 1
jne 0x4fdf23
or dword [0x7b7d24], 1
mov dword [0x7b7d20], 0x646464
push ecx
mov ecx, dword [0x7b7d20]
mov eax, esp
lea esi, [esp + 0x3c]
mov dword [eax], ecx
call fcn.00403200
fild dword [esp + 0x10]
sub esp, 0x14
mov eax, esi
fst dword [esp + 0x30]
lea ecx, [esp + 0x7c]
fld1
fst dword [esp + 0x10]
fxch st(1)
fst dword [esp + 0xc]
fstp dword [esp + 8]
fstp dword [esp + 4]
fldz
fstp dword [esp]
call fcn.00406fb0
cmp byte [esp + 0x114], 0
je 0x4fdf96
test byte [0x7b7d3c], 1
jne 0x4fdf8a
or dword [0x7b7d3c], 1
mov dword [0x7b7d38], 0x404040
mov edx, dword [0x7b7d38]
mov dword [esp + 0x10], edx
jmp 0x4fdfb9
test byte [0x7b7d44], 1
jne 0x4fdfb0
or dword [0x7b7d44], 1
mov dword [0x7b7d40], 0x303030
mov eax, dword [0x7b7d40]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [ecx]
mov eax, esp
lea esi, [esp + 0x54]
mov dword [eax], ecx
call fcn.00403200
push 0
push 0
mov edx, esi
push edx
lea eax, [esp + 0x74]
push eax
mov eax, ebx
mov ecx, ebx
call fcn.00406690
push ecx
mov eax, esp
lea esi, [esp + 0x24]
mov dword [eax], 0x202020
call fcn.00403200
fld1
sub esp, 0x14
fstp dword [esp + 0x10]
fld dword [esp + 0x30]
mov eax, esi
fst dword [esp + 0xc]
lea ecx, [esp + 0x7c]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
call fcn.00406fb0
lea esi, [esp + 0x68]
call fcn.0050f0d0
mov ecx, dword [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x14]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x30]
mov ebx, 0x70c650
push eax
mov dword [esp + 0x30], ebx
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x24]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, 0x6dbd38
push ecx
mov dword [esp + 0x24], edi
call esi
mov edx, dword [esp + 0x60]
push edx
mov dword [esp + 0x60], ebx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x54]
push eax
mov dword [esp + 0x54], edi
call esi
mov ecx, dword [esp + 0x48]
push ecx
mov dword [esp + 0x48], ebx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x3c]
push edx
mov dword [esp + 0x3c], edi
call esi
lea eax, [esp + 0x68]
call fcn.00406370
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret 8