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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f184e
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov eax, dword [edi + 0x60]
cmp eax, esi
je 0x4bb145
mov ebx, dword [eax + 0x40]
mov ebp, 0x7fff
push 1
mov dword [esp + 0x70], ebx
mov eax, dword [ebx + 0xe8]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], eax
mov eax, 0xffff8001
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CWnd::UpdateData
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], esi
cmp eax, esi
jle 0x4ba9ba
mov ecx, dword [ebx + 0xe4]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0xc4]
push esi
mov ecx, dword [ecx + edx*4]
push eax
call fcn.0045c9d0
mov eax, dword [esp + 0xc8]
cmp eax, ebp
jge 0x4ba970
mov ebp, eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jge 0x4ba983
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jle 0x4ba996
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jle 0x4ba9a9
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x4ba948
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0xec]
add ebx, 0x8c
push ecx
mov ecx, ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], eax
call fcn.00444c20
cmp dword [edi + 0x64], esi
je 0x4baa13
mov ecx, ebx
call fcn.00444570
test eax, eax
je 0x4baa13
lea edx, [esp + 0xec]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_UnionRect]
cmp dword [esp + 0x34], esi
jne 0x4baa3d
mov eax, 0xfffffb50
mov ecx, 0xfffffda8
mov edx, 0x4b0
mov ebx, 0x258
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
push 0x3ff
mov ecx, edi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edi, eax
lea ecx, [esp + 0xb0]
push edi
call fcn.004e2538
mov eax, dword [edi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x14]
mov dword [esp + 0x1e4], esi
push edx
push eax
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, 2
add eax, ebx
add ecx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
sub edx, ebx
sub eax, ebx
push ecx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call sub.MFC42.DLL_CDC::IntersectClipRect
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x110]
push edx
push eax
call ebp
mov edx, dword [esp + 0xb0]
push 6
lea ecx, [esp + 0xb4]
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
mov edi, eax
mov eax, dword [esp + 0x11c]
push eax
mov eax, dword [esp + 0x114]
push ecx
mov ecx, dword [esp + 0xbc]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
lea ecx, [esp + 0xb4]
call sub.MFC42.DLL_CDC::SelectObject
lea edx, [esp + 0xec]
push edx
call fcn.004346c0
add esp, 4
mov dword [esp + 0x44], 0x4f57c0
mov dword [esp + 0x48], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x1e4], 1
call fcn.004ba030
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1e4], bl
call fcn.004ba030
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1e4], 3
call fcn.004ba030
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1e4], 4
call fcn.004ba030
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
push esi
push eax
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x1f0], 5
call fcn.004ba080
lea eax, [esp + 0x58]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x70]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x78]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0xf0]
call fcn.004ba0a0
lea ecx, [esp + 0xc4]
call fcn.004ba050
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0xf4]
push 1
push edx
push eax
lea ecx, [esp + 0x98]
mov dword [esp + 0xf0], 1
call fcn.004ba080
lea eax, [esp + 0x8c]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0xa4]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0xac]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0xb0]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0x114]
call fcn.004ba0a0
lea ecx, [esp + 0xc4]
call fcn.004ba050
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x5c]
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0xe4], edx
mov dword [esp + 0x108], eax
call fcn.004163d0
lea eax, [esp + 0x58]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x70]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x78]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x58]
call fcn.00416650
lea eax, [esp + 0xd8]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0xf0]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0xf8]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0xfc]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x58]
call fcn.00416650
lea eax, [esp + 0x8c]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0xa4]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0xac]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0xb0]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x58]
call fcn.00416650
lea eax, [esp + 0xfc]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x114]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x11c]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x120]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x58]
call fcn.00416650
lea eax, [esp + 0x58]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x70]
and eax, edx
mov dword [esp + 0x78], ebx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x78]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x7c]
mov dword [ecx], 0x4f57e8
mov dword [ecx + 0x10], eax
lea ecx, [esp + 0x58]
call fcn.00416650
mov dword [esp + 0x70], 0x4f67d8
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], 0xa
xor ecx, ecx
mov byte [esp + 0x1e4], 6
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], esi
call sub.MFC42.DLL_CPlex::FreeDataChain
lea ecx, [esp + 0x70]
lea edx, [esp + 0x44]
push ecx
push edx
push 0xc8c8c8
mov dword [esp + 0x90], esi
call fcn.004ada50
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0xac]
mov dword [esp + 0xb4], edx
push ecx
mov dword [esp + 0xbc], eax
call fcn.004346c0
fild dword [esp + 0x28]
fmul qword [0x4fac28]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x30]
mov edi, eax
mov dword [esp + 0x28], edi
fmul qword [0x4fac20]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x24]
mov ebp, eax
mov dword [esp + 0x30], ebp
fmul qword [0x4fac28]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x2c]
mov ebx, eax
mov dword [esp + 0x24], ebx
fmul qword [0x4fac20]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0xb0]
mov edx, esp
sub esp, 0x10
mov dword [esp + 0x3c], eax
mov dword [edx], ecx
mov ecx, dword [esp + 0xc4]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xc8]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0xcc]
mov dword [edx + 0xc], ecx
mov edx, esp
lea ecx, [esp + 0xd0]
mov dword [edx], ebx
mov dword [edx + 4], edi
mov dword [edx + 8], eax
lea eax, [esp + 0x90]
push eax
push ecx
mov dword [edx + 0xc], ebp
call fcn.00475bb0
mov ebp, dword [esp + 0x5c]
add esp, 0x28
xor edi, edi
cmp ebp, esi
jle 0x4bb03d
mov edx, dword [esp + 0x6c]
lea ebx, [edx + 0x78]
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0xe4]
mov eax, dword [ecx + edi*4]
lea ecx, [esp + 0x120]
push eax
call fcn.0045a3a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub esp, 0x10
mov byte [esp + 0x1f4], 7
mov edx, esp
sub esp, 0x10
mov dword [edx], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov edx, esp
push ebx
mov dword [edx], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea edx, [esp + 0xd4]
push edx
lea ecx, [esp + 0x148]
call fcn.0045df10
mov ecx, dword [esp + 0x24]
push esi
mov edx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x3c]
mov eax, esp
push ebx
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 + 0x148]
mov dword [eax + 0xc], edx
lea eax, [esp + 0xd8]
push eax
call fcn.0045e2b0
lea ecx, [esp + 0x120]
mov byte [esp + 0x1e4], 6
call fcn.0045ae80
inc edi
cmp edi, ebp
jl 0x4baf53
mov dword [esp + 0x70], 0x4f67d8
mov ebp, dword [esp + 0x74]
mov byte [esp + 0x1e4], 8
cmp ebp, esi
je 0x4bb072
lea edi, [ebp + 8]
xor ebx, ebx
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx]
add edi, 0x2c
mov eax, ebx
dec ebx
test eax, eax
jne 0x4bb05a
mov ebp, dword [ebp]
cmp ebp, esi
jne 0x4bb055
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], esi
call sub.MFC42.DLL_CPlex::FreeDataChain
mov ebp, 0x4f4f00
lea ecx, [esp + 0x8c]
mov dword [esp + 0x84], esi
mov dword [esp + 0x70], ebp
mov byte [esp + 0x1e4], 4
call fcn.004ba050
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1e4], 3
call fcn.004ba050
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1e4], 2
call fcn.004ba050
lea ecx, [esp + 0x58]
mov byte [esp + 0x1e4], 1
call fcn.004ba050
mov dword [esp + 0x44], 0x4f57c0
mov edi, dword [esp + 0x48]
mov byte [esp + 0x1e4], 9
cmp edi, esi
je 0x4bb12a
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x4bb121
lea ebx, [eax]
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx]
add edi, 0x14
dec ebx
jne 0x4bb110
mov edi, dword [esp + 0x48]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xb0]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x1e4], 0xffffffff
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1d8
ret