Function at 0x4010ff
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
jmp 0x405080
push 0xffffffffffffffff
push 0x453471
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0xa4]
push edi
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x98]
push edx
push eax
call ebp
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0xa0]
mov edi, dword [esp + 0xa8]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0xac]
sub eax, ebx
mov ebx, dword [esp + 0xa4]
sub eax, edi
add eax, edx
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x9c]
sub eax, ecx
mov ecx, dword [esi + 0x20]
sub eax, ebx
xor ebx, ebx
push 1
add eax, edi
push ebx
push ecx
mov dword [esp + 0x80], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push ebx
push 4
push ebx
push 3
push 0xc0000000
push str.C:PCNUM.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x405156
push ebx
push ebx
push str.Make_PCNUM.ini_Fail____
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
jmp 0x405f70
push str.C:PCNUM.ini
push 0xff
push str.PCNUM
push str.SETTING
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp al, 0xff
jne 0x40518e
push str.C:PCNUM.ini
push 0x465b20
push str.PCNUM
push str.SETTING
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0xc0], 0x66
je 0x405494
mov ecx, esi
call fcn.0040169a
mov ebx, eax
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x38]
push edx
push eax
call ebp
mov edi, dword [esp + 0x44]
cmp edi, ebx
ja 0x4051c4
mov edi, ebx
mov dword [esp + 0x44], edi
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
sub edi, 5
mov dword [esp + 0x4c], ebx
add ebx, 5
mov dword [esp + 0x50], ecx
lea eax, [edi - 0x12]
push 0x52d
mov ecx, esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
lea ebp, [ebx + 0x96]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [esp + 0x50]
push 1
sub edi, edx
sub ebp, ebx
push edi
push ebp
push edx
push ebx
mov ecx, eax
call sub.MFC42.DLL_CWnd::MoveWindow
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
sub edi, 5
mov dword [esp + 0x4c], ebx
add ebx, 0x12c
mov dword [esp + 0x50], ecx
lea eax, [edi - 0x12]
push 0x610
mov ecx, esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
lea ebp, [ebx + 0x96]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x50]
push 1
sub edi, ecx
sub ebp, ebx
push edi
push ebp
push ecx
push ebx
mov ecx, eax
call sub.MFC42.DLL_CWnd::MoveWindow
mov ecx, dword [0x46b73c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ecx
push 0
push str.RemoteLogging
push str.LogFile
call ebx
mov edx, dword [0x46b73c]
mov edi, eax
push edx
push 0x14
push str.LoggingPCNUM
push str.LogFile
call ebx
cmp edi, 1
mov dword [esp + 0x18], eax
jne 0x4053ff
push 5
push 0x60d
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 0x60d
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push edi
push 0xf1
push eax
call ebx
push 5
push 0x60e
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push 0x60e
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ebp, eax
push str.None
push 0
push 0x143
mov ecx, dword [ebp + 0x20]
push ecx
call ebx
cmp dword [esp + 0x18], edi
jb 0x405368
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
push edi
lea edx, [esp + 0x14]
push str.PC_d
push edx
mov dword [esp + 0xdc], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x20]
add esp, 0xc
push eax
push 0
push 0x143
push ecx
call ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0xd0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jbe 0x405312
push str.C:PCNUM.ini
push 0
push str.PCNUM
push str.SETTING
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov byte [esp + 0x14], al
mov eax, dword [ebp + 0x20]
mov edx, dword [esp + 0x14]
push 0
and edx, 0xff
push edx
push 0x14e
push eax
call ebx
push 0x60e
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x64]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x64]
mov ecx, esi
push eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov ecx, dword [esp + 0x68]
push 0x60e
add ecx, 0x8c
mov dword [esp + 0x74], ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
sub edx, ecx
push 1
push edx
mov edx, dword [esp + 0x6c]
sub edi, edx
push edi
push ecx
push edx
mov ecx, eax
call sub.MFC42.DLL_CWnd::MoveWindow
jmp 0x405429
push 0
push 0x60d
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
push 0x60e
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
sub edi, ecx
sub ebx, ebp
push 0
add edi, eax
add ebx, edx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov ebp, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0x19
cmp edi, eax
jbe 0x405466
xor eax, eax
jmp 0x40546a
sub eax, edi
shr eax, 1
add edi, eax
cmp ebx, ebp
jbe 0x405474
xor ecx, ecx
jmp 0x40547a
sub ebp, ebx
shr ebp, 1
mov ecx, ebp
add ebx, ecx
sub edi, eax
push 0x40
sub ebx, ecx
push edi
push ebx
push eax
push ecx
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
jmp 0x405f66
cmp dword [esi + 0xfbe8], ebx
je 0x405f70
cmp dword [0x466cb8], 0x10
jne 0x4054b9
mov byte [esi + 0xc4], 0xb
mov byte [esi + 0xc5], 0x16
jmp 0x4054c7
mov byte [esi + 0xc4], 9
mov byte [esi + 0xc5], 0x14
mov dword [esi + 0xfbe8], ebx
mov eax, dword [0x466cb8]
cmp eax, ebx
jbe 0x40552d
lea edi, [esi + 0xccc8]
lea ebp, [esi + 0xc8]
push 5
mov ecx, ebp
call sub.MFC42.DLL_CWnd::ShowWindow
push 5
lea ecx, [edi - 0x2b00]
call sub.MFC42.DLL_CWnd::ShowWindow
push 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, ebx
push 5
shr ecx, 2
shl ecx, 6
lea ecx, [ecx + esi + 0xf7c8]
call sub.MFC42.DLL_CWnd::ShowWindow
mov eax, dword [0x466cb8]
inc ebx
add ebp, 0x284
add edi, 0xac
cmp ebx, eax
jb 0x4054e2
mov edi, eax
cmp edi, 0x40
jae 0x4055a0
lea eax, [edi*8]
lea ecx, [edi + edi*4]
sub eax, edi
shl ecx, 5
lea edx, [eax + eax*2]
add ecx, edi
lea eax, [edi + edx*2]
lea ebp, [esi + ecx*4 + 0xc8]
lea ebx, [esi + eax*4 + 0xccc8]
push 0
mov ecx, ebp
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
lea ecx, [ebx - 0x2b00]
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
mov edx, edi
push 0
shr edx, 2
shl edx, 6
lea ecx, [edx + esi + 0xf7c8]
call sub.MFC42.DLL_CWnd::ShowWindow
inc edi
add ebp, 0x284
add ebx, 0xac
cmp edi, 0x40
jb 0x405559
lea ecx, [esi + 0xfbec]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [esi + 0xfc2c]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [esi + 0xfc6c]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [esi + 0xfcac]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [esi + 0xfcec]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [esi + 0xfd2c]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
push 5
push 0x3e8
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 5
push 0x52b
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x3e8
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x88]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [0x466cb8]
cmp eax, 0x30
jae 0x40568f
lea edx, [esi + 0xfbc8]
mov ecx, dword [esi + 0xfbc8]
mov dword [esp + 0x88], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x8c], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x90], ecx
mov edx, dword [edx + 0xc]
mov dword [esp + 0x94], edx
mov ecx, dword [esp + 0x88]
mov byte [esp + 0x18], 0xf
add ecx, 0xc
cmp eax, 0x28
mov dword [esp + 0x30], ecx
jb 0x4056ac
mov byte [esp + 0x18], 0xc
lea ebp, [esi + 0xfbe0]
mov ecx, ebp
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0x465aec
push 0x20
mov edx, dword [esp + 0x20]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x64
push 0
push 0
and edx, 0xff
push 0
push edx
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
mov ecx, ebp
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [0x466cb8]
xor edi, edi
test eax, eax
jbe 0x405729
lea ebx, [esi + 0xe8]
test ebp, ebp
jne 0x405708
xor eax, eax
jmp 0x40570b
mov eax, dword [ebp + 4]
push 1
push eax
mov eax, dword [ebx]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x466cb8]
inc edi
add ebx, 0x284
cmp edi, eax
jb 0x405700
cmp eax, 0x30
jb 0x4058cc
xor edi, edi
test eax, 0xfffffffc
jbe 0x40575c
lea ebx, [esi + 0xf7c8]
push 0
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
mov eax, dword [0x466cb8]
inc edi
mov ecx, eax
add ebx, 0x40
shr ecx, 2
cmp edi, ecx
jb 0x405741
sub eax, 0x30
mov dword [esp + 0x1c], 5
neg eax
sbb eax, eax
lea edi, [esi + 0xccc8]
and al, 0xb6
mov dword [esp + 0x14], 4
add eax, 0xc2
mov dword [esp + 0x18], eax
lea eax, [esi + 0xc8]
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ebx
push str.MS_Sans_Serif
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_4
xor edx, edx
push 0
mov dl, byte [esi + 0xc4]
lea eax, [esp + 0x4c]
push edx
lea ecx, [edi - 0x2b00]
push eax
mov dword [esp + 0xdc], 1
call fcn.00401500
or ebp, 0xffffffff
lea ecx, [esp + 0x48]
mov dword [esp + 0xd0], ebp
call sub.MFC42.DLL_CString::CString
push str.MS_Sans_Serif
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_4
xor ecx, ecx
push 1
mov cl, byte [esi + 0xc5]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0xdc], 2
call fcn.00401500
lea ecx, [esp + 0x20]
mov dword [esp + 0xd0], ebp
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
shr eax, 2
push 1
push 0x28
lea eax, [eax + eax*4]
push 0x28
lea ebp, [ebx + eax*2 + 5]
push ebp
push ecx
mov ecx, dword [esp + 0x24]
call sub.MFC42.DLL_CWnd::MoveWindow
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 1
push 0x28
lea eax, [edx + 0x29]
push ecx
push ebp
push eax
lea ecx, [edi - 0x2b00]
call sub.MFC42.DLL_CWnd::MoveWindow
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 1
push 0x28
lea eax, [edx + 0x29]
push 0x32
push ebp
lea edx, [ecx + eax + 1]
mov ecx, edi
push edx
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
add ebx, 0x29
inc eax
add ebp, 0x284
add edi, 0xac
cmp ebx, 0x290
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ebp
jb 0x405794
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add eax, 0x64
add edx, eax
dec ecx
mov dword [esp + 0x1c], edx
mov eax, ebp
mov dword [esp + 0x14], ecx
jne 0x40578a
jmp 0x405df7
mov eax, dword [esi + 0x16b84]
test eax, eax
jne 0x405b95
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub ecx, eax
sub ecx, 0x18
lea ebp, [eax + 8]
lea ebx, [edx + 4]
mov eax, 0xaaaaaaab
lea edx, [ecx - 0x2d]
mov dword [esp + 0x14], ebx
mul edx
mov eax, dword [esp + 0x14]
push 1
push 0x46
mov dword [esp + 0x28], ebp
push ecx
mov ecx, dword [esp + 0x2c]
push eax
mov edi, edx
push ecx
push 0x52b
mov ecx, esi
add ebp, 0x17
shr edi, 1
add ebx, 0x12
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::MoveWindow
push 1
push 0x11
push edi
push ebx
push ebp
lea ecx, [esi + 0xfbec]
call sub.MFC42.DLL_CWnd::MoveWindow
push 1
lea eax, [ebx + 0x17]
push 0x11
push edi
push eax
push ebp
lea ecx, [esi + 0xfc2c]
call sub.MFC42.DLL_CWnd::MoveWindow
push 1
push 0x11
lea ebp, [edi + ebp - 0x14]
push edi
push ebx
push ebp
lea ecx, [esi + 0xfcac]
call sub.MFC42.DLL_CWnd::MoveWindow
push 1
lea edx, [edi + 0x14]
push 0x11
lea eax, [ebx + 0x17]
push edx
push eax
push ebp
lea ecx, [esi + 0xfc6c]
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_CWnd::MoveWindow
push 1
push 0x11
lea ebp, [edi + ebp + 0x28]
push edi
push ebx
push ebp
lea ecx, [esi + 0xfd2c]
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x14]
push 1
push 0x11
push edi
push eax
push ebp
lea ecx, [esi + 0xfcec]
call sub.MFC42.DLL_CWnd::MoveWindow
mov ecx, dword [0x466cb8]
mov dword [esp + 0x34], 0x2bc
shr ecx, 3
lea edx, [ecx*4]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
sub eax, edx
xor edx, edx
sub eax, ebx
mov ebp, 0x242
sub eax, 0x14
mov dword [esp + 0x3c], 0
div ecx
sub ebp, dword [esp + 0x2c]
shr ebp, 1
lea ebx, [ebp - 0x14]
shr ebx, 2
mov dword [esp + 0x14], eax
lea edi, [eax - 6]
lea eax, [edi - 1]
mov dword [esp + 0x38], eax
fild qword [esp + 0x38]
fmul qword [str.q_np]
call sub.MSVCRT.dll__ftol
sub edi, eax
mov dword [esp + 0x18], eax
dec edi
mov eax, ebx
mov dword [esp + 0x38], edi
lea edi, [ebx - 2]
shr edi, 1
sub edi, 0xa
mov edx, dword [esp + 0x28]
sub eax, edi
lea ecx, [ebx - 4]
sub eax, 0xa
mov dword [esp + 0x60], ecx
mov ecx, dword [0x466cb8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x2c]
add edx, 8
add eax, 0x4a
mov dword [esp + 0x48], edx
mov dword [esp + 0x84], eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x24], eax
jbe 0x405df7
add ebx, 3
lea ecx, [esi + 0xa1c8]
lea edx, [esi + 0xc8]
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
jmp 0x405a8c
mov eax, dword [esp + 0x24]
mov ecx, eax
and ecx, 3
mov dword [esp + 0x20], ecx
jne 0x405ae8
mov ecx, dword [esp + 0x14]
lea edx, [ebp + 4]
shr eax, 2
mov ebx, eax
add ecx, 4
shr ebx, 1
imul ebx, ecx
mov ecx, dword [esp + 0x48]
push 0x40
add ebx, ecx
mov ecx, eax
and ecx, 1
push ebp
imul ecx, edx
mov edx, dword [esp + 0x8c]
add ecx, edx
mov edx, dword [esp + 0x1c]
push edx
push ecx
shl eax, 6
mov dword [esp + 0x90], ecx
push ebx
push 0
lea ecx, [eax + esi + 0xf7c8]
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [esp + 0x20]
imul ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
push 1
push edi
lea eax, [ebx + 2]
lea ecx, [ecx + edx + 9]
mov edx, dword [esp + 0x20]
push edx
mov dword [esp + 0x2c], ecx
push ecx
mov ecx, dword [esp + 0x2c]
push eax
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push 1
push eax
lea eax, [edi + edx + 2]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [ebx + 2]
push eax
add ecx, 0x2b00
call sub.MFC42.DLL_CWnd::MoveWindow
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
push 1
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [edx + ebx + 3]
push eax
call sub.MFC42.DLL_CWnd::MoveWindow
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
add ecx, 0x284
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x466cb8]
inc eax
add edx, 0xac
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edx
jb 0x405a88
jmp 0x405df7
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub ebx, eax
sub ebx, 0x18
lea ecx, [eax + 8]
lea ebp, [edx + 6]
mov eax, 0xaaaaaaab
lea edx, [ebx - 0x2d]
push 1
mul edx
push 0x4b
push ebx
push ebp
mov dword [esp + 0x2c], ecx
mov edi, edx
push ecx
push 0x52b
mov ecx, esi
shr edi, 1
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::MoveWindow
push 1
push 0x13
lea eax, [ebp + 0x14]
push edi
push eax
mov eax, dword [esp + 0x2c]
add eax, 0x17
lea ecx, [esi + 0xfbec]
push eax
call sub.MFC42.DLL_CWnd::MoveWindow
mov ecx, dword [esp + 0x1c]
push 1
lea eax, [ebp + 0x2d]
push 0x13
push edi
mov dword [esp + 0x20], eax
push eax
lea eax, [ecx + 0x17]
push eax
lea ecx, [esi + 0xfc2c]
call sub.MFC42.DLL_CWnd::MoveWindow
mov edx, dword [esp + 0x1c]
push 1
push 0x13
push edi
lea eax, [edx + 0x17]
lea ecx, [eax + edi - 0x14]
lea eax, [ebp + 0x14]
push eax
mov dword [esp + 0x20], ecx
push ecx
lea ecx, [esi + 0xfcac]
call sub.MFC42.DLL_CWnd::MoveWindow
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 1
lea eax, [edi + 0x14]
push 0x13
push eax
push ecx
push edx
lea ecx, [esi + 0xfc6c]
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x10]
push 1
push 0x13
push edi
lea ecx, [eax + edi + 0x28]
lea eax, [ebp + 0x14]
push eax
mov dword [esp + 0x20], ecx
push ecx
lea ecx, [esi + 0xfd2c]
call sub.MFC42.DLL_CWnd::MoveWindow
mov ecx, dword [esp + 0x14]
push 1
push 0x13
push edi
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea ecx, [esi + 0xfcec]
call sub.MFC42.DLL_CWnd::MoveWindow
add ebx, 0xfffffffc
mov dword [esp + 0x3c], 0
shr ebx, 1
add ebp, 0x4c
lea edi, [ebx - 0x1e]
mov dword [esp + 0x38], edi
fild qword [esp + 0x38]
fld st(0)
fmul qword [str.P_auP_au]
call sub.MSVCRT.dll__ftol
fmul qword [0x45b1e8]
mov dword [esp + 0x14], eax
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
sub edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
lea eax, [ebx + eax + 4]
sub edi, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
xor eax, eax
lea ecx, [ebp + 0xf1]
add edx, 6
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], edx
lea ecx, [esi + 0xccc8]
lea edx, [esi + 0xc8]
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
jmp 0x405d2c
mov eax, dword [esp + 0x18]
mov ebp, eax
shr ebp, 2
and eax, 3
mov dword [esp + 0x38], eax
jne 0x405d5f
mov eax, dword [esp + ebp*4 + 0x4c]
mov ecx, dword [esp + ebp*4 + 0x64]
push 0x40
mov edx, ebp
push 0xee
push ebx
shl edx, 6
push eax
push ecx
push 0
lea ecx, [edx + esi + 0xf7c8]
call sub.MFC42.DLL_CWnd::SetWindowPos
mov eax, dword [esp + 0x38]
mov edx, dword [esp + ebp*4 + 0x4c]
mov edi, dword [esp + ebp*4 + 0x64]
push 1
lea ecx, [eax*8]
push 0x33
sub ecx, eax
mov eax, dword [esp + 0x1c]
add edi, 8
push eax
lea ebp, [edx + ecx*8 + 0xf]
mov ecx, dword [esp + 0x30]
push ebp
push edi
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push 1
push 0x33
add edi, eax
push ecx
push ebp
push edi
lea ecx, [edx - 0x2b00]
call sub.MFC42.DLL_CWnd::MoveWindow
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
push 1
push 0x33
lea edx, [edi + ecx + 6]
mov edi, dword [esp + 0x18]
push eax
push ebp
push edx
mov ecx, edi
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
inc eax
add ebp, 0x284
add edi, 0xac
cmp eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], edi
jb 0x405d28
cmp dword [0x466cb8], 0x30
jb 0x405e2e
mov ecx, dword [esp + 0x28]
push 0
mov edx, dword [esp + 0x30]
sub esp, 0x10
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
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.00401041
jmp 0x405f66
push 0x3e8
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [esi + 0xfbcc]
mov ecx, dword [esi + 0xfbd4]
mov edi, dword [esi + 0xfbc8]
sub ecx, edx
push 1
push ecx
mov ecx, dword [esi + 0xfbd0]
sub ecx, edi
push ecx
push edx
push edi
mov ecx, eax
call sub.MFC42.DLL_CWnd::MoveWindow
mov ecx, esi
call fcn.0040169a
mov edi, eax
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0xfbd0]
push 0x5f7
add ecx, 7
mov dword [esp + 0x34], ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
lea edx, [esp + 0xb8]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::ScreenToClient
mov edx, dword [esp + 0xc4]
lea eax, [edx + 0x1e]
cmp eax, edi
ja 0x405ec5
mov eax, edi
mov edx, dword [esp + 0x28]
push 1
sub esp, 0x10
mov dword [esp + 0x48], eax
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x44]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call fcn.00401041
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
sub edi, ecx
sub ebx, ebp
push 0
add edi, eax
add ebx, edx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov ebp, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0x19
cmp edi, eax
jbe 0x405f2b
xor eax, eax
jmp 0x405f2f
sub eax, edi
shr eax, 1
add edi, eax
cmp ebx, ebp
jbe 0x405f39
xor edx, edx
jmp 0x405f3f
sub ebp, ebx
shr ebp, 1
mov edx, ebp
lea ecx, [ebx + edx]
sub edi, eax
push 0x40
sub ecx, edx
push edi
push ecx
push eax
push edx
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
mov al, byte [esi + 0x16ee4]
test al, al
je 0x405f66
mov ecx, esi
call fcn.004013b6
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc4
ret