Function at 0x4679d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b0b93
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ecba0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.0046dbcc
xor ecx, ecx
lea ebp, [esi + 0x14]
mov dword [esi], vtable.CMemDC.0
mov dword [esp + 0x30], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov ebx, dword [esp + 0x38]
xor eax, eax
mov dword [esi + 0x20], ebx
cmp dword [ebx + 0xc], ecx
mov byte [esp + 0x30], 1
sete al
lea edi, [esi + 0x24]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x3c]
cmp eax, ecx
jne 0x467a49
mov edx, dword [ebx]
mov eax, dword [edx + 0x50]
push edi
mov ecx, ebx
call eax
jmp 0x467a5f
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
cmp dword [esi + 0x10], 0
je 0x467b3d
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0046e0f8
mov eax, dword [ebx + 8]
push 2
push edi
push eax
call dword [sym.imp.GDI32.dll_LPtoDP]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.0046e3ca
test ebp, ebp
je 0x467aae
mov ebp, dword [ebp + 4]
mov edx, dword [esi + 4]
push ebp
push edx
call fcn.0046e459
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 8]
push eax
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
mov ecx, esi
call fcn.0046da15
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetWindowExtEx]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call edx
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetViewportExtEx]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x40]
push eax
push ecx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
mov eax, dword [ebx + 8]
push 2
push edi
push eax
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, dword [esi + 0x28]
mov edx, dword [edi]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0046dce8
jmp 0x467b4f
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [ebx + 4]
mov dword [esi + 4], edx
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.USER32.dll_WindowFromDC]
push eax
call fcn.00473673
test eax, eax
je 0x467ba2
mov ebp, dword [eax + 0x20]
test ebp, ebp
je 0x467ba2
push 0xffffffffffffffe0
push ebp
call dword [sym.imp.USER32.dll_GetClassLongA]
cmp eax, 0x8002
jne 0x467b84
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x467bac
push 0xfffffffffffffff6
push ebp
call dword [sym.imp.USER32.dll_GetClassLongA]
test eax, eax
je 0x467ba2
push eax
call fcn.0046e3b6
push eax
push edi
mov ecx, esi
call fcn.0045af70
jmp 0x467bb5
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
push edi
mov ecx, esi
call fcn.0047f11e
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8