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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cc53d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x54e864]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x54e864]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
call sub.mfc100.dll_Ordinal_895
xor ebx, ebx
lea ecx, [esi + 0x88]
mov dword [esp + 0x70], ebx
mov dword [esi], vtable.COScopeCtrl.0
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x8c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x90]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x94]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x98]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [esi + 0x9c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf0], vtable.CBrush.0
lea ecx, [esi + 0xf8]
mov byte [esp + 0x70], 2
call sub.mfc100.dll_Ordinal_374
lea ecx, [esi + 0x108]
mov byte [esp + 0x70], 3
call sub.mfc100.dll_Ordinal_374
mov eax, vtable.CBitmap.0
mov dword [esi + 0x124], ebx
mov dword [esi + 0x120], eax
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x128], eax
mov edi, dword [ebp + 8]
mov eax, 0xff00
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], eax
xor ecx, ecx
mov eax, edi
mov edx, 0x228
mul edx
seto cl
mov byte [esp + 0x70], 6
mov dword [esp + 0x1c], 0xff
mov dword [esp + 0x24], 0xffff
mov dword [esp + 0x28], 0xa0ff
mov dword [esp + 0x2c], 0x60a0
mov dword [esp + 0x34], 0xa000
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
mov dword [esp + 0x38], 0xff0000
mov dword [esp + 0x3c], 0xffa000
mov dword [esp + 0x40], 0xffff00
mov dword [esp + 0x44], 0xa0a000
mov dword [esp + 0x48], 0xffc0c0
mov dword [esp + 0x4c], 0xff00ff
neg eax
or eax, ecx
push eax
mov dword [esp + 0x54], 0xa000a0
mov dword [esp + 0x58], 0xffffff
mov dword [esp + 0x5c], 0x808080
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x70], 7
cmp eax, ebx
je 0x466161
push 0x464e50
push 0x464e30
push edi
mov dword [eax], edi
add eax, 4
push 0x228
push eax
mov dword [esp + 0x24], eax
call fcn.004c64a6
mov eax, dword [esp + 0x10]
jmp 0x466163
xor eax, eax
mov dword [esi + 0xbc], eax
xor eax, eax
mov byte [esp + 0x70], 6
mov dword [esi + 0xac], edi
mov dword [esp + 0x10], eax
cmp edi, ebx
jle 0x466243
xor edi, edi
jmp 0x46618a
mov eax, dword [esp + 0x10]
cmp eax, 0xf
jge 0x46619e
mov ecx, dword [esi + 0xbc]
mov edx, dword [esp + eax*4 + 0x1c]
mov dword [edi + ecx], edx
jmp 0x4661ab
mov eax, dword [esi + 0xbc]
mov dword [edi + eax], 0xffffff
mov ecx, dword [esi + 0xbc]
lea eax, [edi + ecx]
mov ecx, dword [eax]
push ecx
push ebx
add eax, 4
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_CreatePen]
mov ecx, dword [esp + 0x14]
push eax
call sub.mfc100.dll_Ordinal_2184
fldz
mov edx, dword [esi + 0xbc]
fstp qword [edi + edx + 0x18]
mov eax, dword [esi + 0xbc]
fld qword [0x4f8a88]
mov dword [edi + eax + 0x20], 0xffffffff
mov ecx, dword [esi + 0xbc]
fstp qword [edi + ecx + 0x28]
mov edx, dword [esi + 0xbc]
fld qword [0x4f8a80]
add edi, 0x228
fstp qword [edi + edx - 0x1f8]
mov eax, dword [esi + 0xbc]
fld qword [eax + edi - 0x1f8]
fsub qword [eax + edi - 0x200]
fstp qword [eax + edi - 0x1f0]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 0xac]
jl 0x466186
push ebx
mov byte [esi + 0xa8], bl
mov dword [esi + 0x84], 3
mov dword [esi + 0x7c], 4
mov dword [esi + 0x80], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], 0xffff00
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esi + 0xf0]
call sub.mfc100.dll_Ordinal_2184
mov edi, dword [sym.imp.mfc100.dll_Ordinal_4283]
lea eax, [esi + 0x88]
push str.Samples
push eax
call edi
lea ecx, [esi + 0x94]
push str.Y_units
push ecx
call edi
add esp, 0x10
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x74], 6
mov dword [esi + 0x78], 4
mov dword [esi + 0x80], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004c6212
mov esp, ebp
pop ebp
ret 4