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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42ba73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x194]
push edi
push 0x70
mov esi, dword [eax + 0x58]
mov dword [esp + 0x1c], esi
call sub.MFC42.DLL_operatornew
mov ebp, eax
push 0x70
mov dword [esp + 0x40], ebp
call sub.MFC42.DLL_operatornew
push 0x70
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_operatornew
push 0x70
mov dword [esp + 0x4c], eax
call sub.MFC42.DLL_operatornew
shl esi, 3
push esi
mov dword [esp + 0x34], eax
call sub.MFC42.DLL_operatornew
push esi
mov dword [esp + 0x58], eax
call sub.MFC42.DLL_operatornew
mov dword [esp + 0x2c], eax
mov ecx, 0x38
xor eax, eax
lea edi, [esp + 0x1a8]
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], 0
rep stosd dword es:[edi], eax
mov ecx, 0x36
lea edi, [esp + 0xc8]
add esp, 0x18
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
rep stosd dword es:[edi], eax
push 0x41f
mov ecx, ebx
call sub.MFC42.DLL_CWnd::GetDlgItem
test eax, eax
je 0x413580
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x8c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x41f
mov ecx, ebx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push 0x105
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ScreenToClient
push 0xfffffffffffffff6
lea edx, [esp + 0x90]
push 0xfffffffffffffffb
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x98]
sub ecx, eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x194]
sub edx, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x134]
mov dword [esp + 0x2c], edx
test ecx, ecx
je 0x413c4c
mov ecx, ebx
call fcn.00414520
push 0x447578
push str.d:plf_test.txt
mov esi, eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov edi, eax
mov dword [esp + 0x10], 0x73
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
push str.PL_.3f_tXd_.3f_n
push edi
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [esp + 0x28]
add esp, 0x18
add esi, 0x10
dec eax
mov dword [esp + 0x10], eax
jne 0x41362a
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
sub eax, ebp
mov esi, ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
add esp, 4
xor edi, edi
sub ebp, ecx
sub eax, ecx
mov dword [esp + 0x9c], eax
mov edx, dword [ebx + 0x194]
mov eax, dword [edx + 0xfc]
mov ecx, dword [eax + edi + 4]
push ecx
mov ecx, ebx
mov edx, dword [eax + edi]
push edx
call fcn.004146e0
fstp qword [esi]
mov eax, dword [ebx + 0x194]
add edi, 8
add esi, 8
cmp edi, 0x70
mov ecx, dword [eax + 0x110]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + edi - 8]
mov dword [eax + esi - 8], edx
mov ecx, dword [ecx + edi - 4]
mov dword [eax + esi - 4], ecx
mov edx, dword [esi - 8]
mov dword [esi + ebp - 8], edx
mov eax, dword [esi - 4]
mov dword [esi + ebp - 4], eax
mov ecx, dword [ebx + 0x194]
mov eax, dword [esp + 0x9c]
mov edx, dword [ecx + 0x124]
mov ecx, dword [edx + edi - 8]
mov dword [eax + esi - 8], ecx
mov edx, dword [edx + edi - 4]
mov dword [eax + esi - 4], edx
jl 0x413685
mov ebp, dword [esp + 0x1c]
mov ecx, 0x1c
mov esi, ebp
lea edi, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
mov ecx, 0x1c
lea edi, [esp + 0x118]
lea edx, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
cmp edi, 0x1c
jge 0x41375b
mov esi, 0x1c
mov ecx, edx
sub esi, edi
fld qword [edx]
fcomp qword [ecx]
fnstsw ax
test ah, 1
je 0x413755
mov eax, dword [ecx]
fld qword [edx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
fstp qword [ecx]
add ecx, 8
dec esi
jne 0x41373c
inc edi
add edx, 8
cmp edi, 0x1c
jl 0x413733
mov eax, dword [esp + 0x18]
mov ecx, 0x3a
mov esi, 0x438f20
lea edi, [esp + 0x188]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
test eax, eax
jle 0x4137d7
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
sub ebp, eax
mov edx, dword [ebx + 0x194]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 0xe8]
lea edi, [ecx + esi*8]
mov ecx, dword [eax + esi*8 + 4]
push ecx
mov ecx, ebx
mov edx, dword [eax + esi*8]
push edx
call fcn.004146e0
fstp qword [edi + ebp]
mov eax, dword [ebx + 0x194]
inc esi
mov ecx, dword [eax + 0xd4]
mov edx, dword [ecx + esi*8 - 8]
mov dword [edi], edx
mov eax, dword [ecx + esi*8 - 4]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x18]
cmp esi, eax
jl 0x41378b
mov ebp, dword [esp + 0x1c]
fld qword [esp + 0x188]
fild dword [esp + 0x5c]
fld qword [esp + 0x268]
fsub qword [esp + 0x188]
mov ecx, dword [esp + 0x180]
mov edx, dword [esp + 0x184]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x9c], ecx
fdivp st(1)
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x3c]
sub ecx, ebp
sub edx, ebp
mov eax, ebp
sub esi, ebp
mov edi, 0xe
fild dword [esp + 0x2c]
fstp qword [esp + 0x2c]
fld qword [esp + 0xa8]
fsub qword [esp + 0x180]
fdivr qword [esp + 0x2c]
fstp qword [esp + 0x5c]
fild dword [esp + 0x68]
fild dword [esp + 0x24]
fstp qword [esp + 0x24]
fld qword [ecx + eax]
fsub qword [esp + 0x188]
add eax, 8
dec edi
fmul st(2)
fadd st(1)
fstp qword [ecx + eax - 8]
fld qword [eax - 8]
fsub qword [esp + 0x180]
fmul qword [esp + 0x5c]
fsubr qword [esp + 0x2c]
fadd qword [esp + 0x24]
fstp qword [eax - 8]
fld qword [edx + eax - 8]
fsub qword [esp + 0x188]
fmul st(2)
fadd st(1)
fstp qword [edx + eax - 8]
fld qword [esi + eax - 8]
fsub qword [esp + 0x180]
fmul qword [esp + 0x5c]
fsubr qword [esp + 0x2c]
fadd qword [esp + 0x24]
fstp qword [esi + eax - 8]
jne 0x413851
mov edx, dword [esp + 0x18]
xor edi, edi
cmp edx, edi
jle 0x4138f5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
sub ecx, eax
fld qword [eax + ecx]
fsub qword [esp + 0x188]
add eax, 8
dec edx
fmul st(2)
fadd st(1)
fstp qword [eax + ecx - 8]
fld qword [eax - 8]
fsub qword [esp + 0x180]
fmul qword [esp + 0x5c]
fsubr qword [esp + 0x2c]
fadd qword [esp + 0x24]
fstp qword [eax - 8]
jne 0x4138c4
lea eax, [esp + 0x188]
mov ecx, 0x1d
fld qword [eax]
fsub st(3)
add eax, 8
dec ecx
fmul st(2)
fadd st(1)
fstp qword [eax - 8]
jne 0x413901
fstp st(0)
fstp st(0)
fstp st(0)
lea eax, [esp + 0xa8]
mov ecx, 0x1c
fld qword [eax]
fsub qword [esp + 0x9c]
add eax, 8
dec ecx
fmul qword [esp + 0x5c]
fsubr qword [esp + 0x2c]
fadd qword [esp + 0x24]
fstp qword [eax - 8]
jne 0x413924
push ebx
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CClientDC::CClientDC
mov eax, 0x431d00
mov dword [esp + 0x278], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], eax
mov esi, dword [sym.imp.GDI32.dll_CreatePen]
push 0x828282
push 1
push edi
mov byte [esp + 0x284], 4
call esi
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CGdiObject::Attach
push 0xffff
push 1
push edi
call esi
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CGdiObject::Attach
push 0xff
push 1
push edi
call esi
push eax
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x54]
lea ecx, [esp + 0x78]
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov dword [esp + 0x24], eax
lea esi, [esp + 0x188]
mov ebp, 0x1d
fld qword [esi]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x98]
mov edi, eax
push ecx
lea edx, [esp + 0x6c]
push edi
push edx
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x78]
push eax
push edi
call sub.MFC42.DLL_CDC::LineTo
add esi, 8
dec ebp
jne 0x4139e0
lea edi, [esp + 0xa8]
mov ebp, 0x1d
fld qword [edi]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x8c]
mov esi, eax
push esi
lea edx, [esp + 0x6c]
push ecx
push edx
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x94]
push esi
push eax
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CDC::LineTo
add edi, 8
dec ebp
jne 0x413a27
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CDC::SelectObject_1
mov edi, dword [esp + 0x20]
fld qword [edi]
call sub.MSVCRT.dll__ftol
mov ebp, dword [esp + 0x3c]
push eax
fld qword [ebp]
call sub.MSVCRT.dll__ftol
lea edx, [esp + 0x6c]
push eax
push edx
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CDC::MoveTo
lea esi, [ebp + 8]
sub edi, ebp
mov ebp, 0xd
fld qword [edi + esi]
call sub.MSVCRT.dll__ftol
fld qword [esi]
push eax
call sub.MSVCRT.dll__ftol
push eax
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CDC::LineTo
add esi, 8
dec ebp
jne 0x413aa7
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x78]
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esp + 0x1c]
fld qword [ecx]
call sub.MSVCRT.dll__ftol
mov esi, dword [esp + 0x38]
push eax
fld qword [esi]
call sub.MSVCRT.dll__ftol
lea edx, [esp + 0x6c]
push eax
push edx
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CDC::MoveTo
add esi, 8
mov edi, 0xd
mov eax, dword [esp + 0x10]
fld qword [esi + eax]
call sub.MSVCRT.dll__ftol
fld qword [esi]
push eax
call sub.MSVCRT.dll__ftol
push eax
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CDC::LineTo
add esi, 8
dec edi
jne 0x413b09
push 0x3aea00
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CDC::SelectObject_1
mov edi, dword [esp + 0x14]
fld qword [edi]
call sub.MSVCRT.dll__ftol
mov ebp, dword [esp + 0x40]
push eax
fld qword [ebp]
call sub.MSVCRT.dll__ftol
lea edx, [esp + 0x6c]
push eax
push edx
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x18]
cmp eax, 1
jle 0x413bb5
lea esi, [ebp + 8]
sub edi, ebp
lea ebp, [eax - 1]
fld qword [edi + esi]
call sub.MSVCRT.dll__ftol
fld qword [esi]
push eax
call sub.MSVCRT.dll__ftol
push eax
lea ecx, [esp + 0x80]
call sub.MFC42.DLL_CDC::LineTo
add esi, 8
dec ebp
jne 0x413b92
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x78]
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, ebx
call fcn.004147d0
mov edi, 0x431cd8
mov dword [esp + 0x44], edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x278], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x42e444
mov dword [esp + 0x70], edi
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x70]
mov byte [esp + 0x278], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x70], esi
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x278], 7
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x54]
mov byte [esp + 0x278], 8
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x78]
mov dword [esp + 0x54], esi
mov dword [esp + 0x278], 0xffffffff
call fcn.00429ee0
mov ecx, dword [esp + 0x270]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret