Function at 0x44f180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b464
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4ae44c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.mfc100u.dll_CDC::FromHandle
lea ecx, [ebp - 0x44]
mov esi, eax
call dword [0x4824e8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call dword [0x4824e8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call dword [0x4824e8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call dword [0x4824e8]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
push ecx
push 0x40c
mov ecx, edi
call sub.mfc100u.dll_CWnd::GetDlgItem
mov ecx, eax
call sub.mfc100u.dll_CWnd::GetWindowTextW
lea edx, [ebp - 0x40]
push edx
push 0x411
mov ecx, edi
call sub.mfc100u.dll_CWnd::GetDlgItem
mov ecx, eax
call sub.mfc100u.dll_CWnd::GetWindowTextW
lea eax, [ebp - 0x38]
push eax
push 0x40d
mov ecx, edi
call sub.mfc100u.dll_CWnd::GetDlgItem
mov ecx, eax
call sub.mfc100u.dll_CWnd::GetWindowTextW
lea ecx, [ebp - 0x3c]
push ecx
push 0x40e
mov ecx, edi
call sub.mfc100u.dll_CWnd::GetDlgItem
mov ecx, eax
call sub.mfc100u.dll_CWnd::GetWindowTextW
mov edx, dword [esi]
lea eax, [edi + 0xd8]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetLength]
push eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc100u.dll_]
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push eax
push edx
call ebx
mov edx, dword [esi]
lea eax, [edi + 0xd8]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetLength]
push eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100u.dll_]
mov edx, dword [esi + 4]
push eax
push edx
call ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [edi + 0xe0]
push ecx
mov ecx, esi
call edx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetLength]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100u.dll_]
mov ecx, dword [esi + 4]
push eax
push ecx
call ebx
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [edi + 0xd0]
push eax
mov ecx, esi
call edx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetLength]
push eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100u.dll_]
mov ecx, dword [esi + 4]
push eax
push ecx
call ebx
mov edx, dword [esi]
lea eax, [edi + 0xd8]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x74]
push ecx
push 1
push 0x484ea8
push edx
call ebx
mov ecx, dword [ebp - 0x34]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi + 4]
mov ecx, dword [edi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
push 0x3fd
mov ecx, edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call sub.mfc100u.dll_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x48]
sub eax, dword [ebp - 0x68]
sub eax, ecx
sub eax, 5
cdq
sub eax, edx
mov edx, dword [ebp - 0x4c]
mov esi, eax
mov eax, dword [ebp - 0x74]
lea edx, [eax + edx + 0xc]
mov eax, dword [ebp - 0x54]
mov ebx, ecx
sub ebx, dword [ebp - 0x50]
sar esi, 1
mov dword [ebp - 0x64], edx
add edx, eax
add ebx, esi
mov dword [ebp - 0x34], edx
test eax, eax
jle 0x44f3b5
mov eax, dword [ebp - 0x74]
add dword [ebp - 0x34], eax
push 1
push ecx
mov edx, ecx
mov ecx, dword [ebp - 0x4c]
sub edx, dword [ebp - 0x58]
push ecx
push esi
push 0xc
lea eax, [edx + esi - 1]
push 0x40c
mov ecx, edi
mov dword [ebp - 0x60], eax
call sub.mfc100u.dll_CWnd::GetDlgItem
mov ecx, eax
call sub.mfc100u.dll_CWnd::MoveWindow
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x64]
push 1
push edx
push eax
push ebx
push ecx
push 0x411
mov ecx, edi
call sub.mfc100u.dll_CWnd::GetDlgItem
mov ecx, eax
call sub.mfc100u.dll_CWnd::MoveWindow
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
push 1
push edx
mov edx, dword [ebp - 0x34]
push eax
push ecx
push edx
push 0x40d
mov ecx, edi
call sub.mfc100u.dll_CWnd::GetDlgItem
mov ecx, eax
call sub.mfc100u.dll_CWnd::MoveWindow
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x74]
lea eax, [ecx + eax*2]
add eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x6c]
add eax, dword [ebp - 0x4c]
cmp eax, ecx
jg 0x44f43d
mov eax, ecx
mov edx, dword [ebp - 0x68]
push 1
push edx
push eax
mov eax, dword [ebp - 0x48]
lea ecx, [eax + esi + 5]
push ecx
push 0xc
push 0x40e
mov ecx, edi
call sub.mfc100u.dll_CWnd::GetDlgItem
mov ecx, eax
call sub.mfc100u.dll_CWnd::MoveWindow
mov edx, dword [ebp - 0x18]
xor eax, eax
push 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], edx
mov edx, dword [edi + 0x20]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
push ecx
push edx
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046b17c
mov esp, ebp
pop ebp
ret