Function at 0x482870
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ed5b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x884
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CDC::CDC
xor esi, esi
lea ecx, [esp + 0x74]
mov dword [esp + 0x89c], esi
call sub.MFC42.DLL_CDC::CDC
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 0x4f4eec
push esi
push esi
push esi
push str.DISPLAY
mov byte [esp + 0x8ac], 2
call dword [sym.imp.GDI32.dll_CreateDCA]
push eax
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CDC::Attach
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x74]
neg eax
sbb eax, eax
and eax, edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x78]
push 0x40
push 0x40
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x28]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
push 0x40
push 0x40
push esi
lea edx, [esp + 0x24]
push esi
push edx
mov dword [esp + 0x74], eax
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [esp + 0x284]
mov ecx, edi
push eax
call fcn.0048a7e0
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], esi
mov dword [esp + 0x70], edx
mov dword [esp + 0x30], 0x4f5178
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], 0x4f5164
mov eax, dword [edi + 0x7c]
mov byte [esp + 0x89c], 4
mov eax, dword [eax]
push eax
push esi
push esi
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [edi + 0x7c]
mov eax, dword [ecx]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CGdiObject::Attach
lea edx, [esp + 0x30]
lea ecx, [esp + 0x50]
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov esi, eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CDC::SelectObject_2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x5c]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CDC::SelectObject
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x50]
push eax
call sub.MFC42.DLL_CDC::SelectObject_2
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
inc eax
dec esi
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xe8]
mov dword [esp + 0x24], esi
inc edx
dec ecx
xor esi, esi
test eax, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
jle 0x482b0e
mov eax, dword [esp + 0x14]
sub esp, 0x10
mov edx, esp
sub esp, 0x10
mov ecx, dword [eax + 0xe4]
add eax, 0x78
mov dword [edx], ebp
mov edi, dword [ecx + esi*4]
mov ecx, dword [esp + 0x8c]
mov dword [edx + 4], ebx
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x90]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov edx, esp
push eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x40]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x74]
push edx
mov ecx, edi
call fcn.0045df10
push 0
mov ecx, dword [esp + 0x70]
sub esp, 0x10
mov edx, dword [esp + 0x84]
mov eax, esp
sub esp, 0x10
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x40]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x74]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x38]
add eax, 0x78
push eax
push ecx
mov ecx, edi
call fcn.0045e2b0
mov edx, dword [esp + 0x14]
inc esi
cmp esi, dword [edx + 0xe8]
jl 0x482a51
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x694]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esp + 0x494]
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esp + 0x294]
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esp + 0x84]
rep stosd dword es:[edi], eax
mov ebp, 8
mov dword [esp + 0x10], esi