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

Disassembly:
jmp 0x417bd0
sub esp, 0x64
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xd0], ebx
jne 0x417e83
push ebp
push edi
mov dword [esi + 0xd0], 1
mov dword [esp + 0x10], 2
jmp 0x417bfd
xor ebx, ebx
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0xb0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
cmp eax, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
je 0x417c2e
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xa4]
xor ecx, ecx
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x24], ecx
je 0x417caf
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x417c60
mov eax, dword [eax + 4]
cdq
xor eax, edx
sub eax, edx
jmp 0x417c62
xor eax, eax
mov ecx, dword [esi + 0xcc]
mov edx, dword [esi + 0xc8]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push ecx
push edx
push eax
call edi
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xa4]
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x417c94
mov eax, dword [eax + 8]
cdq
xor eax, edx
sub eax, edx
jmp 0x417c96
xor eax, eax
mov ecx, dword [esi + 0xcc]
mov edx, dword [esi + 0xc8]
push ecx
push edx
push eax
call edi
mov ecx, dword [esp + 0x24]
mov ebp, eax
jmp 0x417cb5
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, dword [esp + 0x34]
cmp ecx, eax
jge 0x417cd4
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
neg eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xb4], eax
jmp 0x417ce2
sub ecx, eax
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xbc], ecx
mov eax, dword [esp + 0x38]
cmp ebp, eax
jge 0x417d01
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
neg eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xb8], eax
jmp 0x417d11
mov ecx, ebp
mov dword [esi + 0xb8], ebx
sub ecx, eax
mov dword [esi + 0xc0], ecx
mov edx, dword [esi + 0xcc]
mov eax, dword [esi + 0xc8]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call edi
mov ecx, eax
mov eax, dword [esp + 0x34]
cdq
sub eax, edx
mov edx, dword [esi + 0xcc]
sar eax, 1
sub ecx, eax
mov eax, dword [esi + 0xc8]
mov dword [esi + 0xac], ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call edi
mov ecx, eax
mov eax, dword [esp + 0x38]
cdq
sub eax, edx
mov edx, dword [esi + 0xac]
sar eax, 1
sub ecx, eax
mov eax, dword [esi + 0xbc]
cmp eax, edx
mov dword [esi + 0xb0], ecx
mov ebx, eax
jl 0x417d75
mov ebx, edx
mov edi, dword [esi + 0xb4]
cmp edi, ebx
jle 0x417d83
mov edx, edi
jmp 0x417d89
cmp eax, edx
jge 0x417d89
mov edx, eax
mov edi, dword [esi + 0xc0]
mov dword [esi + 0xac], edx
cmp edi, ecx
mov eax, edi
jl 0x417d9d
mov eax, ecx
mov ebx, dword [esi + 0xb8]
cmp ebx, eax
jle 0x417dab
mov ecx, ebx
jmp 0x417db1
cmp edi, ecx
jge 0x417db1
mov ecx, edi
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xb0], ecx
cmp eax, edx
jne 0x417dc5
cmp dword [esp + 0x20], ecx
je 0x417ddd
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x417de1
mov edx, dword [esi + 0x20]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x417de1
mov edi, dword [esp + 0x7c]
mov eax, dword [esi + 0x1c0]
test eax, eax
je 0x417e68
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0xac]
dec eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push edi
mov ebx, 0x1c
mov dword [esp + 0x50], ecx
push eax
push 0
mov ecx, esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x50], 0
mov dword [esp + 0x5c], edx
call sub.MFC42.DLL_CWnd::SetScrollInfo
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0xb0]
lea eax, [esp + 0x58]
push edi
dec ebp
mov dword [esp + 0x6c], ecx
push eax
push 1
mov ecx, esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 7
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], edx
call sub.MFC42.DLL_CWnd::SetScrollInfo
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x417bfb
pop edi
mov dword [esi + 0xd0], 0
pop ebp
pop esi
pop ebx
add esp, 0x64
ret 8